Enhance Exercise Progression Graph Panel and Editor with New Features
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 14s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m26s
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 14s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m26s
- Refactored `ExerciseProgressionGraphPanel` to support a create dialog for new progression graphs, improving user experience. - Integrated `ProgressionGraphListCard` for better visualization of existing graphs and streamlined management. - Updated `ProgressionGraphEditor` to handle start/target analysis and improved draft hydration with AI suggestions. - Added utility functions for managing structured responses from AI, enhancing the planning process. - Incremented application version to reflect these updates.
This commit is contained in:
1 parent
3b483346de
commit
48d51c07c5
5 files changed
+687
-276
No files matched your search
@@ -95,6 +95,7 @@ function ExercisesListPageRoot() {
|
||||
const [quickSaving, setQuickSaving] = useState(false)
|
||||
const [quickAiError, setQuickAiError] = useState('')
|
||||
const [quickCreateDraft, setQuickCreateDraft] = useState(null)
|
||||
const progressionPanelRef = useRef(null)
|
||||
|
||||
const planningKi = usePlanningExerciseSuggestSearch({
|
||||
enabled: pageTab === 'list' && aiQuickCreateEnabled,
|
||||
@@ -653,7 +654,13 @@ function ExercisesListPageRoot() {
|
||||
)}
|
||||
</div>
|
||||
) : (
|
||||
<span aria-hidden="true" />
|
||||
<button
|
||||
type="button"
|
||||
className="btn btn-primary"
|
||||
onClick={() => progressionPanelRef.current?.openCreateDialog?.()}
|
||||
>
|
||||
+ Neu
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -676,7 +683,7 @@ function ExercisesListPageRoot() {
|
||||
</div>
|
||||
}
|
||||
>
|
||||
<ExerciseProgressionGraphPanel />
|
||||
<ExerciseProgressionGraphPanel ref={progressionPanelRef} />
|
||||
</Suspense>
|
||||
) : (
|
||||
<>
|
||||
|
||||
Reference in new issue
Block a user