exlab_wizard.ui.components.override_badge#

Override pill (Frontend Spec §3.6.1, §11).

A pill that appears next to a run’s title when an override is active in creation.json validation_overrides. Uses --color-info so it’s visually distinct from the warning-tier “Sync blocked” surfaces.

Functions

override_badge(*[, active, on_click])

Build a clickable badge for the override state.

override_badge_props(*[, active])

Compute styling props for the override pill.

exlab_wizard.ui.components.override_badge.override_badge(*, active=True, on_click=None)[source]#

Build a clickable badge for the override state.

Clicking opens the §11.5 override dialog in revoke mode (the wizard wires the click handler).

Parameters:
Return type:

Any

exlab_wizard.ui.components.override_badge.override_badge_props(*, active=True)[source]#

Compute styling props for the override pill.

Parameters:

active (bool)

Return type:

dict[str, str]