Skip to content

feat(mobile): redesign sheets, pickers and list screens - #36585

Merged
AmoabaKelvin merged 1 commit into
mainfrom
mobile-sheets
Oct 31, 2026
Merged

AmoabaKelvin merged 1 commit into
mainfrom
mobile-sheets

Conversation

@AmoabaKelvin

@AmoabaKelvin AmoabaKelvin commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 32 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​102 $\color{#cf222e}{\Huge{\mathbf{−}}}$​56 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​46
Prod 108 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3538 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3525 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​13

ELI5

The phone app's pop-up sheets and a few busy screens get the cleaner look from the redesign draft (#32135). Sheets slide in more smoothly and group their rows. The forms, pickers and lists inside them are easier to scan. Text stays at the app's current smaller sizes, so more fits on screen.

What Changed

  • Every bottom sheet:
    • Motion: slides on iOS's sheet curve (480 ms in, 300 ms out), travelling its own height rather than the whole screen, and eases its height when content grows or shrinks.
    • Look: a lighter surface, floating 24 pt corners and a 5 pt grabber.
    • Contents: rows sit in grouped lists (new ListGroup / ListRow / SectionHeader, 48 pt rows, 15 pt titles, 13 pt labels). Everything inside a sheet moved onto the new group colour so it still stands out.
  • Switches: every switch is the draft's drawn switch: a translucent track that turns blue and a white thumb that eases across. It looks the same on iOS, Android and the web pages, and replaces the stock switch in Settings too.
  • Segmented switchers: taller (34 pt segments, 13 pt labels) so labels don't touch the track.
  • Create worktree:
    • Layout: Cancel and title header, then grouped "Where" (Project, Run on), "Start from" and "Agent" sections, and a full-width Create button.
    • Options expands with animation.
    • Branch choice: "Existing / New branch" is now an "Existing branch" switch.
    • Pickers open after 16 ms instead of ~316 ms. All these sheets share one native Modal, so there's no second iOS presentation to wait for.
    • Create workspace from a task gets the same layout.
  • Model picker: Model, Effort and Options sections with Done in the header. While a change saves, the subtitle reads "Applying…".
  • GitHub issue / PR sheet:
    • Header: a kind line, a 17 pt title and "repo #N · state".
    • Actions: Start workspace with round Open, Copy and ⋯ buttons. Close/Reopen, Merge and Linear's Change status moved into ⋯, and Copy link now also shows for GitLab and Jira.
    • Body: a Details group, then the description and discussion.
  • Task list rows: the title spans the full width, and the meta line reads "● repo #N · age". A coloured state icon (issue or PR, open, closed, draft or merged) and a chevron replace the leading icon and the "Open" pill.
  • Agent Session History: flat rows with dividers instead of cards, a round play button to resume, and a preview that expands with animation. Sentence-case group headers and proper empty, no-match and error states.
  • File preview: Preview / Source switch and Copy in the top bar. Markdown body text is 14 pt.
  • Bottom search bar: Close stays until the keyboard is down, so iOS's late click can't land on the New workspace button that replaces it.

Why

These screens drifted apart: different sheet motion, groups, switches and row styles. The draft had already designed most of them. This brings that design across without its 16–17 pt type and off-token radii, and keeps main's input look.

Linked Issue

N/A. No issue covers this; it ports part of draft #32135.

Visual Proof

Left is main, right is this branch. Phone-size renders of the OTA pages against a fake host.

Screen Before / After
Create worktree create-worktree.png
Workspace options workspace-options.png
Tasks filter tasks-filter.png
Model picker model-picker.png
Issue sheet issue-sheet.png
Task list tasks-list.png
Agent Session History agent-history.png
File preview file-preview.png

Testing

  • Tested on a phone over the dev build: sheets, create worktree, Agent Session History, the task list and switchers. Two things the user found there are fixed here: the cramped Resume button and the thin switchers.

  • Not yet confirmed on the phone: the search-bar Close fix. The preview doesn't reproduce iOS's late click.

  • pnpm tc, pnpm lint, check:code-quality:changed, check:react-doctor:changed, check:zustand-selector-fanout, mobile localization checks, the mobile tests typecheck and all 455 mobile page render checks pass.

  • The full mobile suite passes except mobile-e2ee-v2-client-session ("preserves full large text frames"), which fails locally on main too.

  • Re-recorded the Agent History RPC goldens; only element counts and text changed, and the requests are the same.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

AI Disclosure

Review

  • mobile/src/components/mounted-bottom-drawer.tsx, bottom-drawer-*.ts, AutoHeight.tsx: the shared sheet motion. The other sheets only restyle.
  • mobile/src/components/list/ and MobileSwitch.tsx: the new shared pieces.
  • mobile/src/theme/mobile-theme.ts: new tokens sheetSurface, sheetGroup, translucentFill, reusing existing palette values.
  • MobileNativeChatSessionOptionPickers.tsx was rebased over Let phone users choose the next message’s model during a structured reply #36451 and keeps its per-option locked(descriptor).

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance

Mobile only. The changed screens are OTA pages and native sheets, and nothing about RPC changes. The sheet motion will get its own polish pass; this PR brings it to the draft's curve and timing.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

Sheets slide on iOS's curve over their own height, ease when their content
changes, and paint a lighter surface with grouped rows and a drawn switch.
Create worktree, the model picker, the GitHub issue sheet, file preview,
Agent Session History and the task list take the redesign draft's layouts
at the app's smaller type sizes.
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