All checks were successful
Deploy Development / deploy (push) Successful in 44s
Test Suite / pytest-backend (push) Successful in 2m52s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 13s
Ermöglicht APs zurück in den Eingang zu schieben, Bugs/Issues mit Feature-Bezug zu planen und den Scrum-Sprint-Ablauf in der UI. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
726 B
JavaScript
26 lines
726 B
JavaScript
export function FeatureParentSelect({
|
|
featureActions = [],
|
|
defaultValue = '',
|
|
disabled = false,
|
|
label = 'Bezug zu Feature (Arbeitspaket)',
|
|
}) {
|
|
return (
|
|
<label>
|
|
{label}
|
|
<select name="parent_action_id" defaultValue={defaultValue} disabled={disabled}>
|
|
<option value="">— kein Bezug —</option>
|
|
{featureActions.map((action) => (
|
|
<option key={action.id} value={action.id}>
|
|
{action.title}
|
|
</option>
|
|
))}
|
|
</select>
|
|
{featureActions.length === 0 && (
|
|
<span className="muted form-hint">
|
|
Lege zuerst ein Feature-Arbeitspaket an (Story/Lieferung), um Bugs/Issues zu verknüpfen.
|
|
</span>
|
|
)}
|
|
</label>
|
|
)
|
|
}
|