feat: add quick create draft functionality in ExercisePickerModal
Deploy Development / deploy (push) Successful in 37s
Test Suite / pytest-backend (push) Successful in 7s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 6s
Test Suite / playwright-tests (push) Successful in 22s

- Introduced a quick create draft feature allowing users to create private exercise drafts directly from the ExercisePickerModal.
- Added state management for quick create inputs including title and summary, with validation for minimum title length.
- Updated the Dashboard to display a preview of private exercise drafts, enhancing user visibility of pending exercises.
- Enabled quick create functionality in TrainingFrameworkProgramEditPage and TrainingPlanningPage for streamlined exercise management.
This commit is contained in:
Lars committed 2026-05-07 09:20:19 +02:00
1 parent ff8fd78a31
commit c6a7d668c5
4 files changed
+156 -2

No files matched your search

@@ -1086,6 +1086,7 @@ export default function TrainingFrameworkProgramEditPage() {
<ExercisePickerModal
open={sectionPickerCtx != null}
multiSelect
enableQuickCreateDraft
onClose={() => setSectionPickerCtx(null)}
onSelectExercises={async (picked) => {
if (!sectionPickerCtx || !picked?.length) return