Repository navigation
improve(ui): clarify model access and saved account copy - #192208
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 22a01ec3-4e3d-4509-87bb-e06a570bc366
|
🦞👀 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 Models and Profile terminology and adds recovery summaries while retaining redacted error details. Example: Expand OpenAI under Models provider access.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 6 items remain Keep this maintainer-authored PR open: the copy improvements are useful, but two misleading recovery messages and reproducible CI failures need repair. Priority: P2 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherControl UI presents Gateway-owned provider status and personal accounts, translating request outcomes and permission facts into settings controls and recovery guidance. flowchart LR
A[Gateway provider status] --> C[Models owners]
B[Gateway personal accounts] --> D[Profile account owner]
C --> E[English copy and error formatting]
D --> E
E --> F[Control UI settings]
Technical reviewBest possible solution: Keep the focused copy pass while preserving Gateway-host guidance and committed-success warnings, updating affected tests, and satisfying the test budget. Do we have a high-confidence way to reproduce the issue? Current-main strings establish the terminology inconsistency; source tracing and hosted failure annotations establish the introduced regressions without running target code. Is this the best way to solve the issue? Existing catalogs, formatters, and account owners are the appropriate boundary, but generic failure summaries must not overwrite the meaning of successful-operation warnings. 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:
PR surfaceSource +25, Tests +80, Docs +5. Total +110 across 22 files. Added test files: 0. View PR surface stats
Review metrics
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:48 PM ET / 19:48 UTC. |
Keep successful-save warnings distinct from errors and locate installed-agent recovery on the computer running OpenClaw. Co-authored-by: vyctorbrzezowski <[email protected]>
…2208) improve(ui): clarify model access and saved account copy Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Models and Profile use inconsistent account, session, and access terminology, and some failures show technical detail without a useful summary.
User Impact
Provider access controls and personal saved accounts use the approved Control UI vocabulary. Read-only and disconnected states explain the next step without exposing permission scope names. Failure summaries keep the underlying redacted detail available. Saved accounts and existing session choices are preserved when a personal default is cleared.
Why This Change Was Made
This is the scoped M3 copy pass: Models defaults, provider access/status/usage, and Profile personal provider accounts. It does not change sign-in authority, stored accounts, provider protocol fields, or account selection behavior. Personal sign-in remains available with write access; it does not newly require admin access.
Models request failures now render a loading summary separately from supplied detail. Mutation and Profile failures retain redacted detail after their recovery summary. Missing admin access, unsupported configuration editing, disconnection, missing identity, and an unloaded profile stay distinct.
How This Was Tested
pnpm ui:i18n:baselineandpnpm ui:i18n:verify: passed; no generated baseline change.git diff --check: passed.Visual proof
Identical synthetic read-only Models fixture, light theme, cropped to the settings surface. The expanded provider shows the shorter Test access label. No real keys, accounts, or model identifiers are used.
Before:
origin/mainat72e8e42210d1bf5f69d0384c84baec0188743337.Gaps and unchanged scope
defaults.utilityalready says “Utility model”; the sampled retireddefaults.noModelsstring is not present in this implementation.Worked on by
Landing integration preserves personal sign-in with write access, account/default isolation, and M1’s quiet sign-out behavior. The shared action-warning caller now uses the current toast severity API. All 137 affected unit cases and the configured-provider recovery browser case passed; i18n baseline/verification, scoped lint, formatting, and whitespace checks passed. Browser copy consumers were aligned while the existing capture and native-tour proof was reused under the waiver. A 74-line allocation covers the actual test growth; the inherited 184-line overage is unchanged. The final merge with current main is clean.