fix(android): keep nav-bar labels on one line at large text scales #66

Merged
nalum merged 1 commit from fix/android-nav-labels-one-line into main 2026-08-14 16:55:42 +00:00
Owner

Pins the navigation labels to a single line so they stop wrapping at large text scales.

At big system font scales, on narrow phones, or in the longer-worded locales, the six navigation labels (Calendar, Rewards, …) wrapped onto a second line and buckled the bar. The web tabbar already pins its labels to one line and lets the ellipsis take the pressure at large text scales (.tab-label: nowrap + text-overflow). This matches that on Android — maxLines = 1 with an ellipsis — on both the bottom bar and the wide-screen rail.

How to reproduce and verify: set the system font size to the largest, open the app on the narrowest device (Pixel 7a). Before, the labels wrapped; after, each stays on one line.

This is the label floor. Reducing the tab count on small screens is tracked separately in #65.

Verified: :app:compileDebugKotlin clean, make check passed. No user-facing strings changed.

Closes #52

🤖 Generated with Claude Code

Pins the navigation labels to a single line so they stop wrapping at large text scales. At big system font scales, on narrow phones, or in the longer-worded locales, the six navigation labels (Calendar, Rewards, …) wrapped onto a second line and buckled the bar. The web tabbar already pins its labels to one line and lets the ellipsis take the pressure at large text scales (`.tab-label`: `nowrap` + `text-overflow`). This matches that on Android — `maxLines = 1` with an ellipsis — on both the bottom bar and the wide-screen rail. How to reproduce and verify: set the system font size to the largest, open the app on the narrowest device (Pixel 7a). Before, the labels wrapped; after, each stays on one line. This is the label floor. Reducing the tab count on small screens is tracked separately in #65. Verified: `:app:compileDebugKotlin` clean, `make check` passed. No user-facing strings changed. Closes #52 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(android): keep nav-bar labels on one line at large text scales
All checks were successful
check / commits (push) Successful in 5s
check / web (push) Successful in 1m31s
check / go (push) Successful in 1m48s
41a1698c21
At big system font scales, on narrow phones, or in the longer-worded
locales, the six navigation labels (Calendar, Rewards…) wrapped onto a
second line and buckled the bar. The web tabbar already pins its labels
to one line and lets the ellipsis take the pressure at large text scales
(.tab-label: nowrap + text-overflow). Match that on Android — maxLines 1
with an ellipsis — on both the bottom bar and the wide-screen rail.
nalum force-pushed fix/android-nav-labels-one-line from 41a1698c21
All checks were successful
check / commits (push) Successful in 5s
check / web (push) Successful in 1m31s
check / go (push) Successful in 1m48s
to 323b8a4548
All checks were successful
check / commits (pull_request) Successful in 4s
check / web (pull_request) Successful in 1m47s
check / go (pull_request) Successful in 2m56s
check / report (pull_request) Successful in 4s
2026-08-14 14:16:15 +00:00
Compare

Test report

Suite Tests Result Skipped
Unit 1330 ✅ pass 1
Integration 80 ✅ pass —

Coverage: 27.7%

Updated by the check workflow · commit f7b06bb508

<!-- ci-test-report --> ## Test report | Suite | Tests | Result | Skipped | | --- | --: | --- | --: | | Unit | 1330 | ✅ pass | 1 | | Integration | 80 | ✅ pass | — | **Coverage:** 27.7% <sub>Updated by the check workflow · commit f7b06bb5082cb2fb54127fec90bb3079c43501d5</sub>
nalum force-pushed fix/android-nav-labels-one-line from 323b8a4548
All checks were successful
check / commits (pull_request) Successful in 4s
check / web (pull_request) Successful in 1m47s
check / go (pull_request) Successful in 2m56s
check / report (pull_request) Successful in 4s
to f7b06bb508
Some checks failed
check / commits (pull_request) Successful in 6s
check / go (pull_request) Successful in 3m21s
android / build (pull_request) Successful in 8m47s
check / web (pull_request) Successful in 2m6s
check / report (pull_request) Successful in 5s
android / report (pull_request) Successful in 5s
check / commits (push) Has been cancelled
check / go (push) Has been cancelled
check / report (push) Has been cancelled
check / web (push) Has been cancelled
tag / tag (push) Has been cancelled
android / report (push) Has been cancelled
android / build (push) Has been cancelled
2026-08-14 16:03:17 +00:00
Compare

Android test report

Suite Tests Result Skipped
Unit (debug) 31 ✅ pass 0

Updated by the android workflow · commit f7b06bb508

<!-- android-test-report --> ## Android test report | Suite | Tests | Result | Skipped | | --- | --: | --- | --: | | Unit (debug) | 31 | ✅ pass | 0 | <sub>Updated by the android workflow · commit f7b06bb5082cb2fb54127fec90bb3079c43501d5</sub>
nalum changed target branch from fix/web-offline-strip-flash to main 2026-08-14 16:55:36 +00:00
nalum merged commit f7b06bb508 into main 2026-08-14 16:55:42 +00:00
nalum deleted branch fix/android-nav-labels-one-line 2026-08-14 16:55:42 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
eagraiclainne/app!66
No description provided.