feat: enhance TrainingCoachPage with exercise details and navigation
Deploy Development / deploy (push) Successful in 34s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 6s
Test Suite / playwright-tests (push) Failing after 1m54s

- Replaced ExercisePeekModal with ExerciseFullContent for improved exercise visibility.
- Added CoachStepNavBar component for better navigation between training steps.
- Implemented loading and error handling for fetching exercise details based on the current step.
- Updated UI elements for a more cohesive layout and improved user experience.
This commit is contained in:
Lars committed 2026-04-29 07:58:28 +02:00
1 parent af3476b833
commit 6fd316e985
3 files changed
+487 -191

No files matched your search

+24
View File
@@ -2740,3 +2740,27 @@ a.analysis-split__nav-item {
page-break-inside: avoid;
}
}
/* Coach — volle Übung, Nur-Mittelbereich scrollt; Steuerung oben/unten sichtbar */
.training-coach-layout {
display: flex;
flex-direction: column;
width: 100%;
max-width: 720px;
margin: 0 auto;
min-height: calc(100dvh - var(--header-h) - var(--nav-h) - env(safe-area-inset-bottom, 0px) - 48px);
}
@media (min-width: 1024px) {
.training-coach-layout {
min-height: calc(100dvh - env(safe-area-inset-bottom, 0px) - 24px);
}
}
.training-coach-scroll {
flex: 1;
min-height: 0;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding-bottom: 4px;
}