Skip to content

fix(ui): make dashboard side panels enter split view - #130426

Merged
fuller-stack-dev merged 2 commits into
openclaw:mainfrom
fuller-stack-dev:fix/dashboard-discussion-panel-availability
Aug 26, 2026
Merged

fuller-stack-dev merged 2 commits into
openclaw:mainfrom
fuller-stack-dev:fix/dashboard-discussion-panel-availability

Conversation

@fuller-stack-dev

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where Dashboard, Split, and the side panel could disagree. Selecting Dashboard could leave a panel visible, while closing the whole panel could leave Split selected. The Add side panel menu could also offer Discussion before the gateway reported a Discussion provider for the session.

Why This Change Was Made

Explicit side-panel intents now pass through the Board owner so panel visibility and the active Board chat dock change together. Passive restored state remains passive, bottom-docked chat stays independent, and Discussion appears only after the session probe reports it as available or open.

User Impact

Dashboard is now the board-only view. Opening any available side panel enters Split with the remembered tabs, and closing the whole side panel returns to Dashboard. Disconnected or unavailable Discussion providers no longer leave a non-working Discussion launcher in the Add tab menu.

Evidence

Canonical base remained red after the overlapping empty-panel resize fix at f290d6bc815c605a5e6af6ce3ea53bc20abe661c: after selecting Dashboard, the browser test expected no side panel but still found one. Current base d64d8464c1c48c66f65ecb893759aaf5d6b23d98 only adds unrelated CLI, plugin, channel, provider, and test changes.

dashboard-panel-base.webm

The corrected flow is green: Dashboard settles without a panel, the header launcher restores Split with Board chat, Browser, and Terminal, whole-panel close returns to Dashboard, and Chat-to-Dashboard navigation does not reopen the panel.

dashboard-panel-head.webm

The linked playback predates the final test-hardening and rebases. The same focused recording was rerun at 0908ee6a969fe21a2bbbb6ca309619a0f8916b2c (SHA-256 f77f9ce840b6ac8e4514b3bb520d75b0f46b3a55ced31cac8c64f72e16a985ce). Final head 5166dcfec5c98a7c0e12b2c1db9f0965c8c0a58c preserves stable patch ID 0592bc3101f0f69f70c2600c68a7ec9820242359 after the unrelated final base update.

  • Focused UI tests: 8 files, 145 tests passed.
  • Control UI E2E: 2 files, 8 tests passed.
  • Upstream empty-panel resize E2E: 1 file, 5 tests passed.
  • Exact-base changed gate: passed, including UI and UI/E2E typechecks, formatting, lint, stylelint, dead-export, i18n, dependency, and source ratchets.
  • Source-blind behavior validation: all transition clauses passed; no settled mode/panel mismatch.
  • Autoreview at the patch-identical pre-rebase head: clean, no accepted or actionable findings (0.97).
  • Production LOC: +45/-12, net +33. Tests: +198/-16. The production growth establishes one Board-aware transition seam and routes the existing launchers and close controls through it; the alternative leaves duplicate transition policy at each launcher.

@clawsweeper

clawsweeper Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: M maintainer Maintainer-authored PR labels Aug 26, 2026
@fuller-stack-dev fuller-stack-dev self-assigned this Aug 26, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. 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. labels Aug 26, 2026
@clawsweeper

clawsweeper Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 5:30 PM ET / 21:30 UTC.

ClawSweeper review

What this changes

The PR routes explicit Control UI side-panel actions through the Board owner so Dashboard and Split agree with panel visibility, and only offers Discussion after its provider reports availability.

Regression provenance

Possible regression — probable (reviewed change; reproduction). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open. Current main still lacks the Board-aware transition that makes Dashboard hide side panels and makes an explicit panel action restore Split; the patch centralizes that policy and has no source-level blocking finding. Its protected maintainer label and current-head verification still require human handling before merge.

Priority: P2
Reviewed head: 5166dcfec5c98a7c0e12b2c1db9f0965c8c0a58c
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch has a coherent owner boundary and focused behavioral coverage, with exact-head rebase verification remaining before merge.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: This MEMBER-authored UI PR is exempt from the external-contributor proof gate; its body nevertheless links an after-fix recording and describes a focused rerun, but the read-only review environment could not retrieve the media.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored UI PR is exempt from the external-contributor proof gate; its body nevertheless links an after-fix recording and describes a focused rerun, but the read-only review environment could not retrieve the media.
Evidence reviewed 6 items Current-main gap: Current main lacks the Board-aware layout transition; comparing current main with this head shows the new dock synchronization and Dashboard projection behavior are not already implemented.
Owner-boundary repair: The new transition seam updates Board dock state before persisting the requested panel layout, while restored state continues to bypass the seam.
Caller coverage: Panel controls in the base pane, rails, lifecycle controller, discussion action, and shell handoff now call the central layout commit path rather than writing layout directly.
Findings None None.
Security None None.

Live Verification

Command: node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/board-split-transcript.e2e.test.ts

Result: FAIL (failed) — step 1 run node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/board-split-transcript.e2e.test.ts: previous terminal command was still running after 30 seconds: "node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/board-split-transcript.e2e.test.ts"

RUN  v4.1.11 /tmp/clawsweeper-live-proof-130426-ZEhzfH/target

[vitest] still running with no output for 30000ms.

Assertions:

  • FAIL expect_output: transitions between Dashboard and Split with the whole side panel

How this fits together

The Control UI chat page renders a Board workspace plus optional Browser, Terminal, Discussion, and other side panels. Panel actions update local layout while the Board provider owns the chat dock that selects Dashboard or Split presentation.

flowchart LR
  A[User selects Dashboard or a panel] --> B[Chat page action handler]
  B --> C[Board-aware layout transition]
  C --> D[Board chat dock]
  C --> E[Stored side-panel layout]
  D --> F[Dashboard or Split workspace]
  E --> F
  G[Gateway Discussion probe] --> H[Discussion launcher availability]
Loading

Decision needed

Question Recommendation
Should Dashboard’s intentional board-only behavior, including hiding previously saved side panels until an explicit reopen, be accepted after exact-head UI verification? Accept after exact-head UI proof: Rebase, complete the focused Dashboard/Split E2E run on the exact head, and accept the central Board-owned transition.

Why: This is a deliberate user-visible behavior change to existing saved layouts, and the protected maintainer label requires explicit maintainer handling.

Before merge

  • Resolve merge risk (P1) - This deliberately changes existing Dashboard behavior for saved panel layouts: Dashboard now suppresses all side panels until the user explicitly reopens one, so the exact rebased head needs the focused UI flow verified.
  • Resolve merge risk (P1) - The bug fix adds 33 net production lines; the central seam avoids repeated dock policy across callers, but maintainers should confirm that this ownership boundary is worth the added surface.
Agent review details

Security

None.

PR surface

Source +33, Tests +182. Total +215 across 15 files.

View PR surface stats
Area Files Added Removed Net
Source 11 45 12 +33
Tests 4 198 16 +182
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 15 243 28 +215

Review metrics

Metric Value Why it matters
Production versus test delta production +45/-12 (net +33); tests +198/-16 (net +182) The added production seam is justified by consolidating panel-to-Board policy, but it remains meaningful growth for a bug-fix PR.

Merge-risk options

Maintainer options:

  1. Rebase and verify saved-layout behavior (recommended)
    Run the focused Dashboard/Split E2E scenario after rebasing so existing saved panel layouts are checked against the exact merge head.
  2. Accept the changed Dashboard semantics
    Land the board-only Dashboard behavior after maintainers explicitly accept that previously visible panels are hidden until a user reopens one.

Technical review

Best possible solution:

Keep one Board-owned transition seam, then rebase onto current main and verify the saved-layout Dashboard/Split flow on the exact merge head before landing.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: current main hides the Board dock for Dashboard while preserving ordinary side-panel layout, and the focused E2E scenario names the resulting visible mismatch. The read-only review did not execute the browser test.

Is this the best way to solve the issue?

Yes. Routing explicit visibility changes through the Board owner is preferable to duplicating dock updates at every launcher, while the render projection keeps restored state passive.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against e0a4915bcf16.

Labels

Label changes:

  • add P2: The PR repairs a bounded Control UI workspace inconsistency without evidence of an urgent availability or security incident.
  • add merge-risk: 🚨 compatibility: Merging changes how existing saved side-panel layouts behave when users enter Dashboard.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit 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: This MEMBER-authored UI PR is exempt from the external-contributor proof gate; its body nevertheless links an after-fix recording and describes a focused rerun, but the read-only review environment could not retrieve the media.

Label justifications:

  • P2: The PR repairs a bounded Control UI workspace inconsistency without evidence of an urgent availability or security incident.
  • merge-risk: 🚨 compatibility: Merging changes how existing saved side-panel layouts behave when users enter Dashboard.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored UI PR is exempt from the external-contributor proof gate; its body nevertheless links an after-fix recording and describes a focused rerun, but the read-only review environment could not retrieve the media.

Evidence

What I checked:

Likely related people:

  • fuller-stack-dev: Local history attributes the central Board transition and associated tests at the reviewed head to this contributor; older feature ownership was unavailable in the shallow checkout. (role: current change author; confidence: low; commits: 5166dcfec5c9, 35b6fd804f29; files: ui/src/pages/chat/chat-pane-board.ts, ui/src/pages/chat/chat-pane-sidebar-layout.ts, ui/src/e2e/board-split-transcript.e2e.test.ts)

Rank-up moves

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

  • Rebase onto current main and rerun the focused Dashboard/Split E2E scenario on the exact merge head.

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.

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

ClawSweeper moves addressed:

  • Accepted: Dashboard is intentionally board-only. Saved side-panel tabs remain stored, but stay hidden until an explicit reopen enters Split.
  • Accepted: the +33 production-line delta establishes one Board-owned transition seam and routes existing launchers and close controls through it. Duplicating dock policy per launcher would be broader and less durable.
  • Exact PR head 5166dcfec5c98a7c0e12b2c1db9f0965c8c0a58c: the focused Dashboard/Split E2E passed 6/6.
  • I did not churn-rebase the shared branch for unrelated main movement. Native prepare-run fetched canonical main at 99a2434f7b8, accepted the hosted exact/recent-parent gates, and completed successfully. The intervening UI changes are confined to session-roster and new-session paths; none touch the Board/sidebar owner, its callers, or its focused tests.

@fuller-stack-dev
fuller-stack-dev merged commit 3fa31a7 into openclaw:main Aug 26, 2026
335 of 337 checks passed
@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Merged via squash.

@fuller-stack-dev
fuller-stack-dev deleted the fix/dashboard-discussion-panel-availability branch August 26, 2026 21:58
vincentkoc added a commit that referenced this pull request Aug 26, 2026
* origin/main: (275 commits)
  fix(ai): require explicit compatible-provider endpoints (#130453)
  test(control-ui): guard the hand-mirrored theme --bg copies (#130444)
  fix(onboard): preserve the saved skills package manager (#130438)
  improve(worker): diagnose admission-deadline failures and widen daemon revalidation budget (#130435)
  fix(plugins): align diffs external install metadata (#130362)
  refactor(models): consolidate config normalization (#130439)
  fix(browser): accept common keyboard aliases (#130401)
  fix(release): refresh IMAP plugin baselines (#130351)
  fix(tests): type sticky model agent fixtures (#130441)
  fix(qa): track current Slack progress cards (#130354)
  feat(ui): refine the mobile composer (#130308)
  fix(ui): clarify gateway disconnect status in tab title (#130364)
  test(qa): await gateway startup before network probes (#130353)
  fix(qa): run Buzz profile scenarios with pooled credentials (#130316)
  fix(crabbox): keep the setup failure reason and name its phase (#130425)
  fix: dashboard tools target the wrong Gateway after admission (#130112)
  fix(ui): distinguish inherited model defaults from session pins (#120805)
  feat(feishu): let agents resend received stickers (#130374)
  refactor(models): prepare selection policy once (#130413)
  fix(ui): make dashboard side panels enter split view (#130426)
  ...

# Conflicts:
#	test/scripts/docker-build-helper.test.ts
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 27, 2026
* fix(ui): hide unavailable discussion panel

* fix(ui): couple dashboard side panel to split mode
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 maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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.

1 participant