Repository navigation
improve(ui): clarify settings access and save feedback - #192247
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: c7fa6cd9-86ca-4f79-ac67-a08eb6efd9e3
|
🦞👀 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 settings labels, access requirements, and save-error feedback while updating documentation and existing tests. Example: A settings save fails because the config file is read-only.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 4 items remain Keep this maintainer-authored PR open: the copy improvements are useful, but two messages misdescribe their behavior and GitHub reports a merge conflict. Priority: P2 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherEnglish catalogs supply Control UI navigation, settings forms, and status components, which display outcomes from the existing config and Gateway owners. flowchart LR
A[English catalogs] --> B[Settings UI]
B --> C[Config write owner]
C --> D[Gateway RPC]
D --> E[Save outcome]
E --> B
Technical reviewBest possible solution: Keep the existing catalog and renderer owners, preserve the Gateway desktop target in the wording, and give non-retryable recovery an accurate summary. Do we have a high-confidence way to reproduce the issue? The remote-Gateway target mismatch and recovery-without-Retry path are directly traceable in source and existing tests; no target code was executed. Is this the best way to solve the issue? Editing the existing English catalogs is appropriately small, but the revised guidance must preserve the target and available actions of each consuming state. 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: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource -2, Tests +26, Docs 0. Total +24 across 22 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:49 PM ET / 20:49 UTC. |
Preserve the approved copy pattern and behavior while correcting the referenced action or computer. Co-authored-by: vyctorbrzezowski <[email protected]>
improve(ui): clarify settings access and save feedback Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Settings failures were terse, the shared access denial exposed an internal permission scope, and terminology varied across navigation, forms, profile access, secrets, and Labs. Trigger-word errors also needed clearer summaries while preserving existing display redaction.
User Impact
Clearer failure summaries and next steps, neutral admin requirements, sentence-case labels, and consistent plugin/device terminology. Unsaved drafts, retries, reconnect behavior, permission checks, config keys, and routes are unchanged. Trigger-word tests now guard the existing sensitive-value redaction.
Why This Change Was Made
Keep copy in the existing English catalogs and retain the existing UserFacingError/display-redactor path. Tests exercise that path with a synthetic credential rather than introducing a second redactor.
The shared config capability does not identify whether the browser or the member lacks access, so it now says “You need admin access to change settings.” It does not guess a reconnect or team-admin remedy. The internal
nodeHostsection remains the same service, labeled “Device service.”Evidence
pnpm ui:i18n:baselinecompleted with no generated changes;pnpm ui:i18n:verifypassed.git diff --checkpassed.Before (origin/main save-failure copy, mocked Gateway, light theme):
After (same mocked failure and retained draft):
Boundaries and follow-up
Existing secondary details remain in place: the settings save indicator, config-form rejection reasons, secrets partial failures, and trigger-word errors. Trigger-word details remain redacted; no competing details component was introduced. Deep technical/raw-schema text and unrelated channel/provider/plugin copy are not part of this pass.
The local real-Gateway profile E2E could not start: the preparation guard could not verify separation from managed Gateway artifacts. No managed artifacts were rebuilt. The updated assertion is included; this lane still needs the approved isolated runner or CI.
CI and landing are left to the parent maintainer workflow.
Worked on by
Landing integration retains the Labs warning that experiments can change, break, or disappear and applies the infrastructure subtitle separately. It preserves the newer actionable settings-load errors and Device service casing. All 59 focused Labs/Profile cases passed, with i18n baseline/verification, scoped lint, formatting, and whitespace checks. Existing broader settings and browser proof is reused. A 26-line allocation covers the actual test growth; the inherited 183-line overage is unchanged. The final merge with current main is clean.