Skip to content

fix(ui): expand dashboard directly from its side-panel tab - #143579

Merged
roboclaw-bot merged 3 commits into
mainfrom
openclaw/dashboard-panel-expand-toggle
Sep 10, 2026
Merged

roboclaw-bot merged 3 commits into
mainfrom
openclaw/dashboard-panel-expand-toggle

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • 149 focused tests passed across 8 layout, panel rendering, tab-strip, toolbar, and keyboard-focus suites.
  • Production-bundled Chromium E2E passed: real Dashboard click and keyboard expansion/restoration; original split geometry; iframe document identity and unsaved widget/chat input; independent close/reopen; generic Terminal expansion with no extra terminal open; inactive Dashboard selection; arrow navigation; 400px narrow layout.
  • Required independent autoreview completed scoped-clean at its default P0 threshold.
  • git diff --check passed.
  • Before-fix proof: the same Chromium test fails on the original production source at the first Dashboard-tab click (Chat remains visible). The implementation was restored byte-for-byte afterward.
  • node scripts/check-changed.mjs passed, including core/UI typechecks, changed-file lint/styles, i18n, dead-export scans, and repository guards. The final exact-candidate recheck also passed (exit 0).
  • Current published head e67433683cd284cde8231c6b39bbe3e0a38cc018; tree 9cb2627f3fb821bd5f90735a00292d69b5044107.
  • Full repository build/test and live-Gateway deployment testing are not part of this UI-scoped validation.

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. Commit e67433683cd now 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.ts scenario at 1440×1000 with a deterministic mock Gateway and real widget iframe (not a live deployment). Before uses original production source afaad0c4f88e8f2d9ad6bc9c6ddac3a3a29b0cb7; expanded/restored use the production source at e67433683cd284cde8231c6b39bbe3e0a38cc018.

Capture SHA-256 Observed result
Before 3939b453bfdd1d28f758bcd0c3d480a453dd0d5935818e6a4ca19c50bc0c1234 Chat main, Dashboard right, original close-only header.
Expanded 83ec8494fcc9779864d1223e92ca1f027f74c0818eb9978be1f122fbf41dc884 Dashboard fills task area; chip, restore and close remain accessible.
Restored 7c8f45999575683b7cab906c946a7df3d7d3a0d5588bf3c63eb99efc99eabf1b Original divider/geometry and visible draft/widget input return; expand is beside close.

No 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/merge on September 10, 2026 at 02:45:07 UTC as 2549897df7df841fb264c8106420974e86b5f0b9, from reviewed head e67433683cd284cde8231c6b39bbe3e0a38cc018. 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.

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]>
@clawsweeper

clawsweeper Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: android App: android app: web-ui App: web-ui size: M maintainer Maintainer-authored PR labels Sep 10, 2026
OpenClaw-Publication: 6207a265-ecc9-4b41-bb4e-6b578f74fc12
Co-authored-by: fuller-stack-dev <[email protected]>
@roboclaw-bot
roboclaw-bot force-pushed the openclaw/dashboard-panel-expand-toggle branch from 0a1f423 to 4f945a2 Compare September 10, 2026 00:51
@openclaw-barnacle openclaw-barnacle Bot removed the app: android App: android label Sep 10, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review September 10, 2026 00:53
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 10, 2026
@clawsweeper

clawsweeper Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed September 9, 2026, 10:33 PM ET / September 10, 2026, 02:33 UTC (Revision 2).

ClawSweeper review

What this changes

Adds 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
Reviewed head: e67433683cd284cde8231c6b39bbe3e0a38cc018

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused implementation with meaningful continuity coverage and the prior finding resolved; the visual evidence requirement remains a separate landing blocker.
Proof confidence 🌊 off-meta tidepool Not applicable: The ordinary external-contributor gate is exempt for this bot-authored PR. Reported production-bundled Chromium runs exercise the changed layout owner with a mocked Gateway; the separate repository requirement for inspected appearance captures remains outstanding.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The ordinary external-contributor gate is exempt for this bot-authored PR. Reported production-bundled Chromium runs exercise the changed layout owner with a mocked Gateway; the separate repository requirement for inspected appearance captures remains outstanding.
Evidence reviewed 8 items Pinned patch and review continuity: The only change since the earlier reviewed head updates the MCP dashboard scenario to assert expansion, explicitly restore the split, and retain unsaved-input, iframe-identity, and request-count checks. The supplied current-head check results show checks-ui-e2e (6/7) succeeding.
Current main still lacks side focus: Current main's visibility logic always displays the main panel; its expansion operation only hides the side panel. It does not implement the proposed in-place side-panel focus.
Latest supplied release comparison: The supplied latest release also has main-panel expansion and swapping, without the new side-focus toggle.
Findings None None.
Security None None.

How this fits together

The 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
Loading

Before merge

  • Complete next step (P2) - Inspect and attach the required before/expanded/restored UI captures, redacting private details and excluding the Discord invitation card, before landing.
Agent review details

Security

None.

PR surface

Source +110, Tests +164, Docs +10. Total +284 across 19 files.

View PR surface stats
Area Files Added Removed Net
Source 10 118 8 +110
Tests 8 166 2 +164
Docs 1 10 0 +10
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 19 294 10 +284

Review metrics

Metric Value Why it matters
Saved layout extension 1 optional browser-persisted field expandedSide distinguishes side focus while leaving existing saved main-panel identity and dimensions intact.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #143575
Summary: This PR implements the explicitly linked one-click dashboard expansion request; the issue should remain open until resolution.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best 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.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The ordinary external-contributor gate is exempt for this bot-authored PR. Reported production-bundled Chromium runs exercise the changed layout owner with a mocked Gateway; the separate repository requirement for inspected appearance captures remains outstanding.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This is a bounded task-layout improvement that removes repeated swapping and manual restoration.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The ordinary external-contributor gate is exempt for this bot-authored PR. Reported production-bundled Chromium runs exercise the changed layout owner with a mocked Gateway; the separate repository requirement for inspected appearance captures remains outstanding.

Evidence

What I checked:

  • Pinned patch and review continuity: The only change since the earlier reviewed head updates the MCP dashboard scenario to assert expansion, explicitly restore the split, and retain unsaved-input, iframe-identity, and request-count checks. The supplied current-head check results show checks-ui-e2e (6/7) succeeding. (ui/src/e2e/board-mcp-app.e2e.test.ts:452, e67433683cd2)
  • Current main still lacks side focus: Current main's visibility logic always displays the main panel; its expansion operation only hides the side panel. It does not implement the proposed in-place side-panel focus. (ui/src/pages/chat/sidebar-layout.ts:67, b158c5214f2a)
  • Latest supplied release comparison: The supplied latest release also has main-panel expansion and swapping, without the new side-focus toggle. (ui/src/pages/chat/sidebar-layout.ts:242, 1391f7cd2d40)
  • Saved-layout compatibility: The new optional expandedSide field passes through the existing layout normalization and settings writer. Existing layouts without it retain their behavior; coverage preserves legacy expanded layouts, main identity, dock dimensions, and normalization round trips. (ui/src/pages/chat/sidebar-layout-normalize.ts:162, e67433683cd2)
  • Production UI boundary coverage: The Chromium scenario exercises the production UI with a mocked Gateway and real widget sandbox, covering click and keyboard activation, three dock placements, preserved drafts and iframe identity, terminal continuity, close/reopen, and a 400px viewport. The captured PR body reports both affected suites passing 5/5; this review did not execute them. (ui/src/e2e/task-panel-layout.e2e.test.ts:174, e67433683cd2)
  • Appearance evidence remains outstanding: The supplied PR body explicitly says the split, expanded, and restored captures were not inspected or uploaded and that native review artifacts remain NEEDS WORK for that reason. Root policy and CONTRIBUTING.md require inspected before/after evidence for visual changes. (AGENTS.md, e67433683cd2)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Patrick-Erichsen: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Attach inspected, sanitized before/expanded/restored captures demonstrating the new controls and restored arrangement.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-09-10T01:54:42.090Z sha 4f945a2 :: blocked before merge. :: [P2] Update the MCP dashboard test for explicit expansion

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 clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 10, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@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.

@clawsweeper

clawsweeper Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@roboclaw-bot
roboclaw-bot merged commit 2549897 into main Sep 10, 2026
145 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/dashboard-panel-expand-toggle branch September 10, 2026 02:45
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 10, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Control UI: dashboard side panel needs one-click expand and restore

1 participant