Repository navigation
improve(ui): standardize disconnected state copy - #192204
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 0f8cb7e3-478d-4324-afbd-588f3ddb4cc1
|
🦞👀 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 standardizes English disconnected-state labels and reconnect instructions across the Control UI. Example: Activity opens while disconnected with no retained active sessions.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 3 items remain Keep this maintainer-authored copy improvement open; two missed test expectations and an unrelated terminology reversal need correction. Priority: P3 Before merge
Findings
Provenance
Agent review detailsHow this fits togetherControl UI components translate Gateway connection state into labels and blocked-action instructions through existing English catalogs. flowchart LR
A[Gateway connection state] --> B[Existing UI owners]
B --> C[Translation keys]
D[English catalogs] --> C
C --> E[Status labels and action hints]
Technical reviewBest possible solution: Keep the catalog-only change, preserve the approved composer terminology, and update both remaining consumer assertions. Do we have a high-confidence way to reproduce the issue? The copy differences are directly visible in the supplied screenshots, and exact-head CI independently demonstrates the missed context assertion; no target code was executed during review. Is this the best way to solve the issue? Editing the existing catalogs is the smallest complete approach, with no new state, wrappers, or translation owner needed. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c72adfb93f0e. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource -1, Tests -2. Total -3 across 31 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, 2:45 PM ET / 19:45 UTC. |
improve(ui): standardize disconnected state copy Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Disconnected pages use a mixture of “Offline,” “Not connected,” and instructions to connect to the Gateway. Some prompts name infrastructure instead of the action that is blocked.
User Impact
People see Disconnected for connection status and Reconnect to… for the action they can resume. No behavior, permissions, routes, or configuration changes.
Why This Change Was Made
Apply the approved Control UI glossary to the remaining disconnected-state strings across the scoped Activity, agent creation, approvals, chat, search, attachment, MCP, memory import, plugin, process, Skill, and transcript surfaces. Keep shared Skill controls action-neutral, keep the existing terminal reconnect prompt, and distinguish reconnecting to view changes from reconnecting to view files.
Representative copy changes:
Already-landed search, context, error, and file-browser terminology is retained. No foreign locales or translation memory changed. No docs quote the retired scoped instructions. No raw-error interpolations were changed; the shared error-details contract is not needed for this patch.
Evidence
Before
After
Gaps: copy-only mocked proof, not a live Gateway/network outage exercise. An initial browser run was interrupted by the tool restart; a broader local Bun rerun exited 143 before assertions. The additional six-suite plugin/Skill/question batch was blocked before tests ran: the Vitest threads worker timed out during startup. These are setup gaps, not assertion failures. Final focused Node and browser reruns provide the results above. Native apps, plugin-owned copy, unrelated errors, and permission wording remain outside this PR. CI and landing are intentionally left to the parent maintainer workflow.
Worked on by
Landing integration retains the newer catalog wording and F1 error behavior while preserving neutral reconnect guidance shared by questions and Stop, and the changes-view instruction. The remaining Meetings assertion failed on the retired text and passed after updating only that expectation; its late-response privacy assertion is preserved. Both affected Meetings and Stop cases passed. Catalog lint, formatting, i18n baseline/verification, and whitespace checks passed; the existing 172-case and browser proof is reused. A two-line allocation covers the wrapped existing assertion, with 115 inherited lines of debt recorded separately. The final merge with current main is clean.