feat: update version to 0.7.8 and enhance exercise variant handling
Deploy Development / deploy (push) Successful in 34s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 5s
Test Suite / playwright-tests (push) Failing after 1m57s

- Incremented application version to 0.7.8 and updated database schema version to 20260427030.
- Added support for including exercise variants in the exercise listing API, improving training planning capabilities.
- Enhanced training unit creation and update logic to validate exercise variant IDs, ensuring proper associations.
- Updated frontend components to support exercise variant selection, improving user experience in training planning.
This commit is contained in:
Lars committed 2026-04-28 09:30:33 +02:00
1 parent 2c831d6cea
commit cf9f95377c
6 files changed
+190 -39

No files matched your search

+4
View File
@@ -214,6 +214,10 @@ export async function listExercises(filters = {}) {
const q = new URLSearchParams()
Object.entries(filters).forEach(([k, v]) => {
if (v === undefined || v === null) return
if (typeof v === 'boolean') {
if (v) q.set(k, 'true')
return
}
if (Array.isArray(v)) {
if (v.length === 0) return
v.forEach((item) => {