Repository navigation
fix(app): keep sign-in and entry screens usable at the largest text size - #26237
Merged
Merged
Conversation
Sign-in buttons move into the card's pinned footer and the title stops growing past 1.5x. Consent and cancel button labels wrap instead of cutting off. Home's Home/Tasks words shrink to fit, the Needs attention header and the Plan & Usage badge stack above their actions at 1.6x and up. Conversation detail says Tasks, reusing the existing key; the unused meetingActionItemsTitle is removed from every locale.
…utton labels Sign-in button labels stop growing at 2x, so Apple, Google and the legal line fit on an iPhone SE at the largest text size. Buttons whose label may wrap get vertical padding; one line still fits in the 48 and 56 pt minimums, so the default size is unchanged.
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.
Problem
At the largest iOS text size (AX5) a new owner cannot get in, and several entry screens break. Shot on the simulator on main (critic run 2026-11-24, design.md top 5 #5, re-shot here):
Reach: onboarding was shown 5,295 times in 30 days (ACTUAL, PostHog, Nov 19 read). PostHog has no text-size property, so the share of readers at the accessibility sizes is unknown.
Change
What the reader sees at the default size is unchanged (pixel diff 0 on four screens; Home and conversation detail differ only in seeded times and the Tasks label).
onboarding/auth.dart): the buttons and legal line move into the card's pinned footer, as on the other onboarding steps. The title stops growing past 1.5x and the button labels past 2x, so Apple, Google and the legal line all fit on an iPhone SE at the largest size. Button heights are minimums with padding above and below the label.ai_consent_widget.dart) and the cancel final step (cancel_subscription_sheet.dart): button labels wrap instead of cutting off.OmiButton's named variants now takemaxLines(the default constructor already did), and a label that may wrap gets vertical padding (12 pt, 8 pt compact); one line still fits inside the 48 and 36 pt minimums.app/docs/ux-contract.mdnotes it.home_tab_switcher.dart): Home and Tasks shrink together to fit beside the actions. At the largest size the shrunk words are about 30 pt tall, under the 44 pt target; acceptable for this pass.needs_attention_section.dart): at 1.6x and up, Retry all sits under the header, as the rows' Try Again already does.usage_page.dart, badge row only): at 1.6x and up, Manage Plan sits under the badge.tasksstring. The unusedmeetingActionItemsTitleis removed from all 49 locales withscripts/l10n.py remove.Impact estimate
runs/2026-11-24/metrics.json.Evidence
Each image: BEFORE default | AFTER default | BEFORE largest | AFTER largest, light. Sign-in and consent add AFTER largest, dark.
Simulator: iPhone 17 Pro, iOS 26.2, local backend, seeded accounts. Light, dark and largest shots for every screen, plus demo video, are in the MUX run folder
runs/2026-11-24/p1/(not in git).At ship
No flags, no events, no backend change.
Tests
test/widgets/largest_text_entry_screens_test.dart, at 3.1x: sign-in on a 402x874 phone, on an iPhone SE (375x667) with both Apple and Google buttons (test-onlydebugShowAppleSignIn, since a host test cannot setPlatform.isIOS) and on a 360x800 Android-size phone with Google only, each asserting no overflow and every button plus the legal line on screen; consent labels not cut off and padded; no tab row overflow and Tasks tappable; Needs attention header above Retry all; badge on one line. The SE, consent and the four other screen tests fail without this PR.conversation_action_items_section_test.dartupdated for "Tasks".l10n.py checkok; mobile UX contract, UI isolate and brand checks clean on the changed lines.Not verified
Product invariants affected
none
Failure class (fixes)
Failure-Class: none
UI-Evidence: see the images above (.agent-artifacts/ui-evidence/mux-2026-11-24-largest-text)