Skip to content

fix(ios): the strip reads at the largest text size - #142

Merged
frahlg merged 1 commit into
mainfrom
ios-large-text-strip
Nov 1, 2026
Merged

frahlg merged 1 commit into
mainfrom
ios-large-text-strip

Conversation

@frahlg

@frahlg frahlg commented Nov 1, 2026

Copy link
Copy Markdown
Member

Problem

Before a new beta, main was checked in the simulator at the largest text size (Accessibility XXXL). Now's strip and the plan's lanes, as merged in #138–#141, broke three ways:

  • The kicker NÄSTA 12 H · TOTALPRIS INKL. MOMS ran under 180 ÖRE NU. The header kept room for a one-digit price, 0 ÖRE, not the real one.
  • On Now, the scale's 200 and 100 sat on top of each other: the price row is short there at that size.
  • The pass's three figures ended in an ellipsis: → 3…, 180…, till 2….

The project guide asks the largest text size to look as good as the default.

Change

  • The header keeps the kicker beside the price where both fit (ViewThatFits), and puts the price on its own line where they do not. Its hidden room for the price has the real width of the price now.
  • PassFigures stands the three figures one under another where they do not fit side by side.
  • PlanStripDrawing draws a grid line's figure only where it has room; the top's figure wins. The level row's 0 % keeps clear of the price's top figure at any size.

The default size does not change.

Evidence

  • xcodebuild build for the iOS Simulator (app, widgets, watch): passed.
  • swift test in appleApp/FTWKit: 643 tests in 98 suites and 348 in 29, passed.
  • Simulator, iOS 27, demo, Swedish, dark:
Largest size, before Largest size, after Default, after
before after default

The plan's lanes at the default size, after: lanes

Main was also run on a paired watch simulator (watchOS 27): the plan page draws the 12-hour dial and the price page stands on zero.

Watch plan Watch price
watch plan watch price

Not checked: VoiceOver, a device, the plan-dial widget.

🤖 Generated with Claude Code

At the largest text size Now's strip and the plan's lanes overlapped
and cut text: the kicker ran under the price now, the scale's 200 and
100 sat on each other, and the pass's figures ended in an ellipsis.

- The header keeps the kicker beside the price where both fit, and
  puts the price on its own line where they do not. Its hidden room
  for the price now has the price's real width.
- The pass's three figures stand one under another where they do not
  fit side by side.
- A grid line keeps its figure only where it has room; the top's
  figure wins. The level row's 0 % keeps clear of the price's top
  figure at any size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T17:59:37.088573Z 9007719 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@frahlg
frahlg merged commit 6861e71 into main Nov 1, 2026
1 check passed
@frahlg
frahlg deleted the ios-large-text-strip branch November 1, 2026 18:27
@frahlg frahlg mentioned this pull request Nov 1, 2026
frahlg added a commit that referenced this pull request Nov 1, 2026
Release notes in English and Swedish for #134-#142: the price on
zero, Now's passes, the plan as a 12-hour clock, the price choice and
the car view's goal.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant