Enhance Progression Graph Management with F15 Features and Evaluation Improvements
Deploy Development / deploy (push) Successful in 41s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m21s
Deploy Development / deploy (push) Successful in 41s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m21s
- Updated `PROJECT_STATUS.md` to reflect the implementation of F15 features, including the unified slot review and handling of `findings_stale`. - Enhanced `PROGRESSION_GRAPH_SLOT_EDITOR_SPEC.md` with detailed descriptions of new functionalities related to the match dialog and path quality assessments. - Introduced new functions in `exercise_progression_graphs.py` to validate exercise visibility against progression graph settings, ensuring proper governance. - Improved frontend components to support new governance parameters (visibility and club_id) in exercise creation workflows. - Updated documentation in `HANDOVER.md` and `PLANNING_KI_ROADMAP.md` to outline the latest developments and validation results for the F15 features. - Enhanced utility functions for exercise creation to incorporate governance settings, improving the overall user experience in the path builder and editor.
This commit is contained in:
1 parent
b629f192ac
commit
4b9374765b
11 files changed
+291
-50
No files matched your search
@@ -285,10 +285,12 @@ function ExerciseProgressionGraphPanel(
|
||||
}
|
||||
}
|
||||
|
||||
const promoteClubId = nextVis === 'club' ? resolvePromoteClubId() : null
|
||||
await api.updateExerciseProgressionGraph(selectedGraphId, {
|
||||
name,
|
||||
description: metaDescription.trim() || null,
|
||||
visibility: metaVisibility,
|
||||
...(promoteClubId != null ? { club_id: promoteClubId } : {}),
|
||||
})
|
||||
await refreshGraphs()
|
||||
alert('Graph-Metadaten gespeichert.')
|
||||
|
||||
@@ -589,6 +589,7 @@ export default function ExerciseProgressionPathBuilder({
|
||||
const [gapPrepFocusAreaId, setGapPrepFocusAreaId] = useState('')
|
||||
const [gapPrepError, setGapPrepError] = useState('')
|
||||
const [loadedPlanningHint, setLoadedPlanningHint] = useState(false)
|
||||
const [graphGovernance, setGraphGovernance] = useState({ visibility: 'private', clubId: null })
|
||||
const [wizardStep, setWizardStep] = useState(1)
|
||||
const [pathInsertNotice, setPathInsertNotice] = useState('')
|
||||
|
||||
@@ -670,6 +671,10 @@ export default function ExerciseProgressionPathBuilder({
|
||||
.getExerciseProgressionGraph(Number(graphId))
|
||||
.then((g) => {
|
||||
if (cancelled) return
|
||||
setGraphGovernance({
|
||||
visibility: g?.visibility || 'private',
|
||||
clubId: g?.club_id ?? null,
|
||||
})
|
||||
const art = g?.planning_roadmap
|
||||
if (!art) return
|
||||
if (art.goal_query) setGoalQuery(String(art.goal_query))
|
||||
@@ -1056,7 +1061,7 @@ export default function ExerciseProgressionPathBuilder({
|
||||
setQuickSaving(true)
|
||||
setQuickAiError('')
|
||||
try {
|
||||
const payload = buildQuickCreateExercisePayloadFromDraft(quickCreateDraft)
|
||||
const payload = buildQuickCreateExercisePayloadFromDraft(quickCreateDraft, graphGovernance)
|
||||
const created = await api.createExercise(payload)
|
||||
if (!created?.id) throw new Error('Anlegen fehlgeschlagen')
|
||||
insertExerciseFromOffer(created, activeOffer)
|
||||
|
||||
@@ -880,7 +880,10 @@ export default function ProgressionGraphEditor({ graphId, embedded = false, onSa
|
||||
setSlotQuickSaving(true)
|
||||
setSlotQuickError('')
|
||||
try {
|
||||
const payload = buildQuickCreateExercisePayloadFromDraft(slotQuickCreateDraft)
|
||||
const payload = buildQuickCreateExercisePayloadFromDraft(slotQuickCreateDraft, {
|
||||
visibility: graphMeta?.visibility || 'private',
|
||||
clubId: graphMeta?.club_id ?? null,
|
||||
})
|
||||
const created = await api.createExercise(payload)
|
||||
if (!created?.id) throw new Error('Anlegen fehlgeschlagen')
|
||||
setDraft((prev) => ({
|
||||
|
||||
Reference in new issue
Block a user