Skip to content

improve(ui): clarify desktop and terminal copy - #192092

Merged
vyctorbrzezowski merged 6 commits into
mainfrom
openclaw/copy-d5
Nov 4, 2026
Merged

vyctorbrzezowski merged 6 commits into
mainfrom
openclaw/copy-d5

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Desktop setup, terminal recovery, and background-process messages use inconsistent names for devices and sessions, and several failures do not explain what to do next.

User Impact

Desktop setup distinguishes this computer from paired devices. Terminal and process messages use clearer recovery steps, and closing a terminal has a question title with a separate consequence.

Why This Change Was Made

Apply the approved Control UI glossary to the desktop, terminal, and process surfaces without changing connection, keyboard, output, upload, or control-handoff behavior.

Before After
This machine This computer
Starting your machine… Starting your device…
Another operator took control Someone else took control
Could not connect Couldn’t connect to the desktop. Try again.
Back to Processes Back to processes
No background processes in this conversation. No background processes in this session yet.
No live terminal sessions No terminal sessions yet.
Could not attach terminal session Couldn’t connect to this terminal session. Try again.
Close terminal session + combined question/consequence Close this terminal session? + Its running process will end.

English remains in the owning catalogs. Terminal transport failures register the lazy terminal catalog at their owner, so direct connection users receive translated errors without increasing startup English. Existing host-source checks still decide when to show “This computer”; paired and cloud source identities are preserved. The person-label placeholder in desktop.controlTakenBy is intentionally unchanged.

Evidence

  • Focused desktop, terminal, and process tests: 31 files, 344 tests passed. The broader pass including Systems also passed 33 files, 371 tests before the final isolated title/status wording adjustments.
  • Desktop and terminal-runtime browser tests: 2 files, 23 tests passed, including host/paired credentials, source selection, control handoff, and terminal interaction. Terminal-page and upload browser tests: 2 files, 4 tests passed. Process-panel and requester-routing browser scenarios passed in the broader targeted run.
  • CI identified a missed fullscreen error assertion. The fullscreen and embedded-terminal browser suites now pass 8 tests; terminal connection tests pass 19 tests after the lazy-catalog repair.
  • pnpm ui:i18n:baseline and pnpm ui:i18n:verify passed; no baseline delta was generated.
  • Touched-file oxfmt/oxlint, pnpm tsgo:ui, and git diff --check passed.
  • Boot comparison passed against upstream 868609a3f6cb9d736d89b577b57ebedb899d5d4f: startup JS gzip 90,747 → 90,555 B (-192 B); requests 3 → 3; startup CSS gzip 36,009 → 35,997 B (-12 B). Total CSS gzip 320,747 → 320,664 B (-83 B), an improvement over the upstream over-ceiling baseline.
  • Simplification review: no new state, wrappers, or duplicated copy owners. Independent review found no actionable issues in the scoped change.

Earlier proof gaps

  • Fresh screenshot capture and upload are waived for this landing batch.
  • The shared F1 error-details contract is not on this checkout’s base. Raw details remain inline for desktop.errors.listFailed, desktop.errors.fullscreenFailed, desktop.errors.securityFailed, and desktop.disconnectedReason; existing terminal/server error details are likewise preserved. The summaries were improved without inventing a competing details component.
  • Broader cloud-device naming/stop-action work is outside this focused copy patch. Native apps and foreign locales are unchanged.
  • Earlier hosted review and CI state are historical; current landing validation is recorded below.

Worked on by

Landing integration preserves the current desktop access-policy guidance and D3 stop behavior, while retaining the broader input-delivery wording and check-before-retry warning. The 25 focused desktop-setup/terminal-connection tests, i18n verification, formatting, and diff checks passed. Broader prior proof was reused; test-line growth is negative.

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

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: f2295c7f-6866-4911-889b-f64d4b122454
@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 marked this pull request as ready for review November 3, 2026 16:39
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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. 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 desktop, terminal, device, and process messages while sharing terminal recovery text through the existing English catalogs.

Example: A user closes a running terminal session on mobile.

  • Before: The dialog title says “Close terminal session” and its message combines the question and consequence.
  • After: The title asks “Close this terminal session?” and the message says “Its running process will end.”

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) Useful, narrowly scoped production changes, but missed consumer assertions break validation and required visual evidence is absent.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🦐 gold shrimp (3/6) 3 actionable review findings remain.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Desktop setup and terminal recovery use inconsistent terminology, and several messages lack a clear next action.
Reason: The maintainer-authored PR establishes direction, and the focused wording changes improve recovery without adding configuration or changing connection policy.

Merge readiness

⛔ Needs changes before merge - 3 items remain

Keep this PR open: the maintainer-approved copy improvements are useful, but three unchanged consumer tests still expect replaced wording.

Priority: P3
Reviewed head: a7fb2381a7a73bf5a712afbb06056f46ff9a4afc

Before merge

  • Update the Devices hint assertion with its catalog text (P2) - Changing “pending desktop capability request” to “pending desktop access request” leaves view.devices.test.ts:410 expecting the removed sentence. Exact-head checks-ui (2/3) fails on this assertion. Update that existing consumer test while retaining its checks that command advertisement alone does not imply Desktop availability.
  • Update the fullscreen rejection browser assertion (P2) - The denied-fullscreen scenario still waits for “Could not change fullscreen mode: Fullscreen permission denied” at desktop-panel-fullscreen.e2e.test.ts:320. This catalog now emits “Couldn’t change fullscreen mode. Try again. Fullscreen permission denied”, so the locator times out in exact-head checks-ui-e2e (1/2). Update the expected message and preserve the permission-denial detail assertion.
  • Update the focused-terminal unavailable locator (P2) - The “returns from an unavailable focused terminal” scenario in terminal-embedded.e2e.test.ts:27 still waits for the exact old sentence. The focused view in app-root.tsx uses terminal.unavailable, which now renders “The terminal is unavailable.”, so the test cannot reach its Back-navigation assertions. Update this sibling consumer alongside terminal-page.e2e.test.ts.

Findings

  • [P2] Update the Devices hint assertion with its catalog text — ui/src/i18n/locales/en-devices.ts:53
  • [P2] Update the fullscreen rejection browser assertion — ui/src/i18n/locales/en-desktop.ts:118
  • [P2] Update the focused-terminal unavailable locator — ui/src/i18n/locales/en.ts:971

Tests

  • Missing end-to-end proof: Publish inspected, sanitized before/after screenshots showing the changed desktop and terminal copy, including the mobile close confirmation.
Agent review details

How this fits together

Control UI catalogs supply messages to desktop and terminal connection owners and their browser views; Gateway responses and user actions determine which messages appear.

flowchart LR
  A[User actions] --> B[Control UI views]
  C[English catalogs] --> B
  C --> D[Connection owners]
  B --> D
  D --> E[Gateway RPC]
  E --> D
  D --> B
Loading

Technical review

Best possible solution:

Keep the existing catalog and connection owners, and complete the copy cutover in the three missed consumer tests.

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

Two missed wording updates have exact-head CI failure traces, and the focused-terminal mismatch follows directly from its locator and production translation key; no target code was run.

Is this the best way to solve the issue?

The production changes use existing owners and preserve connection behavior; simplification steps 1–3 found no unnecessary machinery or added test scaffolding.

Full review comments:

  • [P2] Update the Devices hint assertion with its catalog text — ui/src/i18n/locales/en-devices.ts:53
    Changing “pending desktop capability request” to “pending desktop access request” leaves view.devices.test.ts:410 expecting the removed sentence. Exact-head checks-ui (2/3) fails on this assertion. Update that existing consumer test while retaining its checks that command advertisement alone does not imply Desktop availability.
    Confidence: 1
  • [P2] Update the fullscreen rejection browser assertion — ui/src/i18n/locales/en-desktop.ts:118
    The denied-fullscreen scenario still waits for “Could not change fullscreen mode: Fullscreen permission denied” at desktop-panel-fullscreen.e2e.test.ts:320. This catalog now emits “Couldn’t change fullscreen mode. Try again. Fullscreen permission denied”, so the locator times out in exact-head checks-ui-e2e (1/2). Update the expected message and preserve the permission-denial detail assertion.
    Confidence: 1
  • [P2] Update the focused-terminal unavailable locator — ui/src/i18n/locales/en.ts:971
    The “returns from an unavailable focused terminal” scenario in terminal-embedded.e2e.test.ts:27 still waits for the exact old sentence. The focused view in app-root.tsx uses terminal.unavailable, which now renders “The terminal is unavailable.”, so the test cannot reach its Back-navigation assertions. Update this sibling consumer alongside terminal-page.e2e.test.ts.
    Confidence: 0.99

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 70e1057bbfa8.

Provenance checked

  • Desktop host setup wording changes intended behavior with a stated reason (6f20702: The setup repair distinguished the Gateway computer from the browser device and reused the Systems setup owner.)
  • Desktop connection and control messages keeps the original intent (b285d46: The desktop presentation work added clear connection, recovery, and control states while retaining native connection ownership.)
  • Terminal recovery failures keeps the original intent (2d7d89f: Reconnect handling preserves sessions and exposes unsent or unconfirmed input rather than treating transport failures as success.)
  • Eager and lazy terminal catalogs keeps the original intent (721d124: Optional terminal copy was extracted into a lazy catalog while shared launch labels remained eager.)
  • Device desktop setup hint keeps the original intent (6fd8e54: Devices guidance explains desktop sharing prerequisites and pending access approval.)
  • Process panel messages keeps the original intent (e25a981: The process panel distinguishes session-scoped process history, temporary output, and explicit unavailable states.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

Acceptance criteria:

  • pnpm --dir ui test src/pages/devices/view.devices.test.ts
  • pnpm test:ui:e2e ui/src/e2e/desktop-panel-fullscreen.e2e.test.ts ui/src/e2e/terminal-embedded.e2e.test.ts
  • pnpm ui:i18n:verify
  • git diff --check

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 2d7d89f adds ui/src/components/terminal/terminal-connection.ts:526 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 2d7d89fce202; files: ui/src/components/terminal/terminal-connection.ts)
  • Vyctor H. Brzezowski: Raw commit b285d46 adds ui/src/i18n/locales/en-desktop.ts:56 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: b285d46c19b1; files: ui/src/i18n/locales/en-desktop.ts)

PR surface

Source +6, Tests 0. Total +6 across 27 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 11 57 51 +6
Tests 16 43 43 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 27 100 94 +6

Labels

Label changes:

  • add P3: This is focused user-facing copy polish with no established runtime regression.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab 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 focused user-facing copy polish with no established runtime regression.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • 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, 11:57 AM ET / 16:57 UTC.

Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 1264aa08-c6af-44e3-9413-8a6d643b41ad
@vyctorbrzezowski
vyctorbrzezowski merged commit a6a1d9c into main Nov 4, 2026
28 of 29 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/copy-d5 branch November 4, 2026 13:37
tideclaw-bot pushed a commit that referenced this pull request Nov 4, 2026
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]>
steipete added a commit that referenced this pull request Nov 4, 2026
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.
RomneyDa added a commit that referenced this pull request Nov 5, 2026
* 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]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 5, 2026
improve(ui): clarify desktop and terminal copy

Co-authored-by: vyctorbrzezowski <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 5, 2026
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.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 5, 2026
…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]>
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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: S 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