Repository navigation
improve(ui): clarify connection and sign-in recovery - #192246
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 317b716d-2274-4b2a-983a-91892ef128aa
|
🦞👀 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 clarifies English connection and sign-in recovery copy and names the destination in the Gateway-switch warning. Example: A link switches from current.example to replacement.example.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 3 items remain Keep this PR open: the approved copy improvements are useful, but unchanged test expectations cause CI failures and the renamed documentation section breaks an existing link. Priority: P3 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherThe Control UI renders Gateway connection state and recovery actions through shared English catalogs; the existing switch dialog receives the current and proposed Gateway URLs. flowchart LR
A[Gateway connection state] --> B[Control UI owners]
C[English catalogs] --> D[Connection and recovery views]
B --> D
E[Proposed Gateway URL] --> F[Existing switch dialog]
C --> F
Technical reviewBest possible solution: Keep the existing catalog and dialog owners, update all affected test expectations, and preserve the published documentation anchor. Do we have a high-confidence way to reproduce the issue? The old wording is visible in pinned main source, and exact-head CI annotations directly demonstrate the stale test expectations; no target code was executed during this review. Is this the best way to solve the issue? The presentation change uses the smallest existing implementation: edit the owning English catalogs and pass the destination through the existing host formatter, without new state or competing recovery 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 91d08c31d14c. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource -1, Tests +8, Docs +1. Total +8 across 15 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, 3:48 PM ET / 20:48 UTC. |
Preserve the approved copy pattern and behavior while correcting the referenced action or computer. Co-authored-by: vyctorbrzezowski <[email protected]>
improve(ui): clarify connection and sign-in recovery Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Connection recovery mixes “Offline,” technical authentication labels, and inconsistent Gateway/sign-in wording. Switching Gateways also warns about “that host” without naming the destination.
User Impact
Recovery uses “Disconnected,” clearer next steps, and consistent sign-in language. The switch warning names the destination. Forgetting a browser still clears its saved sign-in for one Gateway, signs this tab out, and preserves other Gateways, preferences, and device identity. No permissions, authentication policy, storage behavior, or retry timing changes.
Why This Change Was Made
Applies Vyctor Brzezowski’s approved Control UI glossary to the L2 connection area. English stays in its existing startup/lazy catalogs; technical token/password labels and diagnostic details remain available. The only presentation wiring change passes the destination host into the translated switch warning.
Also shortens the forget-browser explanation, uses contractions for unapplied changes, and gives session-list recovery errors “Couldn’t…” summaries while retaining raw details.
Evidence
Before
After
Gaps and unchanged scope
The dashboards stale-banner E2E file was updated for the shared copy but its standalone harness could not start: Vite reported
TypeError: code.charCodeAt is not a functionon both default and fork-worker attempts. No product assertion ran in those attempts. An intermediate connection-page run also hit worker startup/late-modal timing failures; the final fork-worker run passed all 26 cases.The shared F1 “Show details” contract is absent on this base. Per the task’s fallback, raw details remain: WebSocket codes in connection.interrupted/interruptedRetrying, redacted GatewayStatus lastError tooltips and existing Connection details, and {error} in connection.sessionMoveRefreshFailed, sessionMoveUncertain, and sessionOperationCompletedPreviousConnectionWithRefreshError. The last three now have clearer summaries. No competing details component or new status state was introduced. Existing CLI setup-code help remains unchanged.
No native app/plugin copy, foreign locales, translation memory, CI watching, or landing is included.
Worked on by
Landing repair updates only the failed copy assertions still present in the integrated tree. All 66 affected unit cases, three sidebar recovery cases, and the diagnostics browser case passed. The already-correct session-controls test is unchanged, and the unrelated toast geometry failure remains with its owner. Formatting and whitespace checks passed; the original connection and sign-in proof is reused. The merge with current main is clean. A six-line allocation covers the actual integrated test growth.