Repository navigation
improve(ui): clarify new session devices and workspaces - #192044
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: e26a8694-502f-4c5a-95db-7b991576d4f6
|
🦞👀 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. |
|
Media proof is not complete: the four screenshot links in the PR body currently return HTTP 404. The synthetic light-theme before/after captures were inspected locally, but the fallback GitHub upload endpoint is also unavailable. Working screenshot attachments are still required before merge. |
|
Codex review: needs changes before merge. What this changesThis PR clarifies device, cloud, workspace, and folder-access wording in New Session and updates related documentation and tests. Example: Choose the aws cloud profile and inspect its hardware options.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 3 items remain Keep this maintainer-authored PR open: the copy improvements are useful, but incomplete assertion updates break validation and permission errors lose recovery guidance. Priority: P3 Before merge
Findings
Agent review detailsHow this fits togetherNew Session combines Gateway catalogs, placement eligibility, and folder-discovery results into device and workspace controls; the changed catalog and formatters produce their English labels and blocked-action explanations. flowchart LR
A[Gateway catalogs] --> B[Placement owners]
C[Folder discovery] --> D[Access reason formatters]
B --> E[New Session controls]
D --> E
F[English setup catalog] --> D
F --> E
Technical reviewBest possible solution: Keep the existing catalog and formatter owners, preserve actionable access guidance, and finish migrating assertions to the final wording. Do we have a high-confidence way to reproduce the issue? The original terminology and scope-rendering problems are visible in fetched main; exact-head CI independently reproduces one incomplete assertion migration, and source tracing establishes the native-CLI expectation mismatch. Is this the best way to solve the issue? Updating the existing English catalog and access formatters is the smallest complete approach; no new state or abstraction is needed, but the final copy must remain actionable and every affected assertion must follow it. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e5bd90ed866f. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +14, Tests +33, Docs +4, Other +2. Total +53 across 35 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, 11:19 AM ET / 16:19 UTC. |
Preserve the approved copy pattern and behavior while correcting the referenced action or computer. Co-authored-by: vyctorbrzezowski <[email protected]>
) improve(ui): clarify new session devices and workspaces Co-authored-by: vyctorbrzezowski <[email protected]>
…193162) * fix(ui): align mobile session width checks with device labels PR #192044 intentionally renamed Local to This computer. Preserve its layout and check the existing half-row picker contract instead of the stale 100 px ceiling. Account for seven lines of causal comments and relative-width assertions. * test(ui): reuse measured mobile picker geometry Keep the assertion repair below the existing test-line ceiling without changing the shared baseline or requesting extra allocation.
…penclaw#193162) * fix(ui): align mobile session width checks with device labels PR openclaw#192044 intentionally renamed Local to This computer. Preserve its layout and check the existing half-row picker contract instead of the stale 100 px ceiling. Account for seven lines of causal comments and relative-width assertions. * test(ui): reuse measured mobile picker geometry Keep the assertion repair below the existing test-line ceiling without changing the shared baseline or requesting extra allocation.
What Problem This Solves
New session setup mixes device, machine, host, and worker terminology, and some folder-access messages expose internal permission scopes or suggest the wrong recovery path.
User Impact
Why This Change Was Made
This is D1 of the approved Control UI copy pass. It is limited to new-session setup English, its access-reason rendering, matching assertions, and documentation that describes these controls. No protocol/config/i18n key names or foreign locales changed.
“Cloud device” is used by the required-placement control only after it resolves the selected profile from the cloud profile catalog. Hosted workspaces remain distinct. The old access-recovery instruction is removed; this code already has no navigation handler to that obsolete flow.
Evidence
pnpm ui:i18n:verifypassed.git diff --checkpassed.pnpm tsgo:ui, documentation glossary sanity, and documentation links passed (16,400 internal links, 0 broken).config/test-lines-allocations/new-session-device-copy.txt.pnpm ui:check-performance:base 3c43252c068c78b57e4024c057c1d3797a57acbdpassed. Gzip bytes: Chat boot JS 1,279,580 → 1,279,606 (+26 B), 20 requests unchanged; Chat boot CSS 130,890 → 130,890; New session boot JS 794,466 → 794,461 (−5 B), 15 requests unchanged; New session CSS 95,757 → 95,757. Startup JS 90,543 → 90,565 (+22 B), startup CSS unchanged at 35,997.Scope notes and gaps
connectMachine*copy belongs to the separate connect flow and is unchanged.{error}/{reason}/{message}interpolation exists in the setup catalog changed here. The shared F1 error-details contract was not present on the selected base.newSession.runsOn; its only direct consumer is the existing Chat placement fallback. That separate surface is unchanged rather than expanding this PR.Worked on by
Landing repair updates only failed copy expectations and selectors, preserves every behavioral assertion, and fixes the setup-catalog formatting. The 23 selected owner/consumer tests and 7 cloud-target browser tests passed, as did i18n baseline/verification and formatting. The final 41-line allocation includes test-support assertions; the guard confirms the unchanged 110-line base debt remains. No broader suite was repeated.