Components / Status

Status dot

Markdown crates/ui/src/widgets/mod.rs docs.rs

Status dot

Ask your agent

Install the bezel skill once

npx skills add crabtalk/bezel --skill bezel

Then 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,
})
  • The caller maps its own states to a theme tone.