Repository navigation
feat(dashboard): redesign live and triage pages — editorial hero, stat ticker, worker rows, lobster theme - #412
Conversation
|
Codex review: found issues before merge. Reviewed July 4, 2026, 9:09 PM ET / 01:09 UTC. Summary 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.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest 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:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0d6aa5054c5a. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
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
|
There was a problem hiding this comment.
💡 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".
| document.getElementById("hero-dot").className = "hero-dot " + (unresolved ? "amber" : "ok"); | ||
| document.getElementById("hero-headline").textContent = | ||
| (unresolved ? "Needs attention" : "All clear") + " — " + |
There was a problem hiding this comment.
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 👍 / 👎.
…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/.
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
More captures: dark variant, worker drill-down dialog
All "after" captures were rendered against a saved production
/api/status//api/triagesnapshot served locally, so before and after show identical live data.Layout rework
Visual language
light-dark(): shell-white light mode, warm charcoal dark mode.Verification
pnpm run build:dashboard(tsgo),pnpm run lint:dashboard(oxlint),pnpm run format:checkall clean.node --test test/dashboard-worker.test.ts: 53/53 pass (UTF-8 emoji test updated for the new labels, mojibake guard kept).Note: the stylesheet uses
light-dark()andcolor-mix(), which need 2024+ evergreen browsers — fine for this maintainer-facing dashboard.