mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-08-05 08:22:58 +02:00
03006091e5
Add two horizontal 100% stacked-bar charts to the Dashboard, gated behind the existing packets feature flag: - Packet Types: top 6 event_type values + 'other' rollup - Path Bytes: 1b/2b/3b path-hash width distribution (NULL excluded) Driven by a single new cached endpoint GET /api/v1/dashboard/packet-breakdown?days=7 returning pre-bucketed counts. Frontend normalizes to percentages via a new createStackedBarChart helper in charts.js with a 7-hue oklch palette.