use ui::widgets;
widgets::status_dot(match job.state {
State::Running => theme.success,
State::Queued => theme.warning,
State::Failed => theme.danger,
})- The caller maps its own states to a theme tone.
Components / Status
Markdown crates/ui/src/widgets/mod.rs docs.rs
Install the bezel skill once
npx skills add crabtalk/bezel --skill bezelThen ask
Put a green, amber or red dot beside each job in the list for running, queued and failed.use ui::widgets;
widgets::status_dot(match job.state {
State::Running => theme.success,
State::Queued => theme.warning,
State::Failed => theme.danger,
})