Repository navigation
improve(ui): clarify session errors and sharing controls - #192206
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 66a2fc5e-b631-40fb-9c4b-eedb32580192
|
🦞👀 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: needs changes before merge. What this changesThis PR standardizes session terminology and error wording and separates confirmation questions from their consequences. Example: Stop the cloud device running the session “Cloud task”.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this maintainer-authored PR open: the copy improvements are useful, but incomplete consumer updates introduce reproducible test failures. Priority: P3 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherEnglish catalogs supply Control UI notices and confirmation dialogs; existing session and worktree mutation owners retain responsibility for access checks, RPCs, and settlement. flowchart LR
A[English catalogs] --> B[Chat notices]
A --> C[Session confirmations]
A --> D[Worktree confirmations]
C --> E[Existing session mutation owners]
D --> F[Existing worktree mutation owner]
E --> G[Gateway RPCs]
F --> G
Technical reviewBest possible solution: Keep the existing catalog and mutation owners, complete the copy-dependent consumer updates, and preserve the current authorization and settlement behavior. Do we have a high-confidence way to reproduce the issue? The requested copy improvement needs no bug reproduction; exact-head CI independently demonstrates the introduced assertion failures. Is this the best way to solve the issue? Updating existing catalogs and confirmation fields is the smallest complete approach, but all affected consumer assertions must follow the same final wording. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c72adfb93f0e. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource +12, Tests +42, Docs 0. Total +54 across 47 files. Added test files: 1. 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, 2:46 PM ET / 19:46 UTC. |
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 0e75be1f-f8ad-4f4e-a1de-d94dd65d169c
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 23ab6a89-eee9-484c-908c-2637ce9a4c04
…2206) improve(ui): clarify session errors and sharing controls Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Session-side errors and dialogs use inconsistent container names, role names, and failure wording. Some cloud-stop and snapshot-failure confirmations also lack a separate question and consequence.
User Impact
Why This Change Was Made
Applies Vyctor Brzezowski’s approved Control UI glossary to the C9 session-side surfaces. English stays in the existing catalogs; no translation-memory, foreign-locale, plugin, native-app, protocol, or model-prompt changes.
The confirmation changes are presentation-only. Both cloud-stop entry points consume the same catalog copy. Existing active-work, access, stale-request, and deletion safeguards stay in place. Independent local review caught and corrected a misleading hardware-failure label, the second cloud-stop consumer, and a test-fixture dependency after extraction.
Evidence
The following browser and test evidence predates the revised validation instructions.
Deliberate limits
F1’s shared error-details contract is not on this base. Raw diagnostics remain in
chat.skillLearned.undoError,connection.scopeUpgrade.error,chat.cloudWorkerFailed, andworktrees.confirmForceDeleteDetails; no diagnostics or deletion safeguards were removed. Broader optional-session panels, remaining device-worker action labels, technical tool/status labels, and unrelated startup strings are left for follow-up rather than expanding this copy PR.Follow-up glossary fix
pnpm ui:i18n:verifyand the pre-commit hook were run for these final two strings. Verification passed with a three-minute timeout, and the hook passed.Gaps
Worked on by
Landing integration retains the current permission and stop-action owners, adds selected-session details, and preserves the active-cloud versus provisioning confirmation distinction. All 30 focused cloud-stop and message-recovery cases passed; i18n verification passed. The existing 283-case proof is reused. A 45-line allocation covers the actual test growth. Remaining test-line debt and the pre-existing sessions-page file-length lint are outside this PR; the extraction reduces that file.