{#
Single source of truth for task/run status visuals.
status_dot(status): renders the status indicator — a glyph for the
terminal states (completed -> check, failed -> x, dep_failed ->
skipped) and a colored dot for the in-flight states (pending,
submitted, queued, running, settling) and cancelled.
Centralising this means no view can drift or silently forget a state
(settling was previously missing a dot in four separate templates).
Pass the *string* value, e.g. item.status.value or run.status.value.
#}
{% macro status_dot(status) -%}
{%- if status == 'completed' -%}
{%- elif status == 'failed' -%}
{%- elif status == 'dep_failed' -%}
{%- elif status == 'running' -%}
{%- elif status == 'settling' -%}
{%- elif status == 'submitted' -%}
{%- elif status == 'queued' -%}
{%- else -%}{# pending, cancelled, and any unknown state #}
{%- endif -%}
{%- endmacro %}