mirror of
https://github.com/carey314/mio-plugin-worker.git
synced 2026-08-10 07:04:32 +00:00
Prior: clockoutRemainingSec rolled forward to tomorrow the moment target <= now, so the panel jumped 1s → 86399s with no observable "zero" — the most expected moment of the day was silent. Now: - clockoutRemainingSec returns 0 when past today's clockout (sits at 0 until midnight rolls the calendar component) - WorkerStore detects the >0 → 0 edge in tickFire, fires per-day- deduped celebration (notification + Glass × 3 + panel banner ~5s) - SoundPlayer.playClockoutCelebration: Glass.aiff × 3 with 0.6s gap (joyful 1.8s shot, not the sit Morse's 15s nag) - ClockoutView overlays a lime→tomato gradient banner driven by store.clockoutCelebrationActive - tipText rewrite — old text said "不会响铃" which contradicts Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ClockoutView.swift | ||
| ExpandedView.swift | ||
| PomodoroView.swift | ||
| SitView.swift | ||
| Theme.swift | ||
| WaterView.swift | ||
| WeekendView.swift | ||