Skip to main content

AlertStatusTooltip

Wraps admin alert status badges with an InteractiveTooltip that educates admins on active (system processing) vs published (user visibility).

Props​

PropRole
type'active' or 'published' — which dimension the tooltip explains
isActive / isPublishedOptional current flags; when both set, shows visibility matrix
childrenTrigger element (badge, icon, label)

Content​

getStatusInfo supplies title, description, purpose, examples, and optional current state coloring (success / warning / danger / info).

When both flags are provided, Visibility matrix highlights the quartet: disabled draft, active draft, published inactive, and live (active + published = visible).

Uses SiteIcon catalog icons (wrench, megaphone, check/circleX matrix).


Sources: src/app/admin/components/AlertStatusTooltip.tsx, src/app/admin/components/AlertStatusTooltip.css, src/app/components/tooltip/InteractiveTooltip.tsx