DashboardGrid lays widgets on columns: a tile's strip drags it and its corner resizes it a cell at a time, others move down and rise to fill gaps, a focused tile steps with the arrows, and under the theme's stack_below width the tiles stand in one column. DashboardCard frames a widget. AlertList acknowledges a firing alert from its row and opens one on Enter; IncidentCard shows an incident's gravity, phase and updates. UptimeBar, ServiceStatus and HealthCheck show what is up, a check's detail wrapping under its name when narrow. EventStream keeps kinds and holds the list while new events count up. RefreshIntervalSelector and DashboardFilterBar set the window, the filters and the refresh. StatCard, MetricsChart, ResourceGauge, LogStream, TraceWaterfall, SystemMonitor, ProcessTable and NetworkGraph point to their homes; the maps wait for T41. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
591 B
Rust
21 lines
591 B
Rust
mod alerts;
|
|
mod card;
|
|
mod controls;
|
|
mod events;
|
|
mod grid;
|
|
mod status;
|
|
mod tiles;
|
|
|
|
#[cfg(all(test, feature = "test-support"))]
|
|
mod tests;
|
|
|
|
pub use alerts::{
|
|
AlertList, AlertState, Incident, IncidentCard, IncidentPhase, IncidentUpdate, MonitorAlert,
|
|
};
|
|
pub use card::DashboardCard;
|
|
pub use controls::{DashboardFilter, DashboardFilterBar, RefreshIntervalSelector, TimeWindow};
|
|
pub use events::{EventStream, StreamEvent};
|
|
pub use grid::DashboardGrid;
|
|
pub use status::{Check, Health, HealthCheck, Service, ServiceStatus, UptimeBar, overall, uptime};
|
|
pub use tiles::{Tile, arranged, stepped};
|