Collapse phone nav to four core tabs + More on small screens #65
Labels
No labels
adr
android
area/calendar
area/design-system
area/i18n
area/jobs
area/offline
area/server
area/testing
bug
ci
duplicate
enhancement
help wanted
invalid
notifications
question
reliability
security
severity/low
severity/medium
tracking
web
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eagraiclainne/app#65
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
On small screens, collapse the main navigation to four core destinations plus a "More" affordance that opens the rest. The wide-screen rail is unchanged and keeps all six. This reduces the crowding of six tabs on a phone bottom bar, which is above the 3–5 that a bottom bar comfortably holds.
Behavior
Phone bottom bar (below the existing 900px breakpoint):
Wide-screen rail (900px and up):
This reuses the existing 900px bottom-bar-versus-rail breakpoint. The two surfaces diverge only where space forces it, which is a deliberate, documented trade-off.
Scope
Web (reference surface),
web/src/components/TabBar.tsxandweb/src/app.css:Sheet(canon: modal content opens in a Sheet) listing Meals and Rewards.@media (min-width: 900px)) keeps all six.Android,
android/app/src/main/java/ie/eagraiclainne/android/ui/Home.kt:HomeBottomBarshows fourNavigationBarItems plus a More item that opens a bottom sheet or menu with Meals and Rewards.HomeNavRailkeeps all six.Both:
Relationship to the label-wrap fix
The one-line label fix (maxLines and ellipsis on both surfaces) stays. Even with four tabs, a large system font scale can still pressure a label, so single-line labels remain the floor. This issue reduces the count; that fix keeps each visible label tidy.
Design authority and canon
This changes navigation information architecture, so update
docs/frontend-plan.html(rule 5) to record the responsive collapse and the four-core split. Hold the canon: recognition over recall, icon and label on every entry including More, and no destination reachable by icon alone.Surface parity
Web is the reference. Android carries the same collapse. MCP and CLI have no navigation bar. Per system rule 1.
Definition of done
docs/frontend-plan.htmlupdated.make checkpasses. Verified on both surfaces, narrow and wide, at the largest font scale, against the live deploy.