Repository navigation
Mobile: floating icon-only tab bar with the avatar - #25
Merged
Merged
Conversation
Phones (≤ 720px) get a compact floating capsule instead of the full-width, labelled six-tab bar: icons only (labels stay as accessible names), a soft pill that slides to the active slot, and the account avatar (with the daily-goal ring) as the last slot, opening the account menu upwards. Focus is no longer a phone tab (mini-player, Next up, ▶ and the palette reach it). The top bar on phones keeps brand + search. The mini-player floats above the capsule with the same insets and glass. Desktop/tablet are unchanged. - #lib/nav.ts: TAB_ITEMS, activeTab() (+ nav.test.ts) - Menu: optional anchor/gap props (placed against the capsule) - tokens: --tabbar-*, --tab-icon, --glass-*, --shadow-float, --tab-pill - e2e: tab bar navigation (5 tabs), avatar → account menu → Settings, German accessible names on the icon-only bar - docs: ROADMAP section, CLAUDE.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
On phones (≤ 720px) the full-width, labelled bottom tab bar becomes a floating capsule with icons only, closer to current iOS apps. Desktop and tablet are unchanged: a pixel diff of desktop Home differs only in the "now" line, because the clock moved.
What changes (phones only)
--safe-bottom), at most 440×60px, fully rounded;backdrop-filterand a hairline border, with a solid fallback where blur isn't supported;aria-current./settingsthe pill rests on the avatar.Menugets two optional props,anchorandgap, so it can open upwards from a bottom trigger.#lib/nav.ts, with tests.Screenshots
iPhone 390×844 (Chromium emulation, GPU flags so the blur renders).
Desktop is unchanged: after-home-desktop.png
Video (tabs and the sliding pill, press feedback, scrolling under the glass, account menu, mini-player): after-tabbar.webm
Tests
mobile.spec.ts:@mobile-onlytest: the tab-bar avatar opens the menu above the bar and on screen, and Settings navigates.i18n.spec.ts: the old check that German labels weren't cut off no longer applies; it now checks that the German tab names exist and navigate.display: none.check0 errors / 0 warnings;test393 pass;lintclean;buildOK.test:e2e87 passed, 6 skipped.test:e2e:mobile48 passed, 8 skipped.🤖 Generated with Claude Code