Skip to content

feat(ui): add compact mobile execution approvals - #176367

Merged
vyctorbrzezowski merged 105 commits into
mainfrom
brzezowski/session-ui-v3/mobile-execution-approvals
Oct 21, 2026
Merged

vyctorbrzezowski merged 105 commits into
mainfrom
brzezowski/session-ui-v3/mobile-execution-approvals

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Inline execution approvals need a compact mobile layout while keeping the complete command, request details, and eligible decisions available.

User Impact

Adds an explicit mobile presentation with expandable command details and a single row of decision buttons. Expanding details does not submit a decision. Updating the current request retains its disclosure; a new request starts collapsed.

Why This Change Was Made

Reuses native approval eligibility and decision handling. The mobile layout applies only to inline execution requests, leaving desktop, modal, and plugin approval presentations unchanged.

Risk and coverage

Composer use of the mobile approval presentation is in #176498.

Evidence

  • Recorded focused validation: Execution-approval presentation checks passed (14 unit cases; 1.85 s command wall).

  • Current CI: WebKit menu checks failed the dark and light attachment/capability hover cases because the photo action was absent. Replaying the complete 22-case test file at the exact tested merge passed on macOS WebKit (12.28 s); CI used Ubuntu WebKit. A subsequent replay of the original 59-file WebKit job on macOS also passed both target cases, but finished with 575 passing and 12 different failing tests (91.04 s); it is not a passing gate. Cross-file scheduling and platform differences remain reproduction limits. The cause of the hosted failure remains unresolved; neither replay establishes a fix or baseline attribution.

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: Review and activity.

Execution approval — dark

The baseline uses its native collapsed-details and stacked-choice layout. The updated view shows expanded request metadata and a single decision row. No approval decision is shown.

Full view

Before After
Execution approval — dark: Before — full view Execution approval — dark: After — full view

Detail 1

Before After
Execution approval — dark: Before — detail 1 Execution approval — dark: After — detail 1
Additional views and states

Execution approval — light

The same synthetic request in light mode, with request details and decision controls fully visible. No command execution is claimed.

Full view

Before After
Execution approval — light: Before — full view Execution approval — light: After — full view

Detail 1

Before After
Execution approval — light: Before — detail 1 Execution approval — light: After — detail 1

@clawsweeper

clawsweeper Bot commented Oct 18, 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 clawsweeper:intake:feature Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 18, 2026
@clawsweeper

clawsweeper Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 22335e6f17320f1b3d768fc7bd8b1f50f626984f, but the PR head is now e084726c699915326393c15a174bddda09d6781d. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

Review history (1 earlier review cycle)
  • reviewed 2026-10-18T20:00:33.406Z sha 22335e6 :: needs maintainer review before merge. :: none

@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/mobile-execution-approvals branch from 22335e6 to ecfe427 Compare October 19, 2026 11:37
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/mobile-execution-approvals branch from ecfe427 to d3906da Compare October 19, 2026 11:44
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review October 19, 2026 11:46
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/mobile-execution-approvals branch from d3906da to 87442bc Compare October 19, 2026 14:53
@vyctorbrzezowski vyctorbrzezowski added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 19, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/mobile-execution-approvals branch from 87442bc to 1a14e60 Compare October 19, 2026 18:52
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/mobile-execution-approvals branch from 1a14e60 to 263489c Compare October 19, 2026 20:08
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/mobile-execution-approvals branch from 263489c to 43a14eb Compare October 19, 2026 21:11
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/mobile-execution-approvals branch 2 times, most recently from 12e4940 to 97d12c1 Compare October 19, 2026 23:42
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/mobile-execution-approvals branch from 97d12c1 to fc426c4 Compare October 19, 2026 23:52
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/mobile-execution-approvals branch from 2f4cd2e to 18c161e Compare October 21, 2026 01:27
Base automatically changed from brzezowski/session-ui-v3/session-actions-and-appearance to main October 21, 2026 01:36
@vyctorbrzezowski
vyctorbrzezowski merged commit 58dcfc0 into main Oct 21, 2026
88 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/session-ui-v3/mobile-execution-approvals branch October 21, 2026 01:36
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
* 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

* feat(ui): add compact mobile execution approvals

* refactor(ui): keep approval replay state internal
@vyctorbrzezowski vyctorbrzezowski self-assigned this Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui ci:full Keep ordinary native-locale CI selection on the next PR run. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant