Skip to content

fix(ios): chat text is too large for a dense transcript and cannot be set below the web's default size - #166090

Merged
roboclaw-bot merged 4 commits into
openclaw:mainfrom
Marvinthebored:fix/ios-chat-text-size
Oct 20, 2026
Merged

roboclaw-bot merged 4 commits into
openclaw:mainfrom
Marvinthebored:fix/ios-chat-text-size

Conversation

@Marvinthebored

@Marvinthebored Marvinthebored commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Makes iOS chat denser without losing Dynamic Type, and fixes the selected model action disappearing from native menu accessibility, oversized control glyphs at accessibility text sizes, and taps in the blank draft area failing to focus the keyboard.

User Impact

User impact: iOS chat uses a 13.5-point baseline instead of 17 points, including for existing readers at their unchanged text-size setting. Colin accepted this global density tradeoff. System and per-app Dynamic Type remain supported; increase the app’s text size in iOS Settings if you prefer larger text. The composer keeps its resting height and remains usable for multiline drafts.

At accessibility sizes, the model control uses an icon while retaining its full accessibility label and value. Symbols stay inside their touch targets; branded text is not capped. Model permissions and sign-in recovery remain unchanged. macOS/visionOS retain their text baseline and platform focus paths; shared symbol constructors change as noted under limits below.

Why This Change Was Made

The existing typography owner applies the iOS-only density scale, including native editor and Markdown math sizes. The native composer keeps one layout/focus flow: stored iOS state requests focus through the UIKit responder bridge, and native menus retain the selected action’s label and selected trait.

Native validation exposed the model-menu, symbol-overflow and blank-area-focus defects. These repairs are included rather than weakening the tests. Model-menu assertions moved into a dedicated interaction test; the growth case now completes, and its stale attachment label was corrected to File. The local acceptance target used for proof is not shipped; a host-aware font regression is in the ordinary app-hosted test target.

Contributor credit: original typography implementation and historical proof by @Marvinthebored; native repair/proof supplied by @Solvely-Colin. Contributor ancestry and Colin’s co-author trailer are preserved. AI-assisted.

Work sessions

Evidence

Published candidate: 5a53939, tree 4426dd1b83f0aa118530559ecd4fbc414c4a7fdd. Its ten production files are byte-identical to the supplied final native-tested tree 256b5348457bc185648d854c6df571423ca10be3. The derivative changes only test wiring/regression placement and documentation. The font assertion is an extension of the existing CI-selected OpenClawTypographyTests suite, not an unselected new suite. All 61 supplied manifest entries and the final/accessibility source hashes were verified; both effective trees were independently reconstructed. This is qualification of supplied local execution, not a fresh native rerun by the publisher.

Supplied focused native observation Executed tree Outcome Elapsed
Model menu accessibility and composer growth 41283fa2b474c3080159086916250848a64c8618 2/2 passed, zero skips 131.010 s
Largest Accessibility + Bold Text, menu selection, typed draft, control geometry f449b9e9548782218098bd65c5ae46b786a9ac6f 1/1 passed, zero skips 54.281 s
Branded menu and text/control boundaries f449b9e9548782218098bd65c5ae46b786a9ac6f 2/2 passed, zero skips 18.502 s
Blank-area keyboard focus, Return/newline, expanded-draft growth 256b5348457bc185648d854c6df571423ca10be3 3/3 passed, zero skips 148.151 s

These observations overlap; they are not eight distinct regression cases. Retained app-hosted font proof passed at default, first accessibility and largest accessibility categories. The matched main controls failed only the intended size expectation (differences 3, 5 and 10 points); earlier zero-test selector attempts are not passes. The font helper and UIKit factory are unchanged in the final repair.

Source reuse: reversing the exact final focus patch reproduces f449b9e. That last delta changes only iOS focus storage, moves unchanged computed properties and adds the blank-area test; symbol/menu code is unchanged. Largest-size evidence remains attributed to f449b9e, not relabeled as a final-tree run.

Repository checks: whole-candidate independent P0–P2 autoreview: scoped-clean. Scoped check:changed passed on integration commit 564735b, including 288 passed / 331 platform-skipped tooling tests; that Linux result is not native Swift execution. SwiftFormat: 0/12 files need changes. Available SwiftLint: zero production violations; seven existing snapshot-test diagnostics also occur on the pinned main comparison, with no new rule/severity class; three SourceKit rules unavailable on Linux. Native i18n inventory: 4501 entries, unchanged. Documentation lint and diff checks passed. Published-head CI passed in run 39485665282; guarded auto-merge landed as 92638b29a6f2115661217498a8d5767e85fd0235. The native screenshot lane built and passed its selected iPhone/iPad snapshot cases. The ordinary iOS build/test lane was skipped by CI planning, so the promoted app-hosted font assertion is not claimed executed by this run. Its supplied local font proof remains attributed above.

Largest Accessibility + Bold Text

Before — header/footer glyph overflow, before the symbol repair. After — bounded symbols with text still scaled. Different synthetic drafts illustrate control behavior, not a pixel-identical content comparison. Model labels are redacted without changing the glyphs under test.

Before After
Before: oversized native control glyphs After: bounded controls with accessibility text
Selected model and blank-area focus Selected model action remains visible; model labels redacted Blank draft area focuses the keyboard and accepts typing; model label redacted

The October 6 ClawSweeper before-merge concerns are addressed: Colin explicitly accepted the global 13.5-point baseline on October 20, and the supplied largest Accessibility + Bold Text execution and inspected captures cover the requested accessibility gap. No Rank-up moves list was present in that review.

Limits and retained failures

No new iPad run, spoken VoiceOver navigation session, attachment removal/restoration, live model RPC or macOS rendered-UI proof. Largest-size native execution predates the focus-only change; default-size focus/growth/newline cases cover that final delta. macOS text constructors and nominal symbol sizes are unchanged, but shared symbols now use fixed system-font constructors; identical rendered/scaling behavior on macOS is not claimed. No Gateway or authentication behavior is changed.

Earlier menu-tree/scrolling diagnostics and the reverted spacing experiment are retained, not hidden. The spacing experiment still failed blank-area focus; the stored-state repair passed the unchanged keyboard assertion. The original growth failure was after initial geometry, at model-menu rows, so it did not establish later expanded-draft assertions; the repaired case now completes them.

Production delta is +44 net lines for the accepted density and existing-owner layout/focus capability; tests +112, documentation +11. Two computed properties are moved unchanged. No new runtime preference, storage, permission owner or dependency is introduced.

@clawsweeper

clawsweeper Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 6, 2026
@clawsweeper

clawsweeper Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

This PR reduces iOS chat’s baseline to 13.5 points and repairs composer focus, model-menu accessibility, and oversized control symbols.

Example: An iPhone reader opens Chat at the default Dynamic Type category.

  • Before: Chat body text uses a 17-point baseline.
  • After: Chat body text uses a 13.5-point baseline while retaining Dynamic Type scaling.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The patch is coherent and has useful native visual evidence, but upgrade qualification and verification of the reported product acceptance remain unresolved.
Proof confidence 🦪 silver shellfish (2/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Needs a maintainer decision · Fix scope: Complete
User problem: Readers wanting a dense iPhone transcript find the native baseline too large, and accessibility-size controls can overflow their intended geometry.
Reason: The accessibility repairs have clear value, but the global density preference needs verification of the owner acceptance reported in the body.

Merge readiness

⛔ Blocked before merge - 2 items remain

Keep open: this PR contains useful native accessibility repairs and a density change absent from current main, with no definite introduced code defect found.

Priority: P3
Reviewed head: 5a5393923d5ec3a1e7f30fd0023224dc6fd11e48
Owner decision: Required. See Decision needed.

Decision needed

  • Question: Can the reported owner acceptance of the global 13.5-point iOS baseline be confirmed from an owner-authored record?
  • Recommendation: Confirm the existing acceptance: Link or provide the owner’s recorded acceptance; no second product decision is needed if that approval already exists.
  • Why: The PR body reports acceptance, but the inspected public discussion and reviews do not independently establish that decision.

Before merge

  • Add real behavior proof - Inspected iPhone screenshots and the supplied native execution account cover accessibility symbols, model selection, draft growth, and blank-area focus, with earlier accessibility evidence explicitly distinguished from the final focus repair; because the PR changes an existing default, add a redacted latest-stable-to-candidate upgrade observation showing the retained per-app Dynamic Type setting and resulting chat size. After adding proof, update the PR body, then request a new review with @clawsweeper re-review. The PR author or someone with repository write access can request it.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.

Findings

None.

Tests

  • Missing end-to-end proof: The supplied native captures and execution account do not show an upgrade from the latest stable release retaining the existing per-app text-size setting while applying the changed baseline.
Agent review details

How this fits together

The shared Apple chat UI turns messages and composer state into native transcript, menu, and editor views; its typography owner supplies SwiftUI fonts, UIKit editor fonts, and math sizes.

flowchart TD
Messages[Chat messages] --> Transcript[Native transcript]
Typography[Shared typography] --> Transcript
Typography --> Composer[Native composer]
Settings[System Dynamic Type] --> Typography
Composer --> Bridge[UIKit editor bridge]
Bridge --> Draft[Draft text and focus]
Loading

Technical review

Best possible solution:

Keep the existing typography and UIKit focus owners, verify the reported density approval, and qualify the changed default across an upgrade.

Do we have a high-confidence way to reproduce the issue?

The 17-point current-main baseline is source-confirmed; choosing a denser default is a preference change, while supplied native captures demonstrate the accompanying accessibility repairs.

Is this the best way to solve the issue?

The implementation appropriately reuses the shared typography, menu, and UIKit responder owners without adding a preference store or competing rendering path.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against f12a8dee2397.

Provenance checked

  • Branded typography and platform scaling changes intended behavior with a stated reason (feat(ios): implement branded typography design system #99246: Apply branded fonts consistently while preserving Dynamic Type and macOS scaling.)
  • Composer resting height and controls keeps the original intent (5dd4c6e: Align the native composer with WebUI hierarchy and discoverability while retaining native input capabilities.)
  • Selected model-menu action changes intended behavior with a stated reason (0806c53: Make Apple model controls follow the Gateway catalog; the patch explains removing the icon accessibility suppression to restore the selected native action.)
  • Native editor focus keeps the original intent (fix(ios): keyboard unavailable after tapping chat composer #120723: Let UIKit own user-initiated focus and treat SwiftUI state as a request rather than forcing blur.)
  • Inline math typography keeps the original intent (48e77b6: Render completed inline math with typography aligned to surrounding prose.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Pinned introduced change: The merge-base-to-head diff changes native typography, composer layout and focus, symbol sizing, menu accessibility, tests, and iOS documentation; it adds no dependency or persisted preference. (apps/shared/OpenClawKit/Sources/OpenClawChatUI/ChatTypography.swift:14, 5a5393923d5e)
  • Current-main necessity: Current main retains bodySize = 17 and unscaled iOS custom-font constructors, so it does not implement the central density change. (apps/shared/OpenClawKit/Sources/OpenClawChatUI/ChatTypography.swift:10, f12a8dee2397)
  • Inspected native screenshots: All four prepared images were inspected directly: the accessibility comparison shows bounded header and composer symbols with large draft text; the other captures show the selected menu checkmark and typed input with the keyboard visible. The body credits original work to Marvinthebored and native repairs and proof to Solvely-Colin, and distinguishes accessibility captures from the later focus-only change. (5a5393923d5e)
  • Recorded direction and discussion: The full PR body reports Colin’s acceptance of the global density tradeoff, but the available discussion contains only bot comments and the reviews endpoint returns no reviews; an owner-authored confirmation could not be verified. (5a5393923d5e)
  • Distinct related issue: The open [Bug]: iOS app has no working way to reduce native chat text size; Settings -> Appearance -> Text size does not apply or persist #170428 concerns browser-local Appearance preference persistence and its separation from native chat; lowering the native baseline does not repair that setting, and this PR does not claim to close it.
  • Feature-history ownership: History across OpenClawChatUI, MoltbotChatUI, ClawdbotChatUI, and ClawdisChatUI shows shared ownership: Peter Steinberger carried the shared chat implementation and major refactors, Josh Avant carried branded typography and platform scaling, Colin Johnson carried composer and focus work, and Marvinthebored contributed merged composer repairs. One older-object lookup failed at the partial-clone boundary; introduction claims do not rely on that unavailable blob. (apps/shared/OpenClawKit/Sources/OpenClawChatUI/ChatComposer.swift:79, f12a8dee2397)

Likely related people:

  • joshavant: Raw commit ea3c6dc adds apps/shared/OpenClawKit/Sources/OpenClawChatUI/ChatTypography.swift:47 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ea3c6dc5f733; files: apps/shared/OpenClawKit/Sources/OpenClawChatUI/ChatTypography.swift)

PR surface

Source +44, Tests +112, Docs +11. Total +167 across 13 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 10 76 32 +44
Tests 2 140 28 +112
Docs 1 11 0 +11
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 13 227 60 +167

Review metrics

Metric Value Why it matters
iOS chat baseline 17 pt → 13.5 pt Approximately 21% smaller at the same Dynamic Type category, including for existing readers.

Labels

Label changes:

  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.
  • remove proof: sufficient: Current real behavior proof status is insufficient, not sufficient.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦪 silver shellfish, so this older rating label is no longer current.
  • remove status: 👀 ready for maintainer look: Current PR status label is status: 📣 needs proof.

Label justifications:

  • P3: The central change improves transcript density and native control ergonomics without an established urgent workflow failure.
  • merge-risk: 🚨 compatibility: The patch deliberately changes existing readers’ chat appearance without changing their retained Dynamic Type category.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-06T11:12:01.140Z sha b14db4e :: blocked before merge. :: none

Reviewed October 20, 2026, 4:02 PM ET / 20:02 UTC (Revision 2).

roboclaw-bot and others added 2 commits October 20, 2026 19:23
Integrate the accepted 13.5-point iOS typography with current main and source-bound native repairs for model-menu accessibility, bounded control glyphs, and UIKit draft focus. Preserve the tested production blobs and promote the font regression into the ordinary app-hosted test target.

Co-authored-by: Solvely-Colin <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: ios App: ios size: M and removed size: S labels Oct 20, 2026
@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) October 20, 2026 19:47
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 20, 2026
@clawsweeper clawsweeper Bot added the status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. label Oct 20, 2026
@roboclaw-bot
roboclaw-bot merged commit 92638b2 into openclaw:main Oct 20, 2026
101 checks passed
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
… set below the web's default size (openclaw#166090)

* fix(ios): chat text is too large for a dense transcript and cannot be set below the web's default size

* docs(ios): explain denser chat and accessibility sizing

Co-authored-by: Solvely-Colin <[email protected]>

* test(ios): include composer font contract in selected typography suite

Co-authored-by: Solvely-Colin <[email protected]>

---------

Co-authored-by: Marvinthebored <[email protected]>
Co-authored-by: Solvely-Colin <[email protected]>
vyctorbrzezowski added a commit that referenced this pull request Nov 25, 2026
…points

Chat text goes back to the system text styles, like Messages: message text is
17 pt at the default Dynamic Type size and follows every setting, up and down.
The 13.5 pt base from #166090 goes away; secondary roles use their matching
styles with no custom scale. Inter stays, scaled with relativeTo:/UIFontMetrics.

Apple's curve for custom fonts takes 12 pt caption text to 10 pt at the three
smallest settings, so a role that would land under 11 pt there scales with
caption2, whose curve never shrinks. Composer and talk-banner symbol glyphs
keep their compact size; only text changes.

The new rendered-size test resolves every chat text role at every Dynamic Type
setting: body is 17 pt at the default size and equals UIFontMetrics' body for
Inter elsewhere, and no role resolves under 11 pt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: ios App: ios docs Improvements or additions to documentation merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: M status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants