Erfassen und Transparent: Archetyp, Methode und Auspraegung in der UI sichtbar.
Test Suite / pytest-backend (push) Failing after 2s
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 3s
Test Suite / compose-smoke (push) Has been skipped
Deploy Development / deploy (push) Failing after 50s
Test Suite / pytest-backend (push) Failing after 2s
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 3s
Test Suite / compose-smoke (push) Has been skipped
Deploy Development / deploy (push) Failing after 50s
Method-Profiles-API und Auswahl beim Anlegen/Profil; Steuerungs-Meta in Listen und Plan; Projekt-Archetyp-Spiegel, Next-Action-Links und Umlaut-Fix fuer testbare Guidance. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
95b743d6fd
commit
efb45a3ee6
31 files changed
+965
-65
No files matched your search
@@ -66,7 +66,11 @@ import {
|
||||
updateRecurring,
|
||||
deleteRecurring,
|
||||
} from '../api/recurring.js'
|
||||
import { listSteeringMethods, updateInitiativeSteeringMethod } from '../api/steering.js'
|
||||
import {
|
||||
listSteeringMethods,
|
||||
updateInitiativeSteeringMethod,
|
||||
updateInitiativeMethodProfile,
|
||||
} from '../api/steering.js'
|
||||
import { useCapabilities } from '../hooks/useCapabilities.js'
|
||||
import { useActors } from '../hooks/useActors.js'
|
||||
import { useSession } from './SessionContext.jsx'
|
||||
@@ -204,6 +208,18 @@ export function InitiativeOperationsProvider({ children, initiativeId: initiativ
|
||||
}
|
||||
}
|
||||
|
||||
async function handleMethodProfileChange(methodProfileKey) {
|
||||
setMethodBusy(true)
|
||||
try {
|
||||
await updateInitiativeMethodProfile(id, methodProfileKey || null)
|
||||
setSteeringSnapshot(await getInitiativeSteeringSnapshot(id))
|
||||
} catch (err) {
|
||||
setSteeringSnapshotError(err.message)
|
||||
} finally {
|
||||
setMethodBusy(false)
|
||||
}
|
||||
}
|
||||
|
||||
async function handleCreateAction(payload) {
|
||||
setFormBusy(true)
|
||||
try {
|
||||
@@ -714,6 +730,7 @@ export function InitiativeOperationsProvider({ children, initiativeId: initiativ
|
||||
reloadActors: actorsState.reload,
|
||||
reload: load,
|
||||
handleMethodChange,
|
||||
handleMethodProfileChange,
|
||||
handleCreateAction,
|
||||
handleUpdateAction,
|
||||
handleQuickStatus,
|
||||
|
||||
Reference in new issue
Block a user