Some checks failed
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Failing after 45s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 15s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m21s
- Introduced EvaluateStepPayload class to facilitate evaluation of exercise steps with optional attributes for AI proposals and roadmap details. - Added SlotContentEntry and SlotExerciseContent classes to manage exercise content within the progression graph planning artifact. - Updated GraphPlanningRoadmapArtifact to include new slot contents and last findings attributes for improved data handling. - Enhanced Exercise Progression Graph Panel with links to the new Slot Editor for streamlined editing of progression graphs. - Incremented application version to reflect these updates.
26 lines
719 B
JavaScript
26 lines
719 B
JavaScript
import React from 'react'
|
|
import { Link, useParams } from 'react-router-dom'
|
|
import ProgressionGraphEditor from '../components/ProgressionGraphEditor'
|
|
|
|
export default function ProgressionGraphEditPage() {
|
|
const { id } = useParams()
|
|
const graphId = Number(id)
|
|
|
|
if (!Number.isFinite(graphId) || graphId < 1) {
|
|
return (
|
|
<div className="page" style={{ padding: '16px' }}>
|
|
<p className="form-error">Ungültige Graph-ID.</p>
|
|
<Link to="/exercises" className="btn btn-secondary">
|
|
Zurück
|
|
</Link>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
return (
|
|
<div className="page" style={{ padding: '16px', paddingBottom: '80px' }}>
|
|
<ProgressionGraphEditor graphId={graphId} />
|
|
</div>
|
|
)
|
|
}
|