Repository navigation
feat(ui): refine the mobile composer - #130308
vyctorbrzezowski merged 4 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
5b41ca7 to
409b4f3
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 5:48 PM ET / 21:48 UTC. ClawSweeper reviewWhat this changesThis PR refines mobile chat and new-session composers by grouping controls, adding mobile-specific talk/dictation actions, compacting model/effort controls, and updating responsive UI coverage. Merge readinessKeep open for explicit maintainer review: the protected, member-authored PR has no discrete source-level regression in the inspected composer paths, but the review environment could not recheck the current base, full discussion, or exact merge result after network resolution failed. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: PASS (completed) Assertions:
How this fits togetherThe Control UI composer converts current draft, run, voice, and session state into message and voice controls. The change adapts that shared composer for narrow screens and carries the same presentation into the new-session page. flowchart LR
A[Draft and run state] --> B[Shared composer]
B --> C[Mobile layout rules]
C --> D[Dictation and talk actions]
C --> E[Model and effort controls]
D --> F[Chat and voice requests]
E --> F
Decision needed
Why: The PR is protected with the maintainer label and changes the product’s mobile interaction design; source inspection cannot substitute for the required maintainer acceptance of that direction. Before merge
Agent review detailsSecurityNone. PR surfaceSource +868, Tests -4. Total +864 across 22 files. View PR surface stats
Review metrics
Mantis proof suggestionA short redacted mobile chat recording would directly confirm the changed Talk, Send, and Stop hierarchy beyond static screenshots. A maintainer can ask Mantis to capture proof by posting this exact PR comment: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the shared action-state owner and mobile-only presentation split, then make the merge decision from a refreshed exact-head merge result, completed checks, and the approved mobile design review. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR proposes a mobile interaction redesign rather than reporting a broken current behavior; the included browser tests identify the intended Talk and Dictation paths. Is this the best way to solve the issue? Unclear: the shared action renderer is the right owner boundary, but a refreshed exact-base review and maintainer design acceptance are still needed before calling this the best final direction. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 54db7d4f99e8. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
f197851 to
e1effb9
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
* origin/main: (275 commits) fix(ai): require explicit compatible-provider endpoints (#130453) test(control-ui): guard the hand-mirrored theme --bg copies (#130444) fix(onboard): preserve the saved skills package manager (#130438) improve(worker): diagnose admission-deadline failures and widen daemon revalidation budget (#130435) fix(plugins): align diffs external install metadata (#130362) refactor(models): consolidate config normalization (#130439) fix(browser): accept common keyboard aliases (#130401) fix(release): refresh IMAP plugin baselines (#130351) fix(tests): type sticky model agent fixtures (#130441) fix(qa): track current Slack progress cards (#130354) feat(ui): refine the mobile composer (#130308) fix(ui): clarify gateway disconnect status in tab title (#130364) test(qa): await gateway startup before network probes (#130353) fix(qa): run Buzz profile scenarios with pooled credentials (#130316) fix(crabbox): keep the setup failure reason and name its phase (#130425) fix: dashboard tools target the wrong Gateway after admission (#130112) fix(ui): distinguish inherited model defaults from session pins (#120805) feat(feishu): let agents resend received stickers (#130374) refactor(models): prepare selection policy once (#130413) fix(ui): make dashboard side panels enter split view (#130426) ... # Conflicts: # test/scripts/docker-build-helper.test.ts
* feat(ui): refine the mobile composer * fix(ui): preserve mobile composer controls * fix(ui): keep mobile composer gates stable * perf(ui): lazy-load chat goal styles
What Problem This Solves
The mobile composer gave secondary controls the same visual priority as primary actions, split related controls across the row, and exposed inconsistent action states. Model and reasoning controls also consumed more room than the narrow viewport could afford.
Why This Change Was Made
This PR packages the mobile composer direction approved through the
:5217design bench. The iteration studied touch targets, icon weight, spacing, grouping, and state transitions as one system: attachments, permissions, and context form the left group; model, effort, dictation, and the single action control form the right group.The effort control uses the model catalog's actual thinking-level count. Two outline-only Brain icons are stacked: a muted base outline and a strong outline clipped from bottom to top, so the border fills spatially while the body remains hollow. The action position swaps between talk, send, and stop instead of rendering competing buttons.
The implementation is mobile-scoped where the layout changes. The canonical More glyph now uses Lucide's compact ellipsis, and the context ring stays visually quiet by default.
User Impact
+and action controls easy to find without elevating permission or context controls./newwithout changing the desktop layout.Evidence
Captured from the real fixture-driven mock at a 430×932 mobile viewport in light and dark modes. The PNGs were re-encoded without color-management metadata before upload.
Local gates were intentionally not run on this workstation. The remote lander owns typecheck, lint, formatting, build, and test gates for this closeout.
Before
After: action states
After: effort progression
Light
Dark