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

[MBL-670] Saved Prelaunch Projects on Backer Dashboard -- Merge After MBL-671 #1805

Merged
merged 6 commits into from Mar 27, 2023

Conversation

msadoon
Copy link
Contributor

@msadoon msadoon commented Mar 27, 2023

πŸ“² What

Trying to get the saved/unsaved prelaunch projects to update the backer dashboard's Saved count and project list.

πŸ€” Why

There was a bug on v1 when fetching the user to update the saved projects, a prelaunch project is not counted. GQL fetch user calls doesn't have this bug, so we swapped the call in this instance to GQL.

πŸ›  How

We didn't create a new adapter or anything we just used the existing User.user(from: UserFragment) -> User? static function to send back an UserEnvelope<User> instead of the `UserEnvelope from a new call.

It's kind of surface level change because its' reusing the old adapter and query to map to a User instead of a GraphUser.

πŸ‘€ See

Before πŸ›

Simulator.Screen.Recording.-.iPhone.8.-.2023-03-27.at.11.03.33.mp4

After πŸ¦‹

Simulator.Screen.Recording.-.iPhone.8.-.2023-03-27.at.10.58.30.mp4

βœ… Acceptance criteria

  • Ensure projects and prelaunch projects are saved accurately and reflected in the backer dashboard.

@msadoon msadoon added this to the release-5.7.0 milestone Mar 27, 2023
@msadoon msadoon self-assigned this Mar 27, 2023
@msadoon msadoon requested a review from scottkicks March 27, 2023 15:05
@msadoon
Copy link
Contributor Author

msadoon commented Mar 27, 2023

@scottkicks Again just making you aware this is being merged without review for release timeline purposes.

@msadoon msadoon merged commit 938b714 into main Mar 27, 2023
@msadoon msadoon deleted the saved-prelaunch-projects-on-dashboard branch March 27, 2023 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant