feat(version): bump to 0.8.110 and enhance combination exercise features
Test Suite / lint-backend (push) Waiting to run
Test Suite / build-frontend (push) Waiting to run
Test Suite / playwright-tests (push) Waiting to run
Deploy Development / deploy (push) Successful in 40s
Test Suite / pytest-backend (push) Has been cancelled

- Updated app version to 0.8.110, reflecting recent improvements in combination exercise handling.
- Introduced `load_combination_slots_for_exercise` function to streamline fetching combination slots for exercises.
- Enhanced `TrainingPlanningPage` and `ExercisePeekModal` to utilize the new combination slots functionality, improving user experience.
- Updated changelog to document the latest changes and feature enhancements.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 4.6 committed 2026-05-13 14:24:55 +02:00
1 parent 5dc93d9a8c
commit a8942a9e4e
10 files changed
+475 -84

No files matched your search

+10 -36
View File
@@ -5,8 +5,7 @@ import React, { useEffect, useMemo, useState } from 'react'
import { Link } from 'react-router-dom'
import api from '../utils/api'
import ExerciseRichTextBlock from './ExerciseRichTextBlock'
import CombinationCoachSlots from './CombinationCoachSlots'
import { combinationArchetypeLabel } from '../constants/combinationArchetypes'
import CombinationPlanBracket from './CombinationPlanBracket'
import { effectiveComboMethodProfile } from '../utils/comboPlanningMethodProfile'
function TagMini({ exercise }) {
@@ -100,7 +99,7 @@ export default function ExercisePeekModal({
aria-modal="true"
aria-labelledby="exercise-peek-title"
style={{
maxWidth: sheetWide ? 'min(760px, 96vw)' : '620px',
maxWidth: sheetWide ? 'min(840px, 96vw)' : '620px',
width: '100%',
maxHeight: '88vh',
display: 'flex',
@@ -128,42 +127,17 @@ export default function ExercisePeekModal({
<>
{isCombination ? (
<>
<div
style={{
marginBottom: '12px',
padding: '8px 10px',
borderRadius: '8px',
background: 'var(--surface2)',
border: '1px solid var(--border)',
fontSize: '0.82rem',
color: 'var(--text2)',
lineHeight: 1.45,
}}
>
<strong style={{ color: 'var(--text1)' }}>Kombination</strong>
<span style={{ marginLeft: 8 }}>
{(() => {
const ak = String(exercise.method_archetype || '').trim()
const lbl = ak ? combinationArchetypeLabel(ak) : null
return lbl || ak || 'Archetyp nicht gesetzt'
})()}
</span>
{peekExtras?.planning_method_profile != null &&
typeof peekExtras.planning_method_profile === 'object' &&
!Array.isArray(peekExtras.planning_method_profile) ? (
<span style={{ marginLeft: 8, color: 'var(--accent-dark)', fontWeight: 600 }}>
· Planung angepasst
</span>
) : null}
</div>
<CombinationCoachSlots
<CombinationPlanBracket
methodArchetype={exercise.method_archetype || ''}
methodProfile={comboMethodProfileEffective}
combinationSlots={
Array.isArray(exercise.combination_slots) ? exercise.combination_slots : []
}
methodArchetype={exercise.method_archetype || ''}
methodProfile={comboMethodProfileEffective}
compactPlanningView
omitGlobalKeyValueBlock={false}
planningAdjusted={
peekExtras?.planning_method_profile != null &&
typeof peekExtras.planning_method_profile === 'object' &&
!Array.isArray(peekExtras.planning_method_profile)
}
/>
<hr style={{ border: 'none', borderTop: '1px solid var(--border)', margin: '1rem 0' }} />
</>