Skip to content

feat: replace TPS sparkline with recharts line chart#31

Merged
amigoer merged 1 commit intomainfrom
feat/tps-charts
Apr 4, 2026
Merged

feat: replace TPS sparkline with recharts line chart#31
amigoer merged 1 commit intomainfrom
feat/tps-charts

Conversation

@amigoer
Copy link
Copy Markdown
Owner

@amigoer amigoer commented Apr 4, 2026

Summary

  • Replace simple SVG sparkline with recharts LineChart in broker detail sidebar
  • Chart includes time axis, grid lines, hover tooltip, and dual-line legend (TPS In / TPS Out)
  • Increase data history from 30 to 60 points (5-minute window at 5s polling)
  • Chart colors use CSS variables for automatic dark/light theme support
  • Animation disabled for smooth real-time updates
  • Widen broker detail drawer to accommodate the chart
  • Add today's message in/out count to broker detail stats

Use recharts LineChart with time axis, grid, tooltip, and legend.
Increase history from 30 to 60 data points (5 min window).
Add today's message in/out stats to broker detail panel.
@amigoer amigoer merged commit db6332e into main Apr 4, 2026
@amigoer amigoer deleted the feat/tps-charts branch April 4, 2026 16:16
amigoer added a commit that referenced this pull request Apr 5, 2026
feat: replace TPS sparkline with recharts line chart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant