Repository navigation
feat(ui): add mobile session actions and appearance pages - #176363
vyctorbrzezowski merged 103 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
6d3ad6e to
6f9317a
Compare
6f9317a to
8337a1d
Compare
|
Advanced → Session exposes Close pane for an existing mobile split. The comparison includes the full mobile view and its Session section. Native Control UI captures using synthetic mocked-Gateway data. These compare the captured repair variants; they do not certify the final combined revision. Full-context before/after images come first, followed by the corresponding detail crops. |
8337a1d to
5cfd01b
Compare
bf4c1a4 to
a8ee147
Compare
a5e624f to
e2634b6
Compare
e2634b6 to
8177519
Compare
8177519 to
416b93d
Compare
d4c939e to
51aba54
Compare
…76363) * feat(ui): add a navigable workspace file catalog * fix(ui): retain the workspace retry owner * refactor(ui): narrow workspace navigation exports * refactor(ui): simplify catalog image action ownership * fix(ui): show incomplete file search results * fix(ui): expose retry for workspace listing failures * refactor(ui): use shared Files measurement and focus owners * fix(ui): own file view lifetimes with Solid primitives * fix(ui): provide scroll restoration with file catalog callers * fix(ui): preserve workspace background reads in file proofs * fix(test): use inferred workspace props in catalog coverage * refactor(ui): retain catalog props through the derived view contract * refactor(ui): carry catalog view contracts through their owner * feat(ui): add grouped file browsing for mobile panels * test(ui): correct mobile Files fixture callbacks * refactor(ui): narrow mobile workspace exports * refactor(ui): keep file text predicate in content owner * refactor(ui): restore mobile Files scroll through its shared owner * refactor(ui): share mobile workspace props and file text decoding * refactor(ui): keep mobile file view contracts in the view owner * feat(ui): add file reader controls and preserve preview lifecycle * fix(ui): align floating file controls with mobile chrome * refactor(ui): narrow file reader exports * test(ui): await file preview settlement in lifecycle coverage * fix(ui): isolate file reader element types from global declarations * fix(ui): retain async workspace callback contracts * fix(ui): use canonical preview type in MCP attachment flow * fix(ui): preserve file recovery and defer attachment rendering * fix(ui): align file reader lifecycle and interaction tests * test(ui): use the file actions entry in typography coverage * test(ui): respect file reader tooltip and image boundaries * test(ui): cover tooltip-first escape from file search input * chore(ui): regenerate boot module manifest * refactor(ui): keep workspace text decoding in content owner * fix(test): wait for native file action menu readiness * refactor(ui): retain one workspace file text decoder * refactor(ui): isolate reader view and bridge type contracts * test(ui): settle native menus before freezing copy feedback * test(ui): acknowledge async workspace opening * test(ui): preserve source-scoped drafts through file actions * feat(ui): add resizable catalog to file readers * test(ui): retire obsolete divider filename inventory * fix(ui): load native Files only when presented * fix(ui): preserve file reader layout in resizable panels * fix(ui): await lazy panel publication before delivering intent * chore(ui): regenerate boot module manifest * refactor(ui): consume file panel view contracts directly * feat(ui): clarify conversation versions and preserve selection order * refactor(ui): keep history query types with state * refactor(ui): bind mobile version controls through owned refs * refactor(ui): keep branch query receipt internal * feat(ui): add grouped desktop and mobile subagent panels * test(ui): follow native subagent panel controls * refactor(ui): keep subagent focus and scroll lifecycles owned * test(ui): match subagent coverage to active panel presentation * feat(ui): add desktop and mobile review controls * fix(ui): anchor Review menus to their native trigger * fix(ui): retain review menu entries during selection * refactor(ui): narrow diff view exports * fix(ui): preserve saved review split preference * refactor(ui): preserve review panel focus and scroll ownership * fix(ui): retain review state through native lifetimes * fix(ui): settle review navigation without synchronous flush * refactor(ui): keep diff loader aliases internal * feat(ui): add resizable panel frame and mobile navigation * fix(ui): connect mobile Details and preserve panel navigation * fix(ui): retain panel controls and launcher actions * fix(ui): publish panel opens through the shared owner * test(ui): align resource fixture with page ownership * test(ui): use current panel tab controls * fix(ui): preserve native panel contracts across session layouts * fix(ui): bind sidebar lifetime to native presentation * refactor(ui): await settled panel close updates * test(ui): align mobile panel checks with native host behavior * test(ui): measure the bounded checks overlay surface * test(ui): verify progress within the native mobile host * test(ui): verify native panel geometry after transitions * fix(ui): defer icon-only sizing until Details uses its glyph * test(ui): preserve dashboard state through native panel actions * fix(ui): reopen mobile panels from their presented state * test(ui): verify native rails and asynchronous companion closure * fix(ui): preserve panel controls and navigation across presentations * test(ui): restore focused main panels through layout controls * test(ui): follow mobile restore and clock boundaries * fix(ui): refresh terminal docking availability across panels * refactor(ui): share chat resource presentation at the panel host * test(ui): keep context-menu clicks inside resizing bubbles * fix(ui): preserve agent header centering with native insets * fix(ui): keep new-session insets stable after loading chat styles * fix(ui): format sidebar layout imports * refactor(ui): drop unused mobile automation routes * feat(ui): add mobile session header presentation * refactor(ui): narrow mobile header exports * fix(ui): keep gateway announcements with the shell owner * fix(ui): use action cursors for session controls * feat(ui): add mobile session actions and appearance pages * fix(ui): align session action groups and separators * fix(ui): restore mobile pane close action and focus * fix(ui): preserve keyboard focus through appearance navigation * fix(ui): retire advanced menus with presentation * fix(ui): retain offline rename through session menus * refactor(ui): own mobile menu pages through keyed lifetimes * test(ui): route the offline rename fixture to its agent




What Problem This Solves
Mobile session actions need room for appearance, grouping, and advanced controls while retaining native permission and mutation handling.
User Impact
Adds mobile Advanced, Icon & color, assignment, and Move to group pages. Advanced keeps Delete with session actions and places Open in choices together at the end. Group selection lists groups alphabetically and opens search on demand. Mobile rename uses the existing dialog; desktop inline rename remains available. The Speech bubbles preference remains accessible when enabled by configuration.
Why This Change Was Made
Mobile pages provide presentation and navigation while existing session-menu and organizer owners perform actions. Rename retains the captured session identity and entered text while renewing request checks after reconnect. Mobile action pages close before opening actions such as Rename. Retained menu pages keep their visual state while subscriptions and pending focus work retire with their owning menu.
Risk and coverage
Offline header entry to Rename is unavailable, and the desktop inline editor is absent after disconnect. The proven reconnect path is an already-open mobile Rename modal; the broader offline-entry behavior is unchanged.
Evidence
Recorded focused validation: Session-action and appearance checks passed (35 unit and 3 Chromium cases; 5.35 s command wall).
Session-menu lifecycle checks passed all 15 cases (3.02 s wall). Cleanup preserves the existing menu actions and presentation behavior.
The changed mobile-menu and Sharing test files passed 28 cases together (
--maxWorkers=1; 2.48 s wall). Existing cases check retained page identity, retired subscriptions, canceled stale focus work, and focus on the rendered Search input.Practical Chromium checks verified rename cancellation and one exact session-identity patch on Save. An already-open mobile Rename modal queued Save while disconnected and applied it once after reconnect without losing its text or target.
Offline Rename coverage declares the routed agent explicitly and preserves cancellation, session identity, and retirement checks. The owning file passed all 27 cases with
pnpm test ui/src/pages/chat/chat-pane-session-menu.test.ts --maxWorkers=1(3.01 s wall); changed-test types passed in 1.77 s.CI timing for the updated tests is pending; the measured local costs above are scoped runs.
Visual evidence
Captured before:
dccff201b07e. Captured after:5856f7237579.Synthetic fixtures and a mock Gateway show the integrated session UI at these revisions. These images are not isolated proof of this PR; stills do not establish interaction or live-service results.
Published comparisons: Session actions and automation.
Advanced session actions
The expanded page shows conversation settings, session actions, and inline Open in choices. The Icon & color label is unobscured.
Full view
Detail 1
Additional views and states
Icon and color
The baseline submenu and updated sheet show the default color and no-icon selection, palette, emoji, and reset controls.
Full view
Detail 1