Repository navigation
fix(ui): align Communications settings layout - #131421
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
fcc2858 to
1b4c234
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
1b4c234 to
666d537
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
666d537 to
ab95acc
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs real behavior proof before merge. Reviewed August 27, 2026, 10:59 PM ET / August 28, 2026, 02:59 UTC. ClawSweeper reviewWhat this changesThe PR aligns Communications settings with shared Settings tabs, replaces the shared advanced-settings card with a native disclosure, and adds layout and interaction coverage. Merge readiness⛔ Blocked until stronger real behavior proof is added - 3 items remain Keep open: current main does not contain this branch, and the maintainer-owned PR has no concrete introduced correctness or security defect in the reviewed UI paths. Priority: P3 Review scores
Verification
Live VerificationEntry: Result: FAIL (partial) — step 2 Steps:
How this fits togetherThe Control UI turns gateway configuration schemas into Settings pages and channel forms. This change affects section navigation, advanced-field disclosure, and page-level documentation presentation for operators. flowchart LR
A[Gateway configuration schema] --> B[Config page]
B --> C[Shared tab navigation]
B --> D[Shared form renderer]
D --> E[Advanced settings disclosure]
C --> F[Active settings panel]
E --> F
F --> G[Operator Control UI]
Before merge
Agent review detailsSecurityNone. PR surfaceSource -39, Tests +227, Other 0. Total +188 across 20 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the shared-renderer and shared-tab approach after exact-head CI completes, retaining the Communications mocked-Gateway layout coverage. Do we have a high-confidence way to reproduce the issue? Not applicable as a defect reproduction: this PR refines an observable Control UI layout. Its mocked-Gateway E2E provides a deterministic after-change behavior path, though this read-only review did not execute it. Is this the best way to solve the issue? Yes. Reusing the existing shared tab and schema-rendering owners avoids a Communications-only implementation, while page-scoped documentation suppression leaves other Settings documentation links intact. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against fbdc906f37f9. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Maintainer proof decision for the latest ClawSweeper review:\n\n- The rank-up request for additional real-setup visual proof is skipped for this landing. The real local Gateway is reachable on loopback, but the Codex app Playwright browser backend did not register after opening that surface; the ambient preview URL was stale. Switching the personal Gateway to this branch solely for capture would disturb live user state.\n- The PR already contains deterministic Playwright before/after screenshots from the branch UI with a mocked Gateway, including collapsed, expanded, Plugins spacing, and mobile states.\n- Exact-head CI is now fully green, including checks-ui, all 14 UI E2E shards, checks-ui-e2e-real-gateway, and openclaw/ci-gate.\n- ClawSweeper found no actionable code or security defect and rated patch quality 5/6.\n\nPatrick explicitly requested landing with this proof set, so this records the required maintainer override rather than leaving the rank-up move unaddressed. |
* fix(ui): align Communications header and tabs * fix(ui): remove Communications section help * fix(ui): refine settings tab and advanced spacing * fix(ui): narrow tab and disclosure event targets * fix(ui): preserve advanced menu labels
What Problem This Solves
Fixes an issue where users opening Communications saw no page subtitle, button-style section tabs that differed from the Plugins navigation, a redundant contextual-help control, uneven tab spacing, and a card-like advanced-settings control that did not read as a normal section.
Why This Change Was Made
Communications now uses the route-owned Settings subtitle and the shared underlined hub tabs already used by Plugins. Both Communications and Plugins give the tabs equal space above and below. The contextual section-help affordance is suppressed at the Communications page boundary only, so other Settings pages retain their existing documentation links.
Advanced settings now use the native
details/summarydisclosure pattern already established by Cron. The change lives in the shared schema renderer, so Settings, Channels, and embedded Memory settings use the same browser-native toggle without writing config when it opens or closes.The shared tab renderer preserves the former activation-target callback for scroll ownership and exposes the selected section through a labelled tab panel.
User Impact
The Communications page now has the same hierarchy and tab language as the rest of Settings: a short description under the title, evenly spaced underlined Messages/Voice tabs, no duplicate question-mark help control, and a left-aligned Advanced settings section that expands in place. Plugins receives the same even tab rhythm.
Evidence
Playwright mocked-Gateway proof at 1440×900 and 390×844 verified:
Messages and text-to-speech settings.Messages,Voice, with click activation24pxabove /24pxbelow20pxabove /19pxbelow (subpixel-rounded; ≤1px invariant)0Validation:
pnpm --dir ui test— 798 files, 11,728 passed, 1 skippedpnpm tsgo:uipnpm lint:ui:stylespnpm ui:i18n:verifypnpm ui:buildRepair notes