-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[MBL-2264] [3 of 3] Show a partial project view when opening a similar project #2378
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-2264] [3 of 3] Show a partial project view when opening a similar project #2378
Conversation
1aad9da
to
66b7e9f
Compare
Generated by 🚫 Danger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with one potentially blocking note on tests.
Super excited to use this for Search, too!
Kickstarter-iOS/Features/ProjectPage/Controller/ProjectPageViewController.swift
Show resolved
Hide resolved
...ter-iOS/Features/ProjectPage/Datasource/Datasource/ProjectPageViewControllerDataSource.swift
Show resolved
Hide resolved
f0858f8
to
ad001a9
Compare
898cfa3
to
77da385
Compare
264c3b0
to
8d712b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Appreciate the thoroughness and time that you spend on this!
1a828e5
to
8a3b3ec
Compare
This is 3 of 3 PRs for refactoring the project page to support an intermediate loading state from a partial project.
This merges into the second PR's branch (which will resolve back to main once it all merges); this should not merge until then.
📲 What
This PR adds partial loading support to the Project Page with an initial project. When it loads with an initial project, the first cell loads with it.
🤔 Why
Right now, opening a card from Similar Projects shows a completely blank screen. This UX would be better if we could at least show the main card for the project while the rest of the data loads.
🛠 How
Building on the last two PRs, the Project Page view is updated with so that the
Either<Project, Param>
type is updated with a project page-specific Param type (which includes an optional initial configuration). These use the new protocol types from the last PR.Once this new param is loaded into the project page, if an initial configuration is included, that cell is loaded into the table and shown.
Additionally, the nav bar is updated to show the Overview tab while the remainder of the tabs load.
👀 See
Vision doc for multiple model types
✅ Acceptance criteria