Expand description
Live-stream pane — a compact tail of the engine’s WS push
surface. Sourced from crate::app::event_ring::EventRing;
rendered as one row per event in chronological order (newest
at the bottom so the pane reads like a log).
Design choices:
- Self-labeling kind column so operators can scan by color and prefix without waiting for a full decode.
HH:MM:SStimestamps only. Dates are visible in the status bar; repeating them per-row eats horizontal budget without helping.- Honest empty state (
(no engine events yet — waiting …)) when the ring is empty. A blank pane would look calm even when the subscriber is offline, which is exactly the wrong signal to send on a trading terminal. - Broadcast-lag markers render as
!! lag · dropped N eventsin alert color; silently losing events after a burst is a worse failure mode than a loud row.
Structs§
Functions§
- format_
item - Format one ring item as a line of
Spans. Public so tests can assert text + color without threading a fake terminal.