Skip to main content

Module dashboard

Module dashboard 

Source
Expand description

Ratatui TUI status table for pane 0.

Reads from BrokerState on a 1-second tick and renders a read-only agent status table. The v0.3.0 dashboard is display-only — the only interaction is quitting with q.

Structs§

AgentRow
A formatted row for display in the agent status table.

Functions§

format_age
Formats an elapsed duration as a human-readable relative time string.
format_agent_rows
Converts raw agent status entries into formatted display rows.
format_status_line
Produces a summary status line for the dashboard footer.
run_dashboard
Runs the dashboard TUI, polling broker state on a 1-second tick.
status_symbol
Maps an agent status label to a Unicode symbol.