Skip to content

improve(ui): clarify Systems devices and backup access - #192070

Merged
roboclaw-bot merged 6 commits into
mainfrom
openclaw/copy-d6
Nov 3, 2026
Merged

roboclaw-bot merged 6 commits into
mainfrom
openclaw/copy-d6

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Systems used “machine,” “host,” “worker,” and “node” for the same inventory, and its desktop hint mixed missing service with missing access. This applies the approved device glossary, labels cloud devices only when provider metadata establishes their origin, and gives backup readers a plain access requirement.

User impact: clearer device selection, desktop setup and backup status without exposing internal role or execution terminology. No protocol, configuration, permission, or translation-memory changes.

Before After
Machines / Find a machine… Devices / Find a device…
Choose a host, worker, or paired node… Choose a device…
Gateway host / Paired node This computer / Paired device
Worker (all non-node entries) Cloud device · {profile}, or Device without cloud metadata
Filter & sort machines Filter & sort devices
A Gateway administrator can enable desktop access. Only admins can enable desktop access. Ask an admin for access.
Operator read access is required to view backups. You need read access to view backups.
No backups recorded — No backups yet.
Some machine information could not be refreshed. Couldn’t refresh some device information. Try again.

Evidence

  • Systems page and data tests: 32 passed. Four new classification/permission cases fail against pinned main production; all five pass on this change.
  • Systems mocked-Gateway browser suite: 29 passed (28 existing scenarios plus temporary screenshot capture, removed before commit). Inventory, desktop setup, phone layout and backup views exercised.
  • Desktop host setup, new-session composer and embedded-panel sibling suites: 75 passed. The shared Desktop consumer assertion is updated to match the approved sentence.
  • UI TypeScript check, touched-file oxlint/oxfmt, i18n verification and git diff check passed. Regenerated i18n baseline: no tracked change.
  • Boot budget versus 34ef277: chat JS gzip 1,279,535 → 1,279,520 B (−15 B), 20 requests unchanged; chat CSS 130,890 B unchanged. New-session JS 794,661 → 794,646 B (−15 B). Startup JS 90,544 → 90,552 B (+8 B), within budget.
  • Simplification pass complete. Local autoreview of the production change through P2: scoped-clean. Hosted review resolution: shared assertion fixed; P3 search wording suggestion declined to preserve the explicitly approved glossary.
  • Added 38 net test lines with a 38-line allocation.

Before

Before: machine search and Workers group

After

After: device search and Devices group

Synthetic mocked Control UI data, inspected light-theme crops. User-provided names remain verbatim; the generic worker without cloud metadata is deliberately grouped under Devices.

Gaps and retained wording

  • Shared F1 collapsed error-details contract is not on the pinned base. Existing raw RPC error rendering is retained in inventory/backup error blocks and storage probe details; en-systems has no raw {error}/{reason}/{message} interpolation.
  • Backup “OK” remains a status, not an action. “Next run” describes a backup schedule (not an agent cycle). User-provided device names and identifiers remain verbatim.
  • No live Gateway or native app changes; proof uses the approved mocked Control UI harness.
  • Prior-head CI found five Channels save-test failures. All five reproduce with unchanged pinned-main production too; evidence. Final-head CI is tracked separately; no prior-head failure is represented as passing.

Worked on by

roboclaw-bot and others added 2 commits November 3, 2026 16:21
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: f9e4f7a8-e65e-47db-a5f8-563bd7e832f8
@clawsweeper

clawsweeper Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@roboclaw-bot

roboclaw-bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator Author

Systems glossary — visual proof

Synthetic mocked Control UI data, light theme, cropped inventory. User-provided names remain verbatim; the generic worker without cloud-provisioning metadata is deliberately grouped under Devices rather than Cloud devices.

Before

Before: machine search and Workers group

After

After: device search and Devices group

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: M labels Nov 3, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review November 3, 2026 16:25
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Nov 3, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

CI follow-up

The exact-head UI shard 2 failure is isolated to five existing channels-page.save.test.ts assertions (Saved/Unsaved changes versus Running/Not configured). I reproduced all five locally both on this PR and with all D6 production changes replaced by pinned base 34ef277463e4e545631f155e0064c26c8a3f692b; failure messages match. No Channels files are changed here. This is a pre-existing Channels test failure, not claimed as a flake or silently waived.

D6 regression proof: four new classification/permission cases fail against base production; all five pass with this change. The full Systems unit set passes (32), as does the mocked Systems browser set (29 including the temporary capture scenario).

@clawsweeper

clawsweeper Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR standardizes Systems device terminology, distinguishes cloud devices using metadata, and clarifies desktop and backup access messages.

Example: A worker named Cloud worker has no provisioning metadata.

  • Before: It appears under Workers beside Find a machine….
  • After: It appears under Devices beside Find a device….

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful and visually supported, with a concrete shared-consumer test failure and a small empty-state regression to repair.
Proof confidence 🐚 platinum hermit (4/6) The ordinary contributor proof gate does not apply to this collaborator-authored PR; inspected browser screenshots directly demonstrate the inventory terminology change using synthetic data.
Patch quality 🦐 gold shrimp (3/6) 2 actionable review findings remain.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Systems mixes machine, host, worker, and node terminology and combines service availability with access requirements.
Reason: The maintainer-authored direction supports a small, coherent terminology improvement using existing presentation and permission owners.

Merge readiness

⛔ Needs changes before merge - 2 items remain

Keep this maintainer-authored PR open: the glossary improvement is useful, but a shared Desktop test needs updating and the empty-filter message loses necessary context.

Priority: P3
Reviewed head: 1d5255816c910c0e7b1376fd2239d6a555929d6a

Before merge

  • Update the Desktop panel consumer test for the shared copy (P2) - This translation is also consumed by desktop-panel-view.tsx. When a desktop is ready but the connection cannot patch configuration, desktop-panel-host-setup.test.ts:151 still expects the former administrator sentence. Exact-head checks-ui (1/3) fails on that assertion. Update the existing consumer assertion to the approved wording and rerun the Desktop setup suite.
  • Keep the empty-result message accurate for status filters (P3) - With an empty search, an inventory containing only online devices, and Offline selected, the sidebar still chooses systems.noMatches because the status filter is active. The new message says that no devices match the search even though no search exists, hiding the actual reason for the empty list. Retain search-and-filter wording and direct the user to clear the search or choose All.

Findings

  • [P2] Update the Desktop panel consumer test for the shared copy — ui/src/i18n/locales/en-systems.ts:45
  • [P3] Keep the empty-result message accurate for status filters — ui/src/i18n/locales/en-systems.ts:20

Tests

  • Missing end-to-end proof: The supplied browser captures cover inventory wording, while cloud-profile and revised desktop/backup access states have test claims without corresponding captures or demonstrated base-red runs.
Agent review details

How this fits together

The Systems route combines Gateway inventory, device metadata, session bindings, and access facts into a device sidebar, desktop workspace, and backup summaries.

flowchart LR
  Gateway[Gateway inventory] --> Owner[Systems owner]
  Access[Existing access checks] --> Owner
  Owner --> Sidebar[Device sidebar]
  Owner --> Workspace[Desktop workspace]
  Owner --> Backups[Backup summaries]
Loading

Technical review

Best possible solution:

Retain the glossary change, update the shared Desktop test, and restore filter-aware empty-state guidance within the existing translation owner.

Do we have a high-confidence way to reproduce the issue?

Source establishes the filter-only message regression, and exact-head GitHub annotations establish the stale shared Desktop assertion; no target code was executed during review.

Is this the best way to solve the issue?

The existing classification and access owners are sufficient, and the focused tests exercise distinct metadata and permission cases without introducing parallel state or unnecessary machinery.

Full review comments:

  • [P2] Update the Desktop panel consumer test for the shared copy — ui/src/i18n/locales/en-systems.ts:45
    This translation is also consumed by desktop-panel-view.tsx. When a desktop is ready but the connection cannot patch configuration, desktop-panel-host-setup.test.ts:151 still expects the former administrator sentence. Exact-head checks-ui (1/3) fails on that assertion. Update the existing consumer assertion to the approved wording and rerun the Desktop setup suite.
    Confidence: 1
  • [P3] Keep the empty-result message accurate for status filters — ui/src/i18n/locales/en-systems.ts:20
    With an empty search, an inventory containing only online devices, and Offline selected, the sidebar still chooses systems.noMatches because the status filter is active. The new message says that no devices match the search even though no search exists, hiding the actual reason for the empty list. Retain search-and-filter wording and direct the user to clear the search or choose All.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against ed57ed752e35.

Provenance checked

  • Systems terminology and device classification changes intended behavior with a stated reason (0a45707: The original workspace presented Gateway, worker, and paired-node inventory while reusing existing desktop capabilities and permissions.)
  • Search and status-filter empty state keeps the original intent (04fb92b: Search combines with persistent status filters without changing the selected device; the previous message explicitly covered both causes of an empty result.)
  • Solid rendering and Systems state ownership keeps the original intent (788c2ae: The route-cached plain owner retains selection and presentation choices while mounted views observe and render its facts.)
  • Desktop setup guidance keeps the original intent (691da4f: Systems offers desktop setup through existing configuration and permission owners while distinguishing setup and connection failures.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm --dir ui test src/pages/systems/systems-page.test.ts src/components/desktop/desktop-panel-host-setup.test.ts
  • pnpm ui:i18n:verify
  • git diff --check
  • Verify in the browser that Offline with an empty search explains the filter and choosing All restores online devices.

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit b44ebe2 adds ui/src/pages/systems/systems-state.ts:33 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: b44ebe2f1846; files: ui/src/pages/systems/systems-state.ts)
  • Vyctor H. Brzezowski: Raw commit 6a9965a adds ui/src/pages/systems/systems-state.ts:34 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 6a9965ad7731; files: ui/src/pages/systems/systems-state.ts)
  • RoboClaw: Raw commit 0a45707 adds ui/src/i18n/locales/en-systems.ts:6 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 0a45707dda5b; files: ui/src/i18n/locales/en-systems.ts)

PR surface

Source +29, Tests +36, Docs 0, Other +2. Total +67 across 9 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 5 83 54 +29
Tests 2 54 18 +36
Docs 1 12 12 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 9 151 84 +67

Labels

Label changes:

  • add P3: This is a terminology and diagnostic-copy improvement with limited user impact; the CI repair does not indicate a runtime outage.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P3: This is a terminology and diagnostic-copy improvement with limited user impact; the CI repair does not indicate a runtime outage.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 3, 2026, 11:43 AM ET / 16:43 UTC.

roboclaw-bot and others added 2 commits November 3, 2026 16:45
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: f9e4f7a8-e65e-47db-a5f8-563bd7e832f8
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 9a9013f7-ed3a-45db-b0d1-0cd43f6023b9
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Review follow-up

  • The shared Desktop assertion is fixed on 68158001a712f10cbd25c05d559387a9e1201f2d. Desktop setup plus the two other files from UI shard 1 passed locally (75 tests); the only change is the expected approved sentence.
  • Retaining “No devices match your search.” intentionally: this exact wording is part of the maintainer-approved D6 glossary, including removal of “or filters.” The existing visible filter control and All option remain available. Restoring the rejected sentence or adding new guidance would override the requested copy, so the P3 preference is declined.
  • Base-red evidence was subsequently exercised: four of the five new classification/permission cases fail with pinned main production files, all five pass on the fix.
  • Five Channels save failures reproduced unchanged on pinned main and this PR; evidence is in the prior CI follow-up. They are not caused by these Systems changes.

roboclaw-bot and others added 2 commits November 3, 2026 16:48
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 35d0a1b7-ce25-4927-ba9d-af5c2e6b16d1
@roboclaw-bot
roboclaw-bot merged commit 9ce5ba1 into main Nov 3, 2026
93 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/copy-d6 branch November 3, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui clawsweeper:intake:feature Preliminary submission classification; full source review pending. docs Improvements or additions to documentation size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant