feat(infra): fully dynamic dashboard layout with auto-adaptive grid
- Replace fixed grid-column spans with auto-fill grid - Charts auto-hide when no data available (no gaps) - System Resources row spans full width only when data exists - Responsive breakpoints for mobile, tablet, desktop - SVG charts scale with container width
This commit is contained in:
@@ -622,7 +622,7 @@ func dashboard(w http.ResponseWriter, _ *http.Request) {
|
||||
TraceVolume: trc, TraceList: tr, Labels: labels,
|
||||
SystemName: composeProject, TotalUp: running, TotalDown: degraded,
|
||||
Links: autoDetectLinks(svcs),
|
||||
HasOTelData: len(rps) > 0 || len(lat) > 0 || len(tr) > 0,
|
||||
HasOTelData: len(rps) > 0 || len(lat) > 0, // actual OTel collector metrics
|
||||
HasNodeData: node.Online,
|
||||
Node: node,
|
||||
HealthSVG: template.HTML(svgDonut(running, degraded)),
|
||||
|
||||
Reference in New Issue
Block a user