Skip to content

feat(mobile): wrap composer controls and add an effort slider - #1492

Merged
nixuuu merged 2 commits into
devfrom
feat/mobile-composer-effort-picker
Nov 29, 2026
Merged

nixuuu merged 2 commits into
devfrom
feat/mobile-composer-effort-picker

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Change

The mobile thread composer wraps the model, effort, role, speed and advisor controls when their labels fill the toolbar. Send keeps a slot at the bottom right. The project, worker and permission controls under a new thread can wrap independently.

Tapping the effort opens a stepped slider from the button and collapses it back on dismissal. Dragging previews the level, and releasing applies it to the draft. The panel supports the model's available levels, reset to the effective default, opening the model picker, screen-reader adjustments and reduced motion.

Verification

  • Mobile TypeScript check, oxlint and oxfmt on the changed source files, and git diff review.
  • Native Android emulator with sample model data. Checked the wrapped toolbar, slider interaction, reset, model switching, Android Back and opening and closing with the keyboard visible. The iOS runtime remains unverified.
  • Copy audit against docs/copy.md §8. Effort options previously appeared as list rows. The panel shows the selected level and model, identifies the default, and names the reset and dismiss actions for screen readers. Existing model and effort labels carry over, including their full accessible names. A model without a default identifies the provider that chooses it.
  • At 320 dp with 1.35× font scaling the centered composer can move by a pixel while idle. The original toolbar on the base revision reproduced the same behavior.
  • In the side-thread sheet, one Android Back press closed only the effort panel in four consecutive trials on the clean bundle. Two presses dismissed the panel and then the sheet.

@nixuuu
nixuuu enabled auto-merge (squash) November 29, 2026 21:37
@nixuuu
nixuuu marked this pull request as draft November 29, 2026 21:38
auto-merge was automatically disabled November 29, 2026 21:38

Pull request was converted to draft

@nixuuu
nixuuu marked this pull request as ready for review November 29, 2026 21:41
@nixuuu
nixuuu merged commit ea4b45f into dev Nov 29, 2026
13 checks passed
@nixuuu
nixuuu deleted the feat/mobile-composer-effort-picker branch November 29, 2026 21:41
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