Skip to content

Change accelerate time process#27

Merged
chizmeeple merged 21 commits intomainfrom
change-accelerate-time-process
Feb 4, 2026
Merged

Change accelerate time process#27
chizmeeple merged 21 commits intomainfrom
change-accelerate-time-process

Conversation

@chizmeeple
Copy link
Owner

  • features
    • Revised accelerate-time (skip-ahead) flow: skipped preset days are styled as past, hidden when not current, and correctly numbered when starting a new day with Wake Up
  • improvements
    • Sound choices in settings are now applied correctly; sound loading is more reliable
    • Nominations countdown resets when starting a new day; wake-up countdown shortened to 6 seconds
    • Timer display no longer flickers when reloading

@changeset-bot
Copy link

changeset-bot bot commented Feb 3, 2026

⚠️ No Changeset found

Latest commit: 7ef6aec

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chizmeeple chizmeeple force-pushed the change-accelerate-time-process branch from 5210c8a to f138062 Compare February 4, 2026 10:36
Summary of what was wrong and what was changed:
Cause: On load the app does two things in order:
In the DOMContentLoaded handler it creates the sound Audio objects using
the default filenames (Cathedral Bells and Chisel Bell).
Later it calls loadSettings(), which reads your saved choices from
localStorage and updates the variables and the UI (so the dropdowns
showed “Single Church Bell” and “Quick Bell”), but it did not create new
Audio objects from those values.
So the variables and the form were correct, but endSound and wakeUpSound
were still the original Audio instances pointing at the default files.
Fix: In loadSettings(), when there are saved settings, the code now
recreates the three sound Audio objects after applying the parsed
settings, so they use the loaded endOfDaySound, wakeUpSoundFile, and
nominationsOpenSoundFile. That way the sounds that play match what’s
saved and what you see in Settings.
After a refresh, the end-of-day and wake-up sounds should be the ones
you saved (e.g. Single Church Bell and Quick Bell). No need to change
settings again.
@chizmeeple chizmeeple force-pushed the change-accelerate-time-process branch from dff9f2f to 7ef6aec Compare February 4, 2026 11:01
@chizmeeple chizmeeple merged commit 7ec6763 into main Feb 4, 2026
2 checks passed
@chizmeeple chizmeeple deleted the change-accelerate-time-process branch February 4, 2026 11:07
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