Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/debug/components/ChooserCard

Cockpit client (features), next. Source: ui/client/features/debug/components/ChooserCard.tsx.

Functions#

ChooserCard()#

ChooserCard(__namedParameters): Element

Defined in: ui/client/features/debug/components/ChooserCard.tsx:19

One closed question of the debug chain: its options, each with why it is or isn't on offer, and its exit. Every option and the exit is one button; picking one answers the chooser (the parent re-reads and moves on). debug.fix's exit is rendered exactly like every other option (LIN-82 decision a: no new exit-kind UI affordance), just with the label its kind: 'ai' action carries ("Fill with AI (reviewable diff)").

Parameters#

__namedParameters

ChooserCardProps

Returns#

Element


shortName()#

shortName(id): string

Defined in: ui/client/features/debug/components/ChooserCard.tsx:13

The short name a chooser id ends in, used for stable data-testids (debug-step-reproduce, debug-answer-fix-rename, ...).

Parameters#

id

StepId

Returns#

string