Repository navigation
improve(ui): clarify session devices and stop actions - #192085
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 2ea9f770-67ae-4f0a-bbb2-e206cebe30b7
|
🦞👀 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. |
Visual proofSame synthetic session, light theme; the captures are cropped to the actual stop dialog. Before (origin/main
|
|
Codex review: needs changes before merge. What this changesThis PR clarifies device placement, stop confirmations, and recovery messages throughout the Control UI. Example: Open the stop confirmation for an active cloud session.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 4 items remain Keep this maintainer-authored PR open: the copy improvements are useful, but the consumer-test cutover is incomplete and the updated guide still names obsolete controls. Priority: P3 Before merge
Findings
Tests
Agent review detailsHow this fits togetherControl UI projects Gateway placement facts into session menus and confirmations, then sends confirmed stops through the existing sessions.reclaim owner. flowchart LR
A[Gateway placement facts] --> B[Placement presentation]
B --> C[English catalogs]
C --> D[Session menus and dialogs]
D --> E[Existing stop admission]
E --> F[Sessions reclaim]
Technical reviewBest possible solution: Keep classification and complete sentences in the existing placement and catalog owners, and complete the dependent test and documentation updates. Do we have a high-confidence way to reproduce the issue? Current main still uses the old labels, the supplied screenshots show the cloud-dialog change, and hosted CI directly reproduces the stale consumer assertions; no target code was executed locally. Is this the best way to solve the issue? The existing placement owner and English catalogs are the right boundaries, and the diff adds no competing lifecycle or state owner. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 45c571ed441b. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +40, Tests +42, Docs 0, Other +2. Total +84 across 60 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 3, 2026, 11:57 AM ET / 16:57 UTC. |
Fix the fixture literal type caught by CI and deduplicate the stop copy and its placement classification. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 9391e1a4-2f68-4864-a5c9-5f287f48c5f1
Cover all direct consumers exposed by the sharded UI checks; retain internal worker cancellation reasons and synthetic upload errors. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: bd1be05d-9458-4af9-af90-be7606cff8c3
improve(ui): clarify session devices and stop actions Co-authored-by: vyctorbrzezowski <[email protected]>


What Problem This Solves
Session placement and stop controls use “worker”, “runner”, and “turn” where people need to know which device is involved and what stopping it preserves.
User Impact
Why This Change Was Made
This is the bounded D3 pass of the approved Control UI glossary. Stop copy uses the existing placement owner: active placement without a paired-device runner identifies a cloud device; nonactive or unknown placements stay neutral. This does not change stop/reclaim, synchronization, retry, or permission behavior.
The paired stop description is a complete interpolated sentence, rather than concatenated English around the device name. Menus consume the stop owner’s recorded copy decision. Confirmation copy has one catalog owner. Documentation quoting changed controls is updated. No foreign locales, translation memory, protocol keys, native apps, or plugin-owned copy were changed.
Evidence
pnpm ui:i18n:baselineandpnpm ui:i18n:verifypassed; raw-copy baseline remained unchanged. A literal audit found no remaining stale changed-copy expectations; retained matches are internal worker-cancellation and synthetic upload-error data, not UI copy.pnpm tsgo:ui, allpnpm tsgo:test:uishards, touched-file oxfmt, line-cap growth ratchet, andgit diff --checkpassed.pnpm ui:check-performance:base 51bee40d3c7f5587a0edd992b6edb6d65bd87896passed: startup JS gzip 90,557 → 90,570 B (+13 B), startup requests 3 → 3, chat boot gzip 1,279,622 → 1,280,043 B (+421 B), startup CSS 35,997 → 35,997 B, total CSS 320,130 → 320,130 B.Visual proof
Synthetic data, light theme; inspected crops from the real Control UI. Full context.
Before:
After:
Scope and remaining work
The broader device/settings sweep, including aggregate per-device removal errors, is deferred to keep this pass bounded. Runs on device remains the generic badge where the placement schema has no device display name; the named device is shown separately in its details.
The F1 shared error disclosure contract is not on the pinned base. Raw details remain in
newSession.placementStartFailed,chat.cloudWorkerFailed,browser.errors.requestFailed,browser.errors.downloadFailed, andportalsPage.loadFailed. Existing unsynced-workspace and uncertain-delivery warnings remain.Historical CI startup/chat budget failures remain recorded. No budget baseline was raised; the authorized budget-only exception applies.
Worked on by
Landing integration retains F2 question/body confirmations, S2 lifecycle guidance, and D2 connection copy while preserving D3 cloud/paired/unknown stop selection. The 21 affected stop/consumer cases, two-file lint, and i18n verification passed. The allocation is 41 lines, matching actual growth; only the inherited 110-line debt remains. Broader prior proof was reused.