Skip to content

feat(ui): refine remote desktop controls and connection states - #176546

Merged
vyctorbrzezowski merged 234 commits into
mainfrom
brzezowski/session-ui-v3/remote-desktop
Oct 21, 2026
Merged

vyctorbrzezowski merged 234 commits into
mainfrom
brzezowski/session-ui-v3/remote-desktop

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Remote Desktop needs usable session-panel controls and clear connection and recovery states on desktop and mobile.

User Impact

Adds machine identity, viewing and control actions, sizing, and window controls alongside connection progress and credential entry. Mobile Open in new window uses the actual destination link.

Why This Change Was Made

Keeps the viewer mounted during control transitions. The native connection owner retains credentials, observation release, retries, and input-control decisions.

Evidence

  • All 23 integrated Desktop scenarios passed, including document mode, sizing, and panel transitions.

  • Reproduced the mobile recovery-menu failure at the CI merge: reading connection props created reactive primitives inside the menu effect. Composing those props once in the mounted view fixes that lifecycle violation without changing controls or styling. The unchanged presentation file passed 15 cases (1.95 s command wall); two Desktop sibling files passed 29 cases (3.72 s). Production UI types, type-aware lint, the controller guard, and scoped review passed. Reproduction used Node; the original CI job used Bun.

CI timing for these focused updates remains pending.

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: Terminal, remote desktop, and browser.

Remote desktop on mobile

The synthetic desktop is visible with the updated grouped actions menu, including new-window controls. The open menu naturally covers part of the framebuffer.

Full view

Before After
Remote desktop on mobile: Before — full view Remote desktop on mobile: After — full view

Detail 1

Before After
Remote desktop on mobile: Before — detail 1 Remote desktop on mobile: After — detail 1
Additional views and states

Remote desktop — Fit width

The baseline has its native sizing selector without an axis-specific option. The updated menu shows Fit width selected and the framebuffer fitting the pane width.

Full view

Before After
Remote desktop — Fit width: Before — full view Remote desktop — Fit width: After — full view

Detail 1

Before After
Remote desktop — Fit width: Before — detail 1 Remote desktop — Fit width: 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. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. 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 1a6fb1bef6109356d197369508e4ea3d325b489b, but the PR head is now 584b68fb94f96050a6c2ffa4503cc6b7a741abc4. 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-18T22:21:49.684Z sha 1a6fb1b :: needs changes before merge. :: [P2] Connect the presentation prop to the production chat host | [P2] Keep view assembly inside the existing Desktop owner

@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/remote-desktop branch from 1a6fb1b to 8ba9a16 Compare October 19, 2026 11:38
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/remote-desktop branch from 8ba9a16 to b2611b7 Compare October 19, 2026 11:45
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review October 19, 2026 11:47
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/remote-desktop branch from b2611b7 to 4a2eb34 Compare October 19, 2026 14:54
@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/remote-desktop branch from 4a2eb34 to c0891f6 Compare October 19, 2026 18:52
@openclaw-barnacle openclaw-barnacle Bot reopened this Oct 19, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/remote-desktop branch 2 times, most recently from d429dbe to 363922c Compare October 19, 2026 21:12
@blacksmith-sh

This comment has been minimized.

@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/remote-desktop branch from ee86104 to e9a9cd5 Compare October 21, 2026 01:28
Base automatically changed from brzezowski/session-ui-v3/terminal to main October 21, 2026 01:46
@vyctorbrzezowski
vyctorbrzezowski merged commit b285d46 into main Oct 21, 2026
95 of 107 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/session-ui-v3/remote-desktop branch October 21, 2026 01:46
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Oct 21, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
…law#176546)

* 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

* feat(ui): refine conversation loading and error states

* fix(ui): show actionable history diagnostics

* test(ui): align loading coverage with session update callbacks

* feat(ui): add mobile session activity pills

* fix(ui): retain refresh status on markdown progress

* refactor(ui): measure activity controls through owned observers

* fix(ui): use action cursors for session controls

* feat(ui): add session outputs views and retained binding

* refactor(ui): narrow session outputs exports

* fix(ui): use action cursors for session controls

* feat(ui): refine session sharing controls and outcomes

* test(ui): consolidate sharing refresh order coverage

* refactor(ui): keep prepared sharing types with shared contracts

* fix(ui): align sharing checks with session controls

* fix(ui): retain sharing group renderer identity

* fix(ui): focus sharing search after its transition settles

* test(ui): identify icon-only sharing action accessibly

* test(ui): cover icon-only sharing geometry

* fix(ui): dispatch owner-handled sharing menu actions explicitly

* fix(ui): retain compact icon-only sharing control

* style(ui): format session sharing callbacks

* style(ui): consolidate session sharing type import

* test(ui): distinguish sharing label geometry

* feat(ui): keep task progress available in session details

* fix(ui): restore contrast to progress controls

* fix(ui): keep saved task progress available in Details

* fix(ui): announce progress outcome in details

* test(ui): follow saved progress detail controls

* test(ui): exercise retained progress through native controls

* fix(ui): preserve progress lifecycle and lazy tooltip loading

* fix(ui): complete task progress details integration checks

* fix(ui): preserve progress menus across layout updates

* test(ui): preserve saved progress and Details card contracts

* test(ui): target the Details progress plan in footer checks

* feat(ui): add mobile pull request publication controls

* feat(ui): organize pull request details and check controls

* fix(ui): defer pull request views with guarded recovery

* fix(ui): complete pull request details integration checks

* test(ui): exercise retained pull request surfaces

* test(ui): exercise archived publication through its current entry

* build(ui): refresh boot modules after deferring pull request views

* test(ui): open progress checks through the pull request menu

* test(ui): verify PR reader lifetime through compact native actions

* chore(ui): regenerate boot module manifest

* feat(ui): organize session placement destination selection

* refactor(ui): narrow cloud choices exports

* refactor(ui): preserve native types for placement selection

* fix(ui): complete session placement picker integration checks

* fix(ui): construct placement picker within dialog owner

* test(ui): verify placement policy through fixed machine selection

* style(ui): format placement restart test imports

* feat(ui): add machine details and retained worker stop controls

* refactor(ui): narrow worker dialog exports

* fix(ui): retain cancel focus in worker stop dialog

* refactor(ui): type machine icons without assertions

* test(ui): consolidate stop authority coverage at the header boundary

* fix(ui): complete session machine controls integration checks

* fix(ui): mount machine elapsed time directly

* feat(ui): add session people details and compact presence

* refactor(ui): narrow session people exports

* fix(ui): complete session people integration checks

* test(ui): keep people rename width independent of font kerning

* feat(ui): add subagent summaries to session details

* fix(ui): complete subagent details integration checks

* feat(ui): add shared details sections and context presentation

* refactor(ui): narrow desktop Details exports

* refactor(ui): defer Details binding types to integration

* fix(ui): complete details sections and context integration checks

* fix(ui): share detail disclosure measurement

* feat(ui): organize session environment details

* test(ui): correct Details environment fixtures

* refactor(ui): narrow environment Details exports

* fix(ui): contain native mobile session details

* fix(ui): keep environment labels private

* fix(ui): complete session environment integration checks

* fix(ui): scope environment reads to visible entries

* feat(ui): add session automation overview and history

* test(ui): use canonical automation history type

* refactor(ui): narrow automation history exports

* fix(ui): complete session automations integration checks

* fix(ui): own automation subscriptions with native lifetimes

* refactor(ui): distinguish automation scope and connection bindings

* fix(ui): align automation callback return types

* refactor(ui): keep automation details in the native page

* refactor(ui): remove retired automation sheet sorting

* feat(ui): retain mobile composer editing across controls

* fix(ui): retain composer focus across blank chrome

* test(ui): wait for lazy composer menu focus

* fix(ui): complete composer mobile integration checks

* fix(ui): retain composer interaction lifecycle

* test(ui): provide font readiness in plugin question fixtures

* fix(ui): preserve mobile composer on owned touch focus

* test(ui): retain the composer when updating presentation

* feat(ui): add mobile People view and native mentions

* refactor(ui): narrow mobile people exports

* perf(ui): separate visible people grid from page content

* fix(ui): refresh mobile composer boot manifest

* chore(ui): regenerate boot module manifest

* feat(ui): add mobile Sharing and Session access views

* refactor(ui): narrow mobile sharing exports

* perf(ui): keep sharing options independent from page content

* feat(ui): add mobile Goal details and recovery

* fix(ui): retain initial focus when editing goals

* fix(ui): preserve goal input and owner errors

* fix(ui): complete goal mobile integration checks

* fix(ui): retire goal dialogs with their session

* feat(ui): refine process panels and mobile summary

* fix(ui): register process summary translations

* test(ui): cover process panel labels and useful empty states

* fix(ui): mount mobile process elapsed time directly

* feat(ui): compose mobile Details content and navigation

* refactor(ui): remove unused mobile Details heading

* fix(ui): complete details mobile root integration checks

* fix(ui): bind mobile outputs to presentation lifetime

* fix(ui): read projected progress in mobile details

* refactor(ui): remove embedded automation detail bodies

* feat(ui): add terminal panel navigation and staged input

* fix(ui): preserve terminal input and explicit targets

* fix(ui): complete terminal integration checks

* refactor(ui): finish terminal display accessor cleanup

* test(ui): select the retained terminal before layout checks

* test(ui): restore the listed embedded terminal session

* fix(ui): preserve canonical terminal owner contracts

* style(ui): order terminal placeholder import

* feat(ui): refine remote desktop controls and connection states

* fix(ui): expose Desktop window action in mobile menu

* refactor(ui): narrow desktop sizing exports

* fix(ui): complete remote desktop integration checks

* fix(ui): keep desktop connection props in their component owner
@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. P2 Normal backlog priority with limited blast radius. scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant