Line

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

ui/client/features/tests/components/StoryCompareControl

Cockpit client (features), next. Source: ui/client/features/tests/components/StoryCompareControl.tsx.

Functions#

StoryCompareControl()#

StoryCompareControl(__namedParameters): Element | null

Defined in: ui/client/features/tests/components/StoryCompareControl.tsx:17

AI compare, behind the Mechanical | AI toggle: the mechanical side is the three-list compare already on this screen (0 model calls); choosing AI cites which code unit(s) satisfy which acceptance line, verified mechanically before the result is ever shown. Renders only when the feature has a story.md (design 9.1 activation rule: story-dependent UI exists only then).

Props#

Prop Type Required Default Description
feature string Yes —
story StoryCoverage Yes —
codeUnits string[] Yes —

Returns#

Element | null