feat(version): bump to 0.8.109 and enhance combination exercise features
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 35s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 11s
Test Suite / playwright-tests (push) Successful in 56s
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 35s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 11s
Test Suite / playwright-tests (push) Successful in 56s
- Updated app version to 0.8.109, reflecting recent improvements in combination exercise handling. - Introduced `rep_series_count` for slot profiles, allowing for multiple series in `rep` and `manual` modes, enhancing flexibility in exercise configurations. - Updated the CombinationMethodProfileEditor and CombinationCoachSlots components to support and display the new series count feature. - Enhanced ExerciseFormPage to manage series count and intra-series pauses effectively, improving user experience. - Documented changes in the changelog for better tracking of feature enhancements. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
38d84ecdf6
commit
cf9932990e
9 files changed
+251
-48
No files matched your search
@@ -59,3 +59,17 @@ export function sortCombinationSlotsForDisplay(slotsRaw) {
|
||||
return String(a.title || '').localeCompare(String(b.title || ''), 'de')
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Vorgabe „Serien“ pro Station bei Steuerung rep/manual, wenn kein Wert in `slot_profiles_v1` steht.
|
||||
* Nur Archetypen eintragen, die fachlich ≠ 1 verlangen; sonst Standard 1.
|
||||
*/
|
||||
export const ARCHETYPE_DEFAULT_REP_SERIES_COUNT = Object.freeze({})
|
||||
|
||||
export function defaultRepSeriesCountForArchetype(archetypeId) {
|
||||
const key = archetypeId != null ? String(archetypeId).trim() : ''
|
||||
const raw = key ? ARCHETYPE_DEFAULT_REP_SERIES_COUNT[key] : undefined
|
||||
const n = typeof raw === 'number' ? raw : raw != null ? parseInt(String(raw), 10) : NaN
|
||||
if (!Number.isFinite(n) || n < 1) return 1
|
||||
return Math.round(n)
|
||||
}
|
||||
Reference in new issue
Block a user