github jcharvet/pulsodoro v0.4.1
PulsoDoro v0.4.1

latest releases: v0.11.0, v0.10.0, v0.9.0...
8 months ago

What's Changed

Bug fix and code quality improvements based on code review feedback.

Fixes

  • Prevent data loss in stats persistence — save() now handles serialization and filesystem errors explicitly instead of silently writing empty strings that would erase all user statistics

Refactoring

  • Extract duplicated timer state transition logic into shared transition_to_next_state() helper
  • Consolidate get_today/get_week into single get_response() with one timestamp
  • Replace magic numbers for progress ring tick marks with RING_RADIUS-relative offsets
  • Define CSS custom properties for state colors (--focus-color, --short-break-color, --long-break-color)
  • Remove redundant SVG attributes set by JavaScript on load
  • Use nullish coalescing (??) for settings defaults

Don't miss a new pulsodoro release

NewReleases is sending notifications on new releases.