Skip to content

improve(ui): clarify updates and native device settings - #192295

Merged
vyctorbrzezowski merged 4 commits into
mainfrom
openclaw/copy-st8-b
Nov 4, 2026
Merged

vyctorbrzezowski merged 4 commits into
mainfrom
openclaw/copy-st8-b

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

Summary

Clarify English copy in Updates and embedded native-device settings without changing update authority, admission, recovery, or native-setting behavior.

  • Use question titles for update/report confirmations while keeping action labels explicit.
  • Use admin, device, sentence case, and actionable error summaries consistently.
  • Keep unknown update outcomes inspection-first; do not suggest an unsafe retry.
  • Route error-status summaries through the existing update-error translation. Skipped statuses and recorded-cause handling remain unchanged.
  • Align tests and documentation that quote the changed labels.
Before After
Update Gateway (dialog title) Update and restart?
Update Mac app + Gateway (dialog title) Update Mac app and restart?
Could not fetch the tracked upstream Couldn’t check the update source. Try again.
administrator access admin access
on the Gateway host on this computer
Allow Camera / Voice Wake Allow camera / Voice wake
Report update failure / Continue (dialog) Report this update failure? / Report failure

No protocol keys, foreign locales, translation memory, model prompts, or native app source changed.

Existing local evidence

  • 211 update unit tests across 21 files passed.
  • 79 native UI unit tests across 3 files passed.
  • 44 mocked update E2E scenarios across 7 files passed, including targeted reruns after stale copy assertions were updated.
  • i18n baseline and verification, touched-file formatting/lint, and diff checks passed. The raw-copy baseline has no generated delta.
  • Fresh read-only review reported no substantive findings.

Gaps

No tests, browser sessions, or screenshot runs were started for this publication retry. Existing results are reused. Full CI, a live updater/Gateway restart, and installed macOS/iOS app behavior remain unverified.

Raw diagnostic placeholders remain in updates.error, updates.checkError, updates.status, updates.failedAtStep, configPage.deviceTalk.triggerWordsError, and configPage.deviceTalk.triggerWordsLoadError rather than adding a competing disclosure component. CI and landing are left to the maintainer.

Worked on by

Landing integration keeps update recovery directed to the computer running OpenClaw for both remote and native flows. It preserves refreshUnreachable/refreshBlocked and the Report update failure action. Stale status and native-control expectations were aligned; all 137 affected unit cases passed across scoped runs. I18n baseline/verification, scoped lint, formatting, and whitespace checks passed. Existing native/browser proof is reused without another integrated tour. A two-line allocation covers the actual test growth, leaving the inherited 176-line overage unchanged. The final merge with current main is clean.

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

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: dde36e1e-b2a3-4a66-8aab-cc66e1ee597f
@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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: S labels Nov 3, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 3, 2026
@clawsweeper

clawsweeper Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR clarifies English update confirmations, failure messages, and native device settings labels.

Example: An admin opens the Gateway update confirmation.

  • Before: The dialog title says “Update Gateway”.
  • After: The dialog title says “Update and restart?”.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The direction is useful and the implementation is small, but recovery wording is incorrect, consumer tests fail, and visual behavior proof is absent.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🦪 silver shellfish (2/6) 2 actionable review findings remain.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Update confirmations and native settings use inconsistent capitalization, technical terminology, and vague action labels.
Reason: Maintainer authorship supplies direction for the wording improvements, which fit the existing UI surfaces without new settings or architecture.

Merge readiness

⛔ Needs changes before merge - 3 items remain

Keep this PR open: the copy improvements have approved direction, but remote recovery guidance targets the wrong computer and several consumer tests fail because their labels were not updated.

Priority: P2
Reviewed head: 6f95574d97858368530a009f3865c4cbe443493e

Before merge

  • Preserve the Gateway host as the recovery command target (P2) - When a laptop browser manages a Gateway on another machine, this shared message now tells the user to run openclaw triage “on this computer”. Triage diagnoses the installation where it runs, so following the instruction inspects the laptop instead of the failed Gateway. These messages are not restricted to local Gateways. Restore “on the computer running the Gateway” across this catalog and the corresponding disconnected, restarting, and unanswered-request messages in en-update-actions.ts.
  • Update all consumer expectations for the changed labels (P2) - The catalog changes leave existing consumers asserting the previous text. Exact-head CI reports failures in sidebar-update-card.test.tsx and custodian-alert-card.test.ts for the admin/refresh labels, device-pages.test.ts for loading and device row names, and talk.test.ts for Voice wake and trigger-word errors. Update those expectations while preserving their authority, loading, and recovery assertions; the current patch leaves the UI checks failing.
  • Explain or restore the original intent of Gateway-host recovery guidance - eb270a1: feat(update): enter built-in triage after failures #134865 deliberately preserves host-side recovery when browser diagnosis is unavailable.

Findings

  • [P2] Preserve the Gateway host as the recovery command target — ui/src/i18n/locales/en.ts:624-626
  • [P2] Update all consumer expectations for the changed labels — ui/src/i18n/locales/en-update-actions.ts:8-9

Provenance

Tests

  • Missing end-to-end proof: Supply sanitized before/after browser screenshots of the changed update and device-settings surfaces; no shipped-entry-point capture or red-before/green-after regression result is supplied.
Agent review details

How this fits together

The Control UI renders Gateway update status and native device settings using shared English catalogs, while existing Gateway and native bridge owners retain execution authority.

flowchart TD
  A[Gateway update status] --> C[Update presentation owner]
  B[English catalogs] --> C
  C --> D[Update dialog and settings]
  B --> E[Native device settings]
  F[Native device bridge] --> E
Loading

Technical review

Best possible solution:

Keep the copy changes within existing presentation owners, preserve Gateway-host recovery instructions, and update affected consumer tests without adding new machinery.

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

The remote recovery defect is source-reproducible through unconditional shared messages, and exact-head CI annotations independently establish stale consumer expectations; no target code was executed.

Is this the best way to solve the issue?

Using existing English catalogs and presentation helpers is appropriately small, but replacing the Gateway-host distinction with browser-relative wording changes the recovery target.

Full review comments:

  • [P2] Preserve the Gateway host as the recovery command target — ui/src/i18n/locales/en.ts:624-626
    When a laptop browser manages a Gateway on another machine, this shared message now tells the user to run openclaw triage “on this computer”. Triage diagnoses the installation where it runs, so following the instruction inspects the laptop instead of the failed Gateway. These messages are not restricted to local Gateways. Restore “on the computer running the Gateway” across this catalog and the corresponding disconnected, restarting, and unanswered-request messages in en-update-actions.ts.
    Confidence: 0.99
  • [P2] Update all consumer expectations for the changed labels — ui/src/i18n/locales/en-update-actions.ts:8-9
    The catalog changes leave existing consumers asserting the previous text. Exact-head CI reports failures in sidebar-update-card.test.tsx and custodian-alert-card.test.ts for the admin/refresh labels, device-pages.test.ts for loading and device row names, and talk.test.ts for Voice wake and trigger-word errors. Update those expectations while preserving their authority, loading, and recovery assertions; the current patch leaves the UI checks failing.
    Confidence: 1

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

Acceptance criteria:

  • pnpm --dir ui test src/components/sidebar-update-card.test.tsx src/pages/custodian/custodian-alert-card.test.ts src/pages/device/device-pages.test.ts src/pages/config/talk.test.ts
  • pnpm --dir ui test src/app/update-confirmation.runtime.test.ts src/app/update-overlay-helpers.test.ts src/app/overlays-update-race.test.ts src/pages/config/updates.test.ts src/pages/config/talk-device.test.tsx
  • pnpm ui:i18n:verify
  • pnpm check:test-lines-ratchet
  • git diff --check

What I checked:

Likely related people:

  • Vincent Koc: Raw commit 1c3468f adds ui/src/app/update-confirmation.runtime.ts:149 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 1c3468fd05fb; files: ui/src/app/update-confirmation.runtime.ts)

PR surface

Source +5, Tests +2, Docs +1. Total +8 across 16 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 5 60 55 +5
Tests 10 43 41 +2
Docs 1 6 5 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 16 109 101 +8

Labels

Label changes:

  • add P2: The patch has limited scope, but its recovery wording can send remote-Gateway users to the wrong installation.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: The patch has limited scope, but its recovery wording can send remote-Gateway users to the wrong installation.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

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, 5:01 PM ET / 22:01 UTC.

Preserve the approved copy pattern and behavior while correcting the referenced action or computer.

Co-authored-by: vyctorbrzezowski <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot closed this Nov 4, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Nov 4, 2026
@openclaw-barnacle openclaw-barnacle Bot closed this Nov 4, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Nov 4, 2026
@vyctorbrzezowski
vyctorbrzezowski merged commit 3678400 into main Nov 4, 2026
26 of 28 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/copy-st8-b branch November 4, 2026 14:53
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 5, 2026
)

improve(ui): clarify updates and native device settings

Co-authored-by: vyctorbrzezowski <[email protected]>
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 docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: M status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants