fix(shell): centralize compact navigation overflow#420
Merged
Conversation
- define one shared compact navigation policy for phone layouts - move Arena and Quest behind a shared More entry on narrow screens - add provider and widget coverage for overflow rendering and selection - document the default compact navigation policy in mobile UI standards Keeps destination truth centralized while reducing persistent bottom-nav density on phones.
Plugin Module Size GatePolicy: modules over 3 MB must be delivered as plugins; plugin modules over 5 MB must document cache management.
|
|
12 tasks
🚀 PR Quick Check Summary
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
This PR introduces changes to shell navigation behavior.
Goal: centralize compact-phone destination overflow so root navigation density stays consistent and feature routes do not fork their own affordances.
Core outcome:
Moreoverflow entry on narrow screensChanges
Code
navigation_provider.dartapp_shell_navigation_policy_test.dartapp_shell.dartto render direct destinations plus a shared overflow entry on compact widthsLogic
Coins,Mind,Beats, andStreamvisibleArenaandQuestmove behind one sharedMoredestination on compact layoutsAPI Changes (if any)
Database Changes (if any)
Observability / Logging
Performance Impact
Risks
ArenaandQuestTesting
flutter analyze lib/core/providers/navigation_provider.dart lib/core/app/app_shell.dart test/core/providers/navigation_provider_test.dart test/core/app/app_shell_navigation_policy_test.dartDeployment Notes
Related Commits
fix(shell): centralize compact navigation overflowNotes