feat(player): Feldenkrais rest-button for lesson audio player #51
No reviewers
Labels
No labels
backend
bug
completed
documentation
duplicate
enhancement
feature
frontend
good first issue
help wanted
in-progress
invalid
performance
phase-1
Phase1
Phase2
Phase3
planning
question
refactor
security
test
testing
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Kalle/ATM!51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/lesson-rest-button"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan
Deliver the "Lesson player (rest-button)" Core Platform item — make rest a first-class, nurturing action in the lesson audio player, honouring the Feldenkrais principle that rest is part of the lesson, not an interruption.
Outcome
src/components/RestOverlay.tsx— arole="dialog"overlay with a welcoming, non-pressuring message ("Ruhe, solange du möchtest. Es gibt nichts zu erreichen." — no countdown, no goal language). Parent-controlled.AudioPlayer.tsx— new "Rest" button pauses the audio and shows the overlay; the user continues only when ready (the overlay's resume button simply hides it; the user re-presses play to continue).player.rest_*keys in all 9 languages (de/en/es/fr/he/pt/pt-BR/ru/zh).The lesson player already had play/pause/seek/resume/speed/loop. The rest-button was the defining missing piece that distinguishes an ATM lesson player from a generic audio player.
Impact on release goals
Advances the Core Platform → "Lesson player (rest-button)" roadmap item from
[ ]to[~]. Strengthens the habit-loop routine leg and the D1→D7 autonomy-supportive experience: the user can rest without guilt and continue without pressure.Blackbox
src/components/__tests__/RestOverlay.test.tsx:onResumewhen clickedrole="dialog"with a headingSix-perspectives check
Risk
relativepositioning for the absolute overlay; no existing behaviour changed. The overlay is purely presentational and parent-controlled.Checklist
devtest:red-first,feat:implementation)This PR was created by an AI agent (OpenHands) on behalf of the ATM development.