Repository navigation
fix(ui): expand dashboard directly from its side-panel tab - #143579
Conversation
Add a side-panel expand/restore control beside close and keep the original main/side placement, geometry, and mounted content intact. Dashboard tab clicks and Enter/Space toggle side focus while arrow navigation remains normal tab selection. Preserve close behavior and narrow layouts. Co-authored-by: fuller-stack-dev <[email protected]>
|
🦞👀 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. |
OpenClaw-Publication: 6207a265-ecc9-4b41-bb4e-6b578f74fc12 Co-authored-by: fuller-stack-dev <[email protected]>
0a1f423 to
4f945a2
Compare
|
Codex review: needs changes before merge. Reviewed September 9, 2026, 10:33 PM ET / September 10, 2026, 02:33 UTC (Revision 2). ClawSweeper reviewWhat this changesAdds direct Dashboard-tab expansion and a shared side-panel expand/restore button while preserving the original arrangement and mounted content. Merge readiness⛔ Needs changes before merge - 1 item remains This remains useful work absent from current main. The previous MCP test finding is resolved, and no additional blocking code defect was found. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI task layout places chat and dashboard, terminal, or other panels beside each other. Tab and toolbar actions update saved browser layout state and determine which mounted views remain visible. flowchart TD
A[Dashboard tab or expand button] --> B[Task layout state]
C[Saved browser arrangement] --> B
B --> D{Expand or restore}
D --> E[Side panel fills task area]
D --> F[Original split arrangement]
E --> G[Mounted content retained]
F --> G
Before merge
Agent review detailsSecurityNone. PR surfaceSource +110, Tests +164, Docs +10. Total +284 across 19 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep expansion in the existing layout owner so restoring reveals the original split without swapping or recreating live views. Do we have a high-confidence way to reproduce the issue? Not applicable as a defect reproduction: this adds an explicitly requested interaction; current-main source confirms that Focus currently targets the main panel. Is this the best way to solve the issue? Yes. Extending the existing layout state preserves panel identity and avoids using Swap as a workaround; the tests cover the important restoration and content-continuity boundaries. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b158c5214f2a. 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
HistoryReview history (1 earlier review cycle)
|
Keep the MCP retained-runtime scenario aligned with Dashboard’s explicit activation contract. Assert expansion, restore from the panel header, and verify unsaved input as well as the existing runtime and request-count checks. Co-authored-by: fuller-stack-dev <[email protected]>
|
@clawsweeper re-review The MCP test contract is corrected, exact-head CI is green, and the full-resolution original/expanded/restored captures have now been independently inspected with matching SHA-256 bindings. Evidence and upload limitations are updated in the PR description. Requesting review only, not automerge. |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
…143579) Expand Dashboard directly from its side-panel tab and expose an expand/restore control beside the independent close button. Preserve the original main/side arrangement, geometry, mounted widgets and chat state across restoration. Keep keyboard activation, ordinary tab navigation, other side panels and narrow/bottom layouts intact. Update the MCP retained-runtime scenario to assert expansion and explicitly restore split without weakening identity, input or request-count checks. Validated with focused unit tests, production-bundled Chromium scenarios, changed-file gates, fresh P2 autoreview, inspected before/expanded/restored captures, and exact-head CI. Closes openclaw#143575. Co-authored-by: fuller-stack-dev <[email protected]>
Closes #143575
What Problem This Solves
Fixes an issue where users wanting to expand the Dashboard side panel must first swap it with Chat and then use the task toolbar’s Focus action. Restoring the split leaves those views reversed instead of returning to the original arrangement.
Why This Change Was Made
Dashboard’s side-panel tab now expands it in one click (active or inactive), and clicking again restores the split. A generic expand/restore control beside the whole-panel close button acts on the active side panel and remains accessible while expanded. Side focus keeps the original main-panel identity, dock, dimensions, and mounted content rather than swapping views.
Arrow navigation only selects tabs; Enter/Space explicitly expands or restores Dashboard. Other tabs keep normal activation. Space on tabs is excluded from the composer’s printable-key focus transfer. Close remains independent and returns the original main view. Existing task-toolbar Focus/Swap remain available in split mode.
User Impact
One-step Dashboard expansion and restoration across right, left, bottom, and narrow layouts, without browser fullscreen prompts or reloads. Chat drafts, widget input/document identity, and terminal sessions survive these transitions.
Evidence
scoped-cleanat its default P0 threshold.git diff --checkpassed.node scripts/check-changed.mjspassed, including core/UI typechecks, changed-file lint/styles, i18n, dead-export scans, and repository guards. The final exact-candidate recheck also passed (exit 0).e67433683cd284cde8231c6b39bbe3e0a38cc018; tree9cb2627f3fb821bd5f90735a00292d69b5044107.Full-resolution original/expanded/restored screenshots have now been independently inspected after a hash-verified handoff. The Dashboard chip, expand/restore control, and close button remain visible and unclipped; restoration returns the original geometry. Only synthetic fixture data was observed. Browser assertions independently establish mounted-document identity, complete input equality, and request counts. GitHub binary upload returned HTTP 400 Bad Content-Length, and the approved artifact-store upload failed signed-request validation; no successful image upload is claimed.
Requested with and co-authored by @fuller-stack-dev.
Landing review follow-up — September 10, 2026
The failed
checks-ui-e2e (6/7)job was not assumed flaky: its MCP retained-runtime scenario clicked Dashboard and still expected split view. Commite67433683cdnow asserts expansion, explicitly restores split from the side-panel header, and checks unsaved input while retaining all iframe identity and request-count assertions.Fresh production-bundled Chromium runs passed both the four-test MCP suite and task-panel layout scenario (5/5). Focused changed-file gates passed, and a fresh full-candidate autoreview through P2 completed scoped-clean. Exact-head CI run 34429310634 passed, including
openclaw/ci-gate.Native review artifacts are now validated as READY FOR /prepare-pr: the exact-head CI gate and independent appearance inspection pass. Native preparation and merge retain current-main and exact-head guards. No deployment is authorized.
Inspected appearance evidence
Captured by the production-bundled Chromium
task-panel-layout.e2e.test.tsscenario at 1440×1000 with a deterministic mock Gateway and real widget iframe (not a live deployment). Before uses original production sourceafaad0c4f88e8f2d9ad6bc9c6ddac3a3a29b0cb7; expanded/restored use the production source ate67433683cd284cde8231c6b39bbe3e0a38cc018.3939b453bfdd1d28f758bcd0c3d480a453dd0d5935818e6a4ca19c50bc0c123483ec8494fcc9779864d1223e92ca1f027f74c0818eb9978be1f122fbf41dc8847c8f45999575683b7cab906c946a7df3d7d3a0d5588bf3c63eb99efc99eabf1bNo new overlap, clipped chrome, broken frame, secrets, or unrelated content was observed. Fixed-width clipping within the synthetic widget input is unchanged.
Landed verification
Merged through native
scripts/pr review/prepare/mergeon September 10, 2026 at 02:45:07 UTC as2549897df7df841fb264c8106420974e86b5f0b9, from reviewed heade67433683cd284cde8231c6b39bbe3e0a38cc018. The native merge receipt is complete and the requested human coauthor trailer is present in the squash commit.The native flow reported relevant mainline drift; an additional production-bundled Chromium run on the actual landed main passed both MCP and task-panel suites (5/5), and landed-main i18n verification passed. No deployment was performed.