Expand description
The watchlist grid (#47): the live view of a running watchlist.
One row per target, breached rows first. A breach that starts rings the
bell once and shows a banner until the next key. Enter opens the
detail of the selected row: each cell with its value, its status and a
chart of its last values. Evidence keys put the matching CLI command in
the shell and run it there.
The state is pure: the event loop feeds it GridMsgs from the run and
keys from the user; draw draws it.
Structs§
- Grid
State - The grid’s state.
Enums§
- Grid
Action - What a key in the grid asks the event loop to do.
- GridMsg
- What the run sends the grid.
Constants§
- DETAIL_
LEGEND - ENDED_
LEGEND - GRID_
LEGEND - The key legend of the grid and of the detail pane.
- STALE_
NOTE - Shown while a run uses the settings from before
setupsaved new ones.
Functions§
- draw
- Draws the grid in
area. - snapshot_
text - The snapshot as plain text, for the scrollback copy when the grid closes.
- summary
- The scrollback summary when the grid closes.