Repository navigation
feat(ui): add mobile Goal details and recovery - #176519
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)
|
ff90701 to
96be3ff
Compare
96be3ff to
ae43763
Compare
|
Editing surrounding whitespace enables Save, and rejected goal edits display the returned validation message. 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. |
ae43763 to
68bb879
Compare
68bb879 to
3b9be2e
Compare
3b9be2e to
c8fdee1
Compare
c8fdee1 to
d289d58
Compare
d289d58 to
3a29453
Compare
3a29453 to
75f2752
Compare
a9ad428 to
2a3a4b4
Compare
* 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
The Goal and Machine presentation aliases introduced by openclaw#176519 and openclaw#176445 are consumed only within their respective modules. Preserve the live presentation functions and pending integration consumers. Validation: 39 owning tests, UI typecheck, typed lint, format, and P2 review.










What Problem This Solves
Mobile Goal details need to keep the objective and recovery actions available after execution ends.
User Impact
Shows the complete objective, recovery state, elapsed usage, and existing Goal actions. Editing initially focuses the objective field, preserves text after failure, prevents duplicate submission, and closes when the session, Goal, or destination changes.
Why This Change Was Made
Reuses native Goal actions and modal lifecycle. Resume status follows the accepted receipt and current run, and recovery controls remain available when the Goal has been removed.
Risk and coverage
An accepted Resume request is not sufficient by itself to claim execution is running.
Evidence
Recorded focused validation: Combined People, Sharing, and Goal component checks passed (8 unit cases; 2.19 s command wall). The eight cases cover three components in one run.
The changed Goal test file passed four cases with
--maxWorkers=1(2.51 s wall), including objective editing and modal retirement when the session, Goal, or presentation changes. Scoped P0–P2 review found no actionable findings.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.
Goal details
The same complete objective and usage values move from the inline goal presentation into a dedicated mobile page.
Full view
Detail 1