-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Onboarding fixes #3966
Onboarding fixes #3966
Conversation
Your Render PR Server URL is https://social-app-pr-3966.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-covqu8a1hbls73av57g0. |
|
Okay going through each commit right now:
|
Okay I agree with this one, but I think we need to invalidate the profile query afterwards. If I upload an avatar during onboarding, then the profile icon in the bottom right-hand corner does not update until after I open up my profile, which could be a little confusing if I expect to have uploaded an avatar. Marking it as working for right now but am going to come back to this one. RocketSim_Recording_iPhone_15_Pro_6.1_2024-05-11_11.31.53.mp4 |
Yeah, 528877b should do it. I'm not sure if it's not guaranteed to come through (e.g. What we really should do (IMO) is upload the avatar in the earlier step. Of course that would have to be able to retry on failure here, so it would have to be more like an optimistic upload than a "let's just move this code there" kind of thing. |
Yea, agree w/ those points. FWIW it also happens even if I upload the generic created avatar (I have not gotten to your mentioned commit yet though so will check against that here in a minute). |
Okay yea, that does fix the issue (even w/ the high-res image). Seems like your idea would be a good one. And you're right about not wanting to make this take longer (especially on slower connections). Maybe:
I think we can do that in a separate PR though. |
See individual commits.
savedFeeds
viaoverwriteSavedFeeds
, but RQ has already cached initialsavedFeeds
(just thefollowing
), and we had a flash of that during the initial Home render. The fix is to invalidate RQ cache before going to Home.Test Plan
Hardcode either
true
orfalse
like this:Then go through both onboardings. Observe that:
Also verify the normal "edit profile" workflow isn't borked (incl. avatar and cover upload).
New onboarding:
flow.mov
Old onboarding:
old_flow.mov