Skip to content

1.0.6

Latest

Choose a tag to compare

@ds-kimi ds-kimi released this 15 Apr 11:58
Respect breakRemaining for break UI state

Pass breakRemaining into setActiveMode and use it to determine whether the UI should be in a blocking "On break" state. Simplifies setActiveMode logic to show "On break" only when onBreak && breakRemaining > 0, otherwise show "Ready — tap Work" or "Idle" and enable buttons. Also hide the break panel and trigger updateUI when a break finishes (breakui.js/events.js) so the renderer reflects the ended break immediately.