You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-05-29] [Wave Collect] [Ideal nav] Simplify the navigator structure #40681
Follow up to the ideal navigation project, we have one task to simplify the structure now.
Problem
Currently, central pane screens in FullScreenNavigator are wrapped with the central pane navigator. A similar pattern can be seen in LHP where single screens are wrapped with navigators.
This may be problematic for two reasons:
Getting information about the actual screen requires more code. It has become visible especially after we migrated to typescript. Instead of just getting the route name we have to extract the route from the state or params of the parent navigator.
More nested navigators means worse performance.
Solution
In the early implementation of navigation, we used the custom component ThreePaneView. That was the main reason to encapsulate screens with central pane navigators. Now we use StackView for both narrow and wide layouts and the wide layout is achieved using styles.
This allows us to flatten the navigation structure. Now screens in FullScreenNavigator and LHP will be mounted directly
This way developing and maintaining navigation should be easier and we should get a slight performance boost.
changed the title [-][Wave Collect] [Ideal nav] Simplify the navigator structure[/-][+][HOLD for payment 2024-05-29] [Wave Collect] [Ideal nav] Simplify the navigator structure[/+]on May 29, 2024
Activity
melvin-bot commentedon Apr 22, 2024
Triggered auto assignment to @stephanieelliott (
NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.WojtekBoman commentedon Apr 22, 2024
Hi! I'm working on that :)
melvin-bot commentedon Apr 23, 2024
Triggered auto assignment to @strepanier03 (
NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.9 remaining items
stephanieelliott commentedon May 17, 2024
Hey @WojtekBoman, any update on this?
mountiny commentedon May 20, 2024
This was merged and deployed to staging, awaiting production deploy
stephanieelliott commentedon May 29, 2024
This was deployed to prod on May 22! Will be ready for payment on May 29
[-][Wave Collect] [Ideal nav] Simplify the navigator structure[/-][+][HOLD for payment 2024-05-29] [Wave Collect] [Ideal nav] Simplify the navigator structure[/+]mountiny commentedon May 29, 2024
@ahmedGaber93 is the only person required payment of $250 on this issue
No regression testing required
melvin-bot commentedon May 29, 2024
Payment Summary
Upwork Job
BugZero Checklist (@stephanieelliott)
stephanieelliott commentedon May 30, 2024
I had to manually create a job on Upwork for this
@ahmedGaber93 please let me know when you've accepted the offer so I can issue payment!
ahmedGaber93 commentedon May 30, 2024
@stephanieelliott Offer accepted. Thanks!
stephanieelliott commentedon Jun 1, 2024
Thanks @ahmedGaber93, all paid!