Skip to content

feat(ui): turn dashboards into a task gallery - #137069

Merged
Patrick-Erichsen merged 11 commits into
codex/dashboard-side-panelfrom
codex/dashboard-gallery
Sep 3, 2026
Merged

Patrick-Erichsen merged 11 commits into
codex/dashboard-side-panelfrom
codex/dashboard-gallery

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Replace the basic dashboard text list with a responsive preview-card gallery.
  • Add dashboard search, author filtering, recency/title sorting, live state, authorship, and update recency.
  • Add Dashboards to the default operational sidebar destinations.
  • Open a gallery card through its owning /chat session with the dashboard panel expanded.
  • Collapse reveals the conversation; Close returns to chat-only.
  • List dashboards from canonical persisted board existence, not stale saved face metadata.
  • Page through the complete dashboard inventory so dashboards beyond the sidebar roster limit remain searchable.
  • Keep durable and incognito board inventories source-separated.

Visual proof

Before After
Basic dashboard list Dashboard card gallery

Responsive mobile gallery

Real-browser interaction proof

Gallery selection Expanded dashboard
Dashboard gallery Selected dashboard expanded in its task
Collapse Close
Collapsed dashboard reveals split conversation Closed dashboard returns to chat only

Validation

  • 61 focused gateway tests plus 36 board consumer/runtime tests passed, including canonical board existence, board refresh fencing, and incognito board inventory.
  • Four focused gallery/route unit tests passed, including complete multi-page enumeration and search.
  • Nine real-browser dashboard scenarios passed, including gallery → expanded dashboard → Collapse → chat-only on desktop and mobile.
  • pnpm check:changed, 220 bundled tests, and pnpm protocol:check passed, covering formatting, core/UI/script typechecks, dead-code scans, lint, architecture guards, and import-cycle checks.
  • Production LOC: +912 / -72. Test LOC: +445 / -47; docs: +62 / -69; mock preview support: +34 / -0; generated protocol bindings: +4 / -0. Growth is the board-inventory API, responsive gallery, and lazy-loaded gallery styling; test, docs, and preview fixture changes are classified separately.
  • Independent final autoreview: P0-P1 scoped clean; patch correctness 0.90.

Review findings addressed

  • Gallery completeness: reused the existing paged-session helper to enumerate every matching dashboard page while fencing stale scope results.
  • Store attribution: durable and incognito board keys remain separate and are matched against the projected session source. Duplicate canonical session rows are independently rejected by the combined-store invariant before list filtering.

Stack

  1. codex/dashboard visibility owner #137067 — visibility and owner placement
  2. feat(ui): move dashboards into the chat side panel #137068 — dashboard side-panel presentation
  3. This PR

@clawsweeper

clawsweeper Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 3, 2026
@clawsweeper

clawsweeper Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 3, 2026, 5:44 AM ET / 09:44 UTC.

ClawSweeper review

What this changes

The PR turns Dashboards into a searchable task gallery backed by saved board inventory and routes each gallery card to its chat with the dashboard panel expanded.

Merge readiness

⛔ Blocked before merge - 4 items remain

Keep open for explicit maintainer product direction: the patch is coherent and no introduced correctness defect was found, but it deliberately changes the default dashboard navigation model.

Priority: P2
Reviewed head: 2dd176dd1a908ad4891619b0d1b81f96d45490cf
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The focused implementation and visible gallery proof are solid, with final landing dependent on maintainer direction for the default UI change.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: Prepared real-browser screenshots visibly demonstrate the gallery layout; the repository-member contributor proof gate does not require further contributor action, while the maintainer product decision remains separate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Prepared real-browser screenshots visibly demonstrate the gallery layout; the repository-member contributor proof gate does not require further contributor action, while the maintainer product decision remains separate.
Evidence reviewed 6 items Additive session-list contract: The protocol adds an optional boolean saved-board filter, preserving existing requests that omit it.
Board inventory owner boundary: The Gateway derives inventory from persisted board tabs, keeps durable and incognito stores distinct, and applies visibility plus board filtering before session rows are listed.
Complete gallery enumeration: The dashboard page requests saved-board sessions and completes paginated results behind a generation fence before client-side filtering and sorting.
Findings None None.
Security None None.

How this fits together

The Gateway exposes sessions that have persisted board content, and the Control UI collects that inventory into a gallery. Selecting a card opens the corresponding chat session and its dashboard panel.

flowchart LR
  A[Persisted board tabs] --> B[Gateway session inventory]
  B --> C[Saved-dashboard filter]
  C --> D[Dashboard gallery]
  D --> E[Search and sort]
  E --> F[Chat with expanded dashboard]
Loading

Decision needed

Question Recommendation
Should Dashboards become a default sidebar gallery that opens the owning chat with its dashboard panel expanded? Approve gallery direction: Adopt the gallery and chat-panel navigation as the new default dashboard workflow.

Why: This PR deliberately changes the default Control UI navigation model rather than repairing a defined broken contract.

Before merge

  • Resolve merge risk (P1) - Current-main blobs needed for a full post-base comparison could not be hydrated from the partial checkout, so the review cannot independently rule out intervening main-branch interaction changes.
  • Complete next step (P2) - Obtain maintainer confirmation for the default sidebar/gallery direction.
  • Resolve review confidence - ClawSweeper must reach high confidence before merge readiness is known.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
Agent review details

Security

None.

PR surface

Source +840, Tests +398, Docs -7, Other +38. Total +1269 across 39 files.

View PR surface stats
Area Files Added Removed Net
Source 16 913 73 +840
Tests 19 446 48 +398
Docs 2 62 69 -7
Config 0 0 0 0
Generated 0 0 0 0
Other 2 38 0 +38
Total 39 1459 190 +1269

Review metrics

Metric Value Why it matters
Production and test delta production +912/-72; tests +445/-47 The new gallery and Gateway inventory are feature-scope growth rather than a bug-fix addition.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Land the stacked gallery only after a maintainer confirms the default dashboard-navigation direction.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Land the stacked gallery only after a maintainer confirms the default dashboard-navigation direction.

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

Not applicable: this is a feature PR, and its focused browser evidence demonstrates the new gallery layout rather than a reported failing behavior.

Is this the best way to solve the issue?

Yes, subject to maintainer product confirmation: the implementation uses persisted board state at the Gateway owner boundary and opens the existing chat route rather than creating a second dashboard state.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • 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: Prepared real-browser screenshots visibly demonstrate the gallery layout; the repository-member contributor proof gate does not require further contributor action, while the maintainer product decision remains separate.
  • 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 Control UI feature change with normal, non-emergency user impact.
  • 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: Prepared real-browser screenshots visibly demonstrate the gallery layout; the repository-member contributor proof gate does not require further contributor action, while the maintainer product decision remains separate.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Prepared real-browser screenshots visibly demonstrate the gallery layout; the repository-member contributor proof gate does not require further contributor action, while the maintainer product decision remains separate.

Evidence

Acceptance criteria:

  • [P1] pnpm ui:i18n:baseline.
  • [P1] pnpm exec vitest run ui/src/app-navigation.test.ts ui/src/pages/dashboards/view.test.ts.

What I checked:

Likely related people:

  • Peter Steinberger: 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.

  • Obtain maintainer confirmation for the default sidebar and gallery navigation direction.

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 (4 earlier review cycles)
  • reviewed 2026-09-03T06:16:45.876Z sha d1c7865f1fb343c3bd3585aeef337b2177210a16 :: needs real behavior proof before merge. :: [P1] Retain the dashboard focus-mode entry point
  • reviewed 2026-09-03T06:45:52.910Z sha 23fb9159504fb7836fd2439b8fba2abc92b45e5a :: blocked before merge. :: [P2] Allocate a fresh directory for each recorded gallery run
  • reviewed 2026-09-03T07:44:22.440Z sha c7f11e5 :: needs changes before merge. :: [P2] Update the dashboard guide for gallery navigation
  • reviewed 2026-09-03T09:13:28.867Z sha a313239 :: blocked before merge. :: [P2] Describe board-enabled sessions in the gallery subtitle

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui scripts Repository scripts size: XL maintainer Maintainer-authored PR labels Sep 3, 2026
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/dashboard-gallery branch 2 times, most recently from d509e89 to ea52f3f Compare September 3, 2026 06:32
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Rank-up move disposition: retaining the legacy standalone focus-mode action is intentionally skipped because explicit product direction replaces it with the expanded task side-panel state. The PR body now includes browser proof for gallery selection, expanded dashboard, Collapse, and Close. @clawsweeper re-review

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Exact-head follow-up after the cascading rebase: all 22 ownership/dashboard/gallery browser scenarios pass; final independent autoreview is scoped clean with 0.99 correctness. The legacy focus-mode skip remains the explicitly approved product replacement described above. @clawsweeper re-review

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Sep 3, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. and removed merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. labels Sep 3, 2026
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Addressed the exact-head P2 and rank-up move in 2dd176dd1a: the Dashboards subtitle now says “Tasks with saved dashboards,” with the focused navigation assertion updated. Validation: pnpm ui:i18n:baseline and pnpm exec vitest run ui/src/app-navigation.test.ts ui/src/pages/dashboards/view.test.ts (89 passed).

@clawsweeper

clawsweeper Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@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 3, 2026
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Final maintainer/review disposition before landing:

  • Product direction is explicitly confirmed by Patrick in the originating task: remove the Chat/Split/Dashboard tabs; make the dashboard a chat-owned side panel with chat-only, split, and expanded states; label the expanded-state action Collapse; open split once on first dashboard creation without stealing focus on later updates; open gallery cards in the owning chat with the dashboard expanded; preserve the visibility/owner improvements; and autoland the stack.
  • ClawSweeper’s subtitle finding and rank-up move were applied in 2dd176dd1a.
  • I fetched current origin/main at bf5c6d750c5a, created the merged tree successfully (818df51b858c), and directly inspected all seven overlapping paths. The concurrent changes compose cleanly: session row decoration remains after the saved-board filter; mention handoff remains after removing the old dashboard dock helper; current docs iframe changes and locale additions are retained; generated/test baseline overlaps merge without conflict.
  • Exact-head CI is green after one unrelated Model Providers E2E race passed on failed-job rerun: 194 checks pass, 0 fail, 0 pending.

The remaining ClawSweeper human-decision item is therefore satisfied; its partial-checkout confidence gap was independently closed above.

@Patrick-Erichsen
Patrick-Erichsen merged commit 12d6388 into main Sep 3, 2026
404 of 406 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the codex/dashboard-gallery branch September 3, 2026 10:24
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 4, 2026
* feat(ui): turn dashboards into a task gallery

* test(ui): capture gallery panel transitions

* test(ui): include dashboards in sidebar defaults

* test(ui): retain each dashboard gallery proof run

* test(ui): scope gallery proof to panel navigation

* docs(ui): explain dashboard side panel flow

* fix(ui): list dashboards by saved boards

* fix(ui): enumerate the complete dashboard gallery

* chore(protocol): refresh sessions list bindings

* test(board): complete session-change contexts

* fix(ui): describe saved dashboard gallery
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 gateway Gateway runtime maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL 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