- Admin: per-block "Break Time" checkbox + duration (min) setting; new
Break Activities section (global list, same pattern as Morning Routine)
- Dashboard: break timer section appears on blocks with break enabled;
Start/Pause/Resume/Reset controls work independently of the main timer
- TV: left column switches to amber break badge + countdown during break;
center column shows configurable Break Activities list
- Backend: break_time_enabled/break_time_minutes columns on schedule_blocks
(auto-migrated on startup); break_activity_items table + CRUD router;
break timer events (break_start/pause/resume/reset) stored as TimerEvents
and broadcast via WebSocket; break_activities included in dashboard
snapshot and session_update broadcast
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Reset clears the current block's elapsed time to zero and immediately
starts the timer. A shared compute_block_elapsed() utility (utils/timer.py)
handles the elapsed calculation in both the sessions and dashboard routers,
and correctly treats "reset" events as zero-elapsed restart markers so
page reloads after a reset show accurate times.
Layout: Start/Pause/Resume/Reset are grouped on the left; End Day sits
on the right via justify-content: space-between.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>