Pomodoro Timer: Fix
Pomodoro Timer: Fix
Changes:
- Fix: Pause Tracking: Resolved an issue where time spent in "Pause" was lost if the user clicked "Resume". Now, all pause durations are correctly recorded as Break sessions.
- Fix: Manual Transitions: Manually stopping a session (e.g., clicking "Break" while working) now safely saves the partial progress instead of discarding it.
- New: Timer Precision: Replaced tick-based timing with Delta Time calculation to prevent timer drift in background tabs.
- New: Robust Sleep Handling: Sessions that finish while the computer is sleeping are now correctly reconciled and saved upon waking.
- Style: Applied Prettier formatting to all modified files.
Verification:
- Start Work -> Pause -> Resume -> Verify "Break" entry created for the gap.
- Start Work -> Click "Break" -> Verify partial "Work" session saved.
-
npm run format:checkpassed.
Full Changelog: 2.0.4...2.0.5