Repository navigation
improve(ui): clarify device connection and setup copy - #192046
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 00b34d6a-1132-4397-afd5-e8c58b1ecce1
|
🦞👀 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 device connection labels, improves setup messages, and updates matching documentation and tests. Example: An administrator opens the device setup dialog.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 3 items remain Keep open for the approved terminology cleanup; this PR needs a focused clipboard-feedback correction before merge. Priority: P3 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherThe Control UI presents Gateway-owned device setup and connection operations, translating their lifecycle outcomes into dialogs, commands, and recovery messages. flowchart LR
A[Administrator] --> B[Control UI dialogs]
C[English catalogs] --> B
B --> D[Existing setup owners]
D --> E[Gateway pairing RPCs]
E --> D
B --> F[Shared clipboard owner]
Technical reviewBest possible solution: Keep the existing setup and clipboard owners, and attach manual-copy recovery guidance to actual clipboard failure while preserving accurate setup-refresh diagnostics. Do we have a high-confidence way to reproduce the issue? Source tracing establishes that a failed clipboard write and failed legacy fallback return through handleCopyButton and cannot reach the new message in refresh(); no target code was executed. Is this the best way to solve the issue? Updating the existing catalogs and consumers is the smallest complete approach, but the clipboard guidance must be connected to its actual operation. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e5bd90ed866f. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource +9, Tests 0, Docs 0. Total +9 across 22 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:18 AM ET / 16:18 UTC. |
Use create-code guidance for refresh and manual-copy guidance only for clipboard failures. Co-authored-by: vyctorbrzezowski <[email protected]>
Use the shared F1 toast detail contract for the original diagnostics. Co-authored-by: vyctorbrzezowski <[email protected]>
Remove the duplicate terminal close-session title introduced by #192092 and use the boolean copy result directly after #192046. Preserve all displayed copy and behavior; no baseline or ignore changes. (cherry picked from commit 769180b) Co-authored-by: RomneyDa <[email protected]>
* fix: stop line-limit checks from blocking release branches Co-authored-by: RomneyDa <[email protected]> * fix: stop line-limit checks from blocking release branches Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 6b50db8b-7990-4791-a9e5-525ecac0a10d * docs: shorten release line-limit exemption note Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 7c3e25e2-c1a9-4809-962c-2d17afb9d853 * test: isolate release ratchet fixture from CI environment Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: b334093e-1ee3-4d15-bd92-3115c4aa1345 * fix(ui): restore static checks after copy updates Remove the duplicate terminal close-session title introduced by #192092 and use the boolean copy result directly after #192046. Preserve all displayed copy and behavior; no baseline or ignore changes. (cherry picked from commit 769180b) Co-authored-by: RomneyDa <[email protected]> * test(ui): preserve dialog exports in cloud stop fixture Preserve the real confirm-dialog exports while mocking the cloud-stop confirmation. Allocate exactly the three added fixture lines; inherited test-budget debt remains unchanged. Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 8ac634d9-92e5-4d53-ab98-9314d3ae47bf * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: de552342-bfcd-43ce-8fa7-077930f93ce3 * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 04f83cf8-9ec2-4976-89ec-9c42438ee4a0 * test(ui): match current localized copy in assertions Preserve independent expected values for copy-success feedback and the French private/future-results warning. Both failures reproduced on the prior head and pass with the corrected literals. Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 0e2a0a2c-cfdc-4ea9-8e25-7e8d84e36a34 * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: c210516c-7c29-4b20-b091-92c71b03cd6a --------- Co-authored-by: RomneyDa <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
improve(ui): clarify device connection and setup copy Co-authored-by: vyctorbrzezowski <[email protected]>
Remove the duplicate terminal close-session title introduced by openclaw#192092 and use the boolean copy result directly after openclaw#192046. Preserve all displayed copy and behavior; no baseline or ignore changes.
…192806) * fix: stop line-limit checks from blocking release branches Co-authored-by: RomneyDa <[email protected]> * fix: stop line-limit checks from blocking release branches Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 6b50db8b-7990-4791-a9e5-525ecac0a10d * docs: shorten release line-limit exemption note Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 7c3e25e2-c1a9-4809-962c-2d17afb9d853 * test: isolate release ratchet fixture from CI environment Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: b334093e-1ee3-4d15-bd92-3115c4aa1345 * fix(ui): restore static checks after copy updates Remove the duplicate terminal close-session title introduced by openclaw#192092 and use the boolean copy result directly after openclaw#192046. Preserve all displayed copy and behavior; no baseline or ignore changes. (cherry picked from commit 769180b) Co-authored-by: RomneyDa <[email protected]> * test(ui): preserve dialog exports in cloud stop fixture Preserve the real confirm-dialog exports while mocking the cloud-stop confirmation. Allocate exactly the three added fixture lines; inherited test-budget debt remains unchanged. Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 8ac634d9-92e5-4d53-ab98-9314d3ae47bf * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: de552342-bfcd-43ce-8fa7-077930f93ce3 * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 04f83cf8-9ec2-4976-89ec-9c42438ee4a0 * test(ui): match current localized copy in assertions Preserve independent expected values for copy-success feedback and the French private/future-results warning. Both failures reproduced on the prior head and pass with the corrected literals. Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 0e2a0a2c-cfdc-4ea9-8e25-7e8d84e36a34 * Publish openclaw/release-line-limit-exemption Worked on by: - @RomneyDa Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: c210516c-7c29-4b20-b091-92c71b03cd6a --------- Co-authored-by: RomneyDa <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>




What Problem This Solves
Device setup uses inconsistent “machine”, “node host”, and “pair” labels, exposes permission scope names, and gives unhelpful setup errors.
User Impact
People can find Connect a device, understand access choices, create replacement codes, and distinguish missing admin access from device-pairing access. Authorization and pairing behavior are unchanged.
Why This Change Was Made
Applies the approved Control UI glossary to connection and pairing setup and documentation quoting their labels.
Local fallback messages live in English locales. Connection errors separate summary and raw detail; clipboard errors explain manual copying. Android’s system label “Pair device with pairing code” stays unchanged.
Evidence
pnpm ui:i18n:baselineandpnpm ui:i18n:verifypass; no generated baseline change.pnpm tsgo:ui, andgit diff --checkpass. Net test-line growth: zero.3c43252c068c78b57e4024c057c1d3797a57acbd: JS 1,279,580 → 1,279,662 bytes gzip (+82 bytes), 20 requests; CSS 130,890 → 130,890 bytes gzip (+0), three requests. Budget passes.Gaps and follow-up
F1’s shared “Show details” contract is not on this base. Raw connection
props.error, pairing lifecycleresult.message, and clipboardformatUiError(error)remain visible in their existing surfaces; connection summary/detail are separate paragraphs. No private replacement error component was added. Native app UI, technical CLI terminology, historical release notes, and model-authored text fixtures are out of scope.Worked on by
Landing integration preserves the current browser-approval/admin distinction and device-binding copy, the shared dialog shell, and D1 device-capacity wording. The approved connection error remains separate summary/detail paragraphs. The three affected connection-dialog tests, i18n verification, formatting, and diff checks passed; broader existing proof was reused.