AP2.4: Steuerungselement-Registry und Methoden-Vertrag.
Deploy Development / deploy (push) Successful in 46s
Test Suite / pytest-backend (push) Failing after 3m17s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Deploy Development / deploy (push) Successful in 46s
Test Suite / pytest-backend (push) Failing after 3m17s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
MethodDefinition traegt steering_elements/ui_features/graph_profile; operating-context und FE-Registry ohne Archetyp-Ifs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
ac475ab92c
commit
d3bf3c36e0
25 files changed
+837
-118
No files matched your search
@@ -4,11 +4,14 @@ import { useInitiativeOperations } from '../../context/InitiativeOperationsConte
|
||||
import { SteeringSnapshotPanel } from '../../components/SteeringSnapshotPanel.jsx'
|
||||
import { CriticalPathPanel } from '../../components/CriticalPathPanel.jsx'
|
||||
import { NextActionWidget } from '../../widgets/NextActionWidget.jsx'
|
||||
import {
|
||||
hasSteeringElement,
|
||||
steeringElementUi,
|
||||
} from '../../registry/steeringElementRegistry.js'
|
||||
|
||||
export function InitiativeOverviewPage() {
|
||||
const {
|
||||
initiativeId,
|
||||
initiative,
|
||||
actions,
|
||||
error,
|
||||
steeringSnapshot,
|
||||
@@ -18,11 +21,12 @@ export function InitiativeOverviewPage() {
|
||||
methodBusy,
|
||||
capabilities,
|
||||
handleMethodChange,
|
||||
uiFeatures,
|
||||
steeringElements,
|
||||
} = useInitiativeOperations()
|
||||
|
||||
const counts = steeringSnapshot?.counts || {}
|
||||
const showCriticalPath = Boolean(uiFeatures.criticalPathControl)
|
||||
const showCriticalPath = hasSteeringElement(steeringElements, 'critical_path')
|
||||
const criticalPathUi = steeringElementUi(steeringElements, 'critical_path')
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -51,16 +55,8 @@ export function InitiativeOverviewPage() {
|
||||
items={steeringSnapshot?.next_actions}
|
||||
loading={steeringSnapshotLoading}
|
||||
embedded
|
||||
title={
|
||||
showCriticalPath
|
||||
? 'Nächster Schritt am kritischen Pfad'
|
||||
: undefined
|
||||
}
|
||||
subtitle={
|
||||
showCriticalPath
|
||||
? 'Empfehlung aus sequential_dependency — bereite Arbeitspakete zuerst.'
|
||||
: undefined
|
||||
}
|
||||
title={criticalPathUi?.nextActionTitle}
|
||||
subtitle={criticalPathUi?.nextActionSubtitle}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
Reference in new issue
Block a user