AP1.1: Method Registry — product_milestone_driven + Methode wählbar
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 1m23s
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 12s
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 1m23s
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 12s
Zweite Built-in-Methode mit meilensteinorientierter NextAction-Strategie, API und UI-Auswahl pro Vorhaben; AP0.10d Validation-Vorlagen. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
95feba6204
commit
fc956d4ceb
27 files changed
+684
-15
No files matched your search
@@ -17,7 +17,15 @@ function formatDate(iso) {
|
||||
}
|
||||
}
|
||||
|
||||
export function SteeringSnapshotPanel({ snapshot, loading, error }) {
|
||||
export function SteeringSnapshotPanel({
|
||||
snapshot,
|
||||
loading,
|
||||
error,
|
||||
methods = [],
|
||||
canManageMethod = false,
|
||||
onMethodChange,
|
||||
methodBusy = false,
|
||||
}) {
|
||||
if (loading) {
|
||||
return (
|
||||
<section className="card steering-snapshot">
|
||||
@@ -42,6 +50,8 @@ export function SteeringSnapshotPanel({ snapshot, loading, error }) {
|
||||
const {
|
||||
lifecycle_state,
|
||||
lifecycle_label,
|
||||
method_key,
|
||||
method_label,
|
||||
operating_phase,
|
||||
operating_phase_deprecated,
|
||||
phase_signals,
|
||||
@@ -66,6 +76,29 @@ export function SteeringSnapshotPanel({ snapshot, loading, error }) {
|
||||
<span className="badge status-badge status-active">{displayLabel}</span>
|
||||
</div>
|
||||
|
||||
{(method_label || canManageMethod) && (
|
||||
<p className="steering-method-row">
|
||||
<span className="muted">Methode: </span>
|
||||
{canManageMethod && methods.length > 0 ? (
|
||||
<select
|
||||
className="inline-select steering-method-select"
|
||||
value={method_key || 'generic_operating'}
|
||||
disabled={methodBusy}
|
||||
onChange={(e) => onMethodChange?.(e.target.value)}
|
||||
aria-label="Steuerungsmethode"
|
||||
>
|
||||
{methods.map((m) => (
|
||||
<option key={m.key} value={m.key}>
|
||||
{m.label}
|
||||
</option>
|
||||
))}
|
||||
</select>
|
||||
) : (
|
||||
<strong>{method_label || method_key}</strong>
|
||||
)}
|
||||
</p>
|
||||
)}
|
||||
|
||||
{phaseDesc && <p className="steering-phase-desc">{phaseDesc}</p>}
|
||||
|
||||
{phase_signals?.length > 0 && (
|
||||
|
||||
Reference in new issue
Block a user