Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emc/fix/1944-profile-portfolio-issues #1945

Merged
merged 6 commits into from
Dec 1, 2023

Conversation

0xemc
Copy link
Collaborator

@0xemc 0xemc commented Dec 1, 2023

Description

  • Replace a === null check that was failing because of undefined
  • Pass the User object directly from getStaticProps rather than through SWRConfig

Resolves the following from #1944:

JABBY CONFIRMS FIXED

JABBY CONFIRMS FIXED

  • A new login with no Profile created should still show the temp avatar and wallet and stats / activity components. The figma design for a seller that has logged in but not yet set up their profile is here; assuming the Marketplace navigation item is still active; i.e. start from the marketplace, click login, go through the login modal, end up on this page.

JABBY CONFIRMS FIXED

@0xemc 0xemc deployed to Preview – carbonmark-api December 1, 2023 17:16 — with GitHub Actions Active
Copy link

vercel bot commented Dec 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
carbonmark ✅ Ready (Inspect) Visit Preview Dec 1, 2023 6:39pm
carbonmark-api ✅ Ready (Inspect) Visit Preview Dec 1, 2023 6:39pm
demo-integration ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 1, 2023 6:39pm
klimadao-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 1, 2023 6:39pm
klimadao-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 1, 2023 6:39pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
carbon ⬜️ Ignored (Inspect) Visit Preview Dec 1, 2023 6:39pm

Copy link
Member

@jabby09 jabby09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0xemc which two issues does this PR fix?

@0xemc
Copy link
Collaborator Author

0xemc commented Dec 1, 2023

@0xemc which two issues does this PR fix?

@jabby09 I'll be adding them in the description as I go. If you'd like to confirm on the preview link that'd be good or wait until they're all finshed

@0xemc 0xemc deployed to Preview – carbonmark-api December 1, 2023 18:28 — with GitHub Actions Active
@0xemc
Copy link
Collaborator Author

0xemc commented Dec 1, 2023

@jabby if you're ok with these fixes we can close this PR and tackle the others after.

CC: @Atmosfearful

@0xemc 0xemc requested a review from jabby09 December 1, 2023 18:50
@jabby09
Copy link
Member

jabby09 commented Dec 1, 2023

if you're ok with these fixes we can close this PR and tackle the others after.

@0xemc checking now

@jabby09 jabby09 added the QA done label Dec 1, 2023
@0xemc 0xemc merged commit e46e11b into staging Dec 1, 2023
4 checks passed
@0xemc 0xemc deleted the emc/fix/1944-profile-portfolio-issues branch December 1, 2023 19:48
@Atmosfearful
Copy link
Collaborator

I tested mainnet and testnet logins
viewing my own page and another users page for both
everything works!

Only minor issue is when viewing your own page and logging in, there is a flash if missing listings while the React component is swapped from the public view to the SellerConnected view. It's a minor issue but I'm sure we can find a solution by passing props down.

Merging and releasing. Thanks for staying up late for this one @0xemc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants