Skip to content

feat(dashboard): redesign live and triage pages — editorial hero, stat ticker, worker rows, lobster theme - #412

Merged
steipete merged 4 commits into
mainfrom
claude/practical-bun-11528b
Jul 5, 2026
Merged

steipete merged 4 commits into
mainfrom
claude/practical-bun-11528b

Conversation

@steipete

@steipete steipete commented Jul 5, 2026 •

Copy link
Copy Markdown
Contributor

Complete redesign of the ClawSweeper status dashboard and both triage pages: minimal, modern, and a tad lobstery. The layout is re-architected, not just reskinned — but behavior is unchanged: same data, same routes, same polling and drill-down logic.

Before / after

Dashboard before and after

Triage before and after

More captures: dark variant, worker drill-down dialog

Dashboard after, dark variant

Worker dialog after

All "after" captures were rendered against a saved production /api/status / /api/triage snapshot served locally, so before and after show identical live data.

Layout rework

  • Editorial hero: a serif status headline with a health dot ("All clear — 27 claw workers sweeping 4 repositories") replaces the metric-card wall as the page's opening statement.
  • The six metric cards became a borderless stat ticker — hairline-separated numbers, no boxes.
  • The five-box flow map became a stepper: one continuous line with coral station dots and big counts.
  • The 128-slot capacity dot matrix became a single stacked bar (coral running / amber waiting) with a plain-language meta line.
  • The worker card grid collapsed into dense two-line rows in one panel — status dot, mode, name, live step, elapsed, and a micro progress bar per row; automatic builds share the same row treatment. Filters became a segmented control.
  • Pipeline and sidebar lists went from individual boxes to hairline-divided rows inside single panels; sidebar stat tiles use the ticker treatment.

Visual language

  • Warm minimal theme following the system color scheme via CSS light-dark(): shell-white light mode, warm charcoal dark mode.
  • One accent: lobster coral, marking everything alive — links, running capacity, in-progress steps, worker progress, heading ticks, the pulsing LIVE tag, and a 2px top stripe. Status colors stay semantic.
  • All decoration removed (gradients, shimmer, glows, hover translates); tabular numerals; emoji gone from labels, lobster kept in title, header, and empty states.
  • Triage: GitHub label colors render as neutral dot-pills instead of dark filled chips; issue titles are text-colored with coral on hover; same ticker metrics.

Verification

  • pnpm run build:dashboard (tsgo), pnpm run lint:dashboard (oxlint), pnpm run format:check all clean.
  • node --test test/dashboard-worker.test.ts: 53/53 pass (UTF-8 emoji test updated for the new labels, mojibake guard kept).
  • Visually verified every surface against the production snapshot in both light and dark: hero, ticker, stepper, capacity bar, automatic builds, worker rows and filters, both dialogs, pipeline, cluster intake, automerge, closed stats, worker health, operations, recent activity, and both triage pages.

Note: the stylesheet uses light-dark() and color-mix(), which need 2024+ evergreen browsers — fine for this maintainer-facing dashboard.

@clawsweeper

clawsweeper Bot commented Jul 5, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed July 4, 2026, 9:09 PM ET / 01:09 UTC.

Summary
The PR redesigns the live dashboard and triage pages, updates dashboard HTML assertions, adds before/after dashboard screenshots, and adds an unreleased changelog entry.

Reproducibility: yes. Source inspection gives a high-confidence reproduction path: a payload with recent apply_health needs_attention items and zero unresolved_failures renders an alert but still sets the hero to ok/All clear.

Review metrics: 2 noteworthy metrics.

  • Diff size: 9 files, +625/-538. The redesign is broad enough that visual and compatibility review matter beyond unit tests.
  • Dashboard proof assets: 6 image assets added. The PR includes direct before/after and dialog screenshots that substantiate the visual behavior.

Merge readiness
Overall: 🦐 gold shrimp
Proof: 🦞 diamond lobster ✨ media proof bonus
Patch quality: 🦐 gold shrimp
Result: needs maintainer review before merge.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P2] Fold apply-health needs-attention items into the hero dot and headline before showing all-clear.
  • Move release-note context out of CHANGELOG.md and leave the final changelog entry to the release owner.
  • Have maintainers either accept the 2024+ evergreen CSS baseline or request fallback declarations.

Risk before merge

  • [P1] The new hero can say “All clear” while a blocked or degraded apply-health alert is rendered lower on the page, weakening the dashboard's top-level operational signal.
  • [P2] The stylesheet now depends on light-dark() and color-mix(); maintainers should explicitly accept the 2024+ evergreen browser baseline or ask for fallback declarations before merge.
  • [P1] The PR edits CHANGELOG.md even though this repository treats the changelog as release-owned.

Maintainer options:

  1. Add CSS fallbacks
    Provide plain color fallback declarations before modern CSS functions so older dashboard clients degrade predictably.
  2. Accept evergreen-only dashboard support
    A maintainer can explicitly accept the PR body's 2024+ evergreen-browser baseline for this internal dashboard.

Next step before merge

  • [P2] Maintainers need to handle the release-owned changelog and browser-baseline decision; the hero status bug itself is a narrow code fix.

Security
Cleared: The diff is limited to dashboard presentation code, static image assets, tests, and changelog text; no concrete security or supply-chain concern was found.

Review findings

  • [P2] Include apply-health attention in the hero status — dashboard/worker.ts:7089-7091
  • [P3] Leave changelog edits to the release flow — CHANGELOG.md:22
Review details

Best possible solution:

Land the redesign only after the hero reflects apply-health attention, release notes stay in the release-owned flow, and maintainers accept or mitigate the modern CSS browser baseline.

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

Yes. Source inspection gives a high-confidence reproduction path: a payload with recent apply_health needs_attention items and zero unresolved_failures renders an alert but still sets the hero to ok/All clear.

Is this the best way to solve the issue?

No. The visual direction is proven, but the current patch should first preserve existing apply-health status semantics and leave release-note handling to the release-owned flow.

Full review comments:

  • [P2] Include apply-health attention in the hero status — dashboard/worker.ts:7089-7091
    This is a late discovery on unchanged code from the prior review cycle. renderApplyHealth still renders needs_attention apply-health items, but the new hero only checks data.health.unresolved_failures, so the page can show a blocked pruning alert while the headline says “All clear”.
    Confidence: 0.93
    Late finding: first raised on code an earlier review cycle already covered.
  • [P3] Leave changelog edits to the release flow — CHANGELOG.md:22
    This is a late policy finding on unchanged code from the prior review cycle. AGENTS.md marks CHANGELOG.md release-owned, so this contributor PR should keep release-note context in the PR body or commits instead of landing a direct unreleased changelog entry.
    Confidence: 0.88
    Late finding: first raised on code an earlier review cycle already covered.

Overall correctness: patch is incorrect
Overall confidence: 0.9

AGENTS.md: found and applied where relevant.

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

Label changes

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (screenshot): The PR body and committed assets include direct before/after screenshots for the dashboard, triage page, dark variant, and worker dialog rendered from saved production snapshots.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove status: 👀 ready for maintainer look: Current PR status label is status: ⏳ waiting on author.

Label justifications:

  • P3: The item is primarily dashboard polish with limited blast radius, though it has merge-blocking review feedback.
  • merge-risk: 🚨 compatibility: The diff changes the dashboard's CSS baseline to modern functions that older browser clients may not render correctly.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (screenshot): The PR body and committed assets include direct before/after screenshots for the dashboard, triage page, dark variant, and worker dialog rendered from saved production snapshots.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body and committed assets include direct before/after screenshots for the dashboard, triage page, dark variant, and worker dialog rendered from saved production snapshots.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The PR body and committed assets include direct before/after screenshots for the dashboard, triage page, dark variant, and worker dialog rendered from saved production snapshots.
Evidence reviewed

What I checked:

  • Target policy read and applied: AGENTS.md says OpenClaw CHANGELOG.md is release-owned and that release-note context should stay in PR bodies and commit messages during normal PR work. (AGENTS.md:42, 0d6aa5054c5a)
  • Hero status ignores apply-health alerts: The new hero derives ok versus attention only from data.health.unresolved_failures, then writes “All clear” when that count is zero. (dashboard/worker.ts:7086, 91edc024c93d)
  • Apply-health alerts still render separately: renderApplyHealth filters recent.apply_health items through applyHealthNeedsAttention, so a status payload can render a blocked/degraded pruning alert below an all-clear hero. (dashboard/worker.ts:7122, 91edc024c93d)
  • Dashboard contract includes apply-health visibility: The live-dashboard docs list problem-focused pruning alerts and lane-level apply-health JSON as visible dashboard signals. (docs/live-dashboard.md:128, 0d6aa5054c5a)
  • Modern CSS baseline is a merge decision: The redesign makes core color tokens depend on light-dark() and uses color-mix(), matching the PR body's stated 2024+ evergreen browser assumption. (dashboard/worker.ts:5101, 91edc024c93d)
  • Visual proof inspected: The PR-provided before/after dashboard, triage, dark variant, and worker-dialog screenshots were present in the PR commit and directly show the changed UI. (docs/assets/dashboard-redesign/dashboard-before-after.jpg, 91edc024c93d)

Likely related people:

  • brokemac79: Introduced and iterated the apply-health dashboard alerts that the new hero needs to preserve. (role: recent feature owner; confidence: high; commits: ead7d6461a6c, 5f4af592da57, baf9ddb48ab1; files: dashboard/worker.ts, docs/live-dashboard.md, test/dashboard-worker.test.ts)
  • Vincent Koc: The current renderDashboard structure and large dashboard worker surface trace back to the initial dashboard implementation commit in local history. (role: dashboard introducer; confidence: medium; commits: 59f4d6981e65; files: dashboard/worker.ts, test/dashboard-worker.test.ts)
  • steipete: Has recent merged history touching dashboard worker capacity display and tests, in addition to proposing this redesign. (role: recent adjacent contributor; confidence: medium; commits: 56431d2dedf3; files: dashboard/worker.ts, test/dashboard-worker.test.ts, CHANGELOG.md)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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.

How this review workflow works
  • 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.
Review history (2 earlier review cycles)
  • reviewed 2026-07-05T00:48:45.187Z sha 03a47a5 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-05T01:03:15.891Z sha 91edc02 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added proof: sufficient Contributor real behavior proof is sufficient. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. 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. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. labels Jul 5, 2026
@steipete steipete changed the title feat(dashboard): redesign live and triage pages with a minimal lobster theme feat(dashboard): redesign live and triage pages — editorial hero, stat ticker, worker rows, lobster theme Jul 5, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 91edc024c9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread dashboard/worker.ts
Comment on lines +7089 to +7091
document.getElementById("hero-dot").className = "hero-dot " + (unresolved ? "amber" : "ok");
document.getElementById("hero-headline").textContent =
(unresolved ? "Needs attention" : "All clear") + " — " +

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include apply-health alerts in the hero status

When the API status contains apply-health attention (the same payload rendered by renderApplyHealth, e.g. recent.apply_health.items[].status === "needs_attention") but data.health.unresolved_failures is 0, this branch still paints the hero dot as ok and says “All clear”. That makes blocked or degraded close/comment-sync sweeps look healthy at the top of the live dashboard; fold apply-health attention into this status before showing all-clear.

Useful? React with 👍 / 👎.

@clawsweeper clawsweeper Bot added 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. and removed 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 Jul 5, 2026
@steipete
steipete merged commit def41b3 into main Jul 5, 2026
13 checks passed
@steipete
steipete deleted the claude/practical-bun-11528b branch July 5, 2026 01:27
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
…ster theme (openclaw#412)

Rework the status dashboard and triage pages: serif status headline with health dot, borderless stat ticker, pipeline stepper, single stacked capacity bar, and dense two-line worker rows replace the boxed card layout. Warm system light/dark theme via light-dark(), one lobster-coral accent, quiet outline pills, GitHub label dot-pills, emoji-free labels. Presentation-only; data, routes, and drill-down behavior unchanged. Before/after captures in docs/assets/dashboard-redesign/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient Contributor real behavior proof is sufficient. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant