fix(beszel): improve stats date display, add click-to-stats modal, fix grid ordering

- X axis shows MMM D for 1w/30d periods, HH:mm for shorter ones
- Tooltip shows full date+time via portal with viewport clamping
- connectNulls=false to stop gap-filling in charts
- Fixed time grid for 1w/30d ensures full period always shown
- Click server in grid/table widgets to open stats modal with charts
- Grid/table systems sorted alphabetically for stable ordering
- Table header frosted-glass blur, subtle hover on both widgets
- Daily aggregation (1440m) for 1w (9pts) and 30d (32pts)
This commit is contained in:
Thomas Camlong committed 2026-06-20 14:37:26 +02:00
1 parent 39e424563a
commit 35cac9b46b
10 files changed
+330 -47

No files matched your search

+2 -2
View File
@@ -95,8 +95,8 @@ const timePeriodConfig: Record<string, { type: string; perPage: number; cacheSec
"1h": { type: "1m", perPage: 60, cacheSeconds: 60 },
"12h": { type: "10m", perPage: 72, cacheSeconds: 300 },
"24h": { type: "20m", perPage: 72, cacheSeconds: 600 },
"1w": { type: "120m", perPage: 84, cacheSeconds: 1800 },
"30d": { type: "480m", perPage: 90, cacheSeconds: 3600 },
"1w": { type: "1440m", perPage: 9, cacheSeconds: 1800 },
"30d": { type: "1440m", perPage: 32, cacheSeconds: 3600 },
};
export interface BeszelStatsData {