Skip to content

fix(ios): show two bolts for Ultrafast in chat - #207471

Merged
vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/ios-ultrafast-two-bolts
Nov 28, 2026
Merged

vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/ios-ultrafast-two-bolts

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

On iPhone, choosing Ultrafast left the same single lightning bolt in the chat composer as Fast. You had to reopen the speed picker to tell which one was selected.

User Impact

Ultrafast uses two bolts in the composer and the model sheet’s Speed menu. Fast keeps its single bolt, and Standard keeps the dial needle. The inline segmented picker keeps its text labels.

Why This Change Was Made

The composer now reads the same speed selection as the picker instead of reducing it to on or off. The native icon uses the Control UI’s two bolt outlines, including the gap between them, and follows the iOS accent color. The change does not alter model eligibility or request speed.

Evidence

The iPhone 17 Pro simulator shows one bolt before this fix and two afterward, in both appearances. The focused composer reported “High, Ultrafast” in all four captures. The same local model/session fixture was used on dfe924e67849 (before) and 4723b6f355bc (after); it is not part of the change.

iPhone composer in light and dark: one bolt before the fix, two after

The enlarged dials below are crops of those same screenshots. The right column shows the original Control UI glyph rendered in the browser for comparison.

Enlarged iOS dial before and after, beside the web double-bolt icon in light and dark

The native Speed menu shows no bolt for Standard, one for Fast and two for Ultrafast. Switching from Ultrafast to Fast in that menu restored the single bolt in the composer and changed its accessibility value to “High, Fast”.

Speed menu with a check beside Ultrafast and distinct icons for Fast and Ultrafast

🦞 Made with OpenClaw

@clawsweeper

clawsweeper Bot commented Nov 28, 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. impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 28, 2026
@clawsweeper

clawsweeper Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: passed.

What this changes

This PR gives Ultrafast a double-bolt icon in the iOS composer and model sheet’s Speed menu.

Example: On iPhone, select Ultrafast with effort set to High.

  • Before: The composer shows the same single bolt used for Fast.
  • After: The composer shows two bolts, matching the Ultrafast menu icon.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, worthwhile patch with no definite defect found; confidence is limited by the absence of updated native UI execution evidence.
Proof confidence 🦐 gold shrimp (3/6) The inspected images establish the baseline appearance and vector artwork comparison, but do not exercise the changed SwiftUI rendering; this maintainer-authored PR is exempt from the contributor proof requirement, so that gap limits confidence without requiring contributor action.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Fast and Ultrafast look identical in the iPhone composer, so users must reopen the picker to distinguish their selection.
Reason: The small presentation change makes an existing choice visible and follows the established Control UI alignment; maintainer authorship supplies direction approval.

Merge readiness

✅ Ready for maintainer review

Keep this maintainer-authored draft PR open: it fixes a current display ambiguity with a focused change, and no actionable correctness or security defect was found.

Reviewed head: 4723b6f355bc407cfa651534d1f328a890f10973

Before merge

None.

Findings

None.

Agent review details

How this fits together

The shared native chat UI receives the view model’s resolved speed selection and renders it in the iPhone composer and speed picker.

flowchart LR
  A[Session speed and model capabilities] --> B[Chat view model]
  B --> C[Resolved composer speed]
  C --> D[Composer gauge]
  C --> E[Speed picker]
  F[Shared speed icon mapping] --> D
  F --> E
Loading

Technical review

Best possible solution:

Render the existing resolved speed through one shared icon mapping while preserving the current speed selection and request behavior.

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

Current-main source collapses enabled speeds into one bolt, consistent with the supplied baseline simulator screenshots; no target code was executed during this review.

Is this the best way to solve the issue?

The patch addresses the lost speed distinction at the presentation boundary, reuses the existing selection owner, and keeps one icon mapping for both affected surfaces.

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit 58e3588 adds apps/shared/OpenClawKit/Sources/OpenClawChatUI/ChatComposer+CleanControls.swift:400 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 58e358887b85; files: apps/shared/OpenClawKit/Sources/OpenClawChatUI/ChatComposer+CleanControls.swift)

PR surface

Source +47. Total +47 across 6 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 6 56 9 +47
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 56 9 +47

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

No label changes.

Label justifications:

  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • 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.

Reviewed November 28, 2026, 5:58 AM ET / 10:58 UTC.

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review November 28, 2026 18:15
@vyctorbrzezowski
vyctorbrzezowski merged commit 9a27949 into main Nov 28, 2026
154 of 156 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/ios-ultrafast-two-bolts branch November 28, 2026 18:57
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant