feat(ui): overhaul dashboard with theme-aware charts, auto-refresh, and system metrics#1255
Merged
Merged
Conversation
…nd system metrics - Replace hardcoded chart hexes with a theme-derived palette (useChartPalette): muted alpha fills, full-strength colors only for legends/readouts, softened grid and tick lines so charts match the active theme - Add shared usePolling (30s, pauses on hidden tab) and apply to all dashboard data hooks; Refresh button now refreshes every source with an updated-at stamp - Add MonitorClient and a CPU/memory time-series chart fed by monitor /history; monitor joins the service health grid (6 services) - Add OverviewStats row (agents, approvals, notifications, questions, workflows, cost) with graceful degradation per source - Add stacked 24h ActivityChart and make the recent-activity feed show real notifications, questions, and agent state changes via useActivityFeed - Fix MSW handler ordering bug (/notifications/:id shadowing count/actionable/history) - Document API instrumentation gaps in docs/instrumentation.md Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
Author
|
This change is part of the following stack: Change managed by git-spice. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1255 +/- ##
==========================================
+ Coverage 45.45% 45.88% +0.43%
==========================================
Files 376 385 +9
Lines 26755 27042 +287
Branches 2368 2451 +83
==========================================
+ Hits 12161 12409 +248
- Misses 14573 14611 +38
- Partials 21 22 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
muted alpha fills, full-strength colors only for legends/readouts, softened
grid and tick lines so charts match the active theme
data hooks; Refresh button now refreshes every source with an updated-at stamp
monitor joins the service health grid (6 services)
cost) with graceful degradation per source
notifications, questions, and agent state changes via useActivityFeed
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com