Repository navigation
improve(ui): clarify devices and command approval copy - #192059
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 23fd1e9f-00bd-4bcc-ab9a-a8c80cc75ed0
|
🦞👀 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 simplifies Devices and command-approval terminology, collapses technical details, and distinguishes browser approval from role restrictions. Example: An administrator opens Devices to select the Gateway command policy.
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 one missed test consumer causes a confirmed CI failure. Priority: P3 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Devices page projects Gateway inventory, permission facts, and command policies into controls; existing operation owners continue to authorize and perform mutations. flowchart TD
Gateway[Gateway inventory and auth] --> Page[Devices page projection]
Catalog[English copy catalog] --> View[Devices views]
Page --> View
View --> Controls[Inventory and policy controls]
Controls --> Owners[Existing operation owners]
Owners --> Gateway
Technical reviewBest possible solution: Retain the existing presentation owners and update the remaining binding lifecycle selectors and option labels to complete the copy change. Do we have a high-confidence way to reproduce the issue? The missed selector is directly visible in source and independently confirmed by current-head browser CI; no target code or tests were run during this review. Is this the best way to solve the issue? The implementation uses the existing locale catalog, permission facts, and disclosure components without adding competing state or authorization logic. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 2413b2576acb. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +29, Tests +15, Docs 0, Other +3. Total +47 across 19 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:37 AM ET / 16:37 UTC. |
Co-authored-by: vyctorbrzezowski <[email protected]>
Integrate the pinned base for the diagnosed UI performance gate. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 960b9106-1c7b-404c-aa4e-e17e663db1f6
What Problem This Solves
The Devices page mixes “node,” “host,” and “device,” exposes command configuration in everyday copy, and describes read-only access using internal permission names.
User Impact
Devices and command approvals use consistent, shorter labels. Read-only guidance distinguishes an explicitly admin-capable browser that still needs approval from an admin-access requirement. Token identities and revoked status remain visible; technical roles, scopes, and command names are under collapsed “Show details.” No authorization or command policy changes.
Why This Change Was Made
The quoted Control UI path in the command-approvals docs follows the same vocabulary. Pairing flow, native apps, protocol/config keys, and foreign locales are unchanged.
Evidence
7ffa753ab25d0ad50b6dcecf0ffa47e0a319503a: CI gate. UI shards 1/3–3/3, browser E2E, i18n, performance, and baseline ratchets passed.fd6d006…; all missed heading, combobox, option, and empty-state assertions are now updated and the four lifecycle browser tests pass.Before — original pinned main, synthetic data, light theme
After — synthetic data, light theme
Deliberate limits
Worked on by