Skip to content

feat: add alarm with shake animation and tabbed settings - #1

Merged
Svtter merged 1 commit into
mainfrom
feature/alarm
Aug 15, 2026
Merged

feat: add alarm with shake animation and tabbed settings#1
Svtter merged 1 commit into
mainfrom
feature/alarm

Conversation

@Svtter

@Svtter Svtter commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add alarm support: the clock window shakes for 15 seconds when an alarm time is reached; clicking the clock stops the shake early
  • Reorganize the settings dialog into a TabControl with two tabs: General (auto-start, second hand, log folder) and Alarms
  • Support multiple alarms, each with enable toggle, time (HH:mm, validated on save) and an optional label
  • Persist alarms in settings.json via a new AlarmSettings list; legacy single-alarm settings (AlarmEnabled/AlarmTime) are migrated automatically on load

Test plan

  • Build passes with 0 warnings / 0 errors
  • Legacy settings.json with AlarmEnabled/AlarmTime migrates into the alarm list
  • Adding / editing / deleting alarms round-trips through settings.json
  • Invalid time formats are rejected with a warning on save
  • Alarm fires at the set minute, clock shakes, click stops it; no re-fire within the same minute

- Clock shakes for 15 seconds when an alarm fires; click to stop early
- Settings dialog reorganized into tabs (General / Alarms)
- Support multiple alarms with time (HH:mm) and optional label
- Migrate legacy single-alarm setting to the new list format
@Svtter
Svtter merged commit 21cc652 into main Aug 15, 2026
1 check passed
@Svtter
Svtter deleted the feature/alarm branch August 15, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant