Break screen, performance and playback fixes, and an up-to-date README - #14
Merged
Merged
Conversation
- Cap imported audio kept in memory at 20 minutes and prepare every sound's buffer off the main thread, so large files and noise synthesis no longer exhaust memory or stall the interface - Move the per-second countdowns out of AppModel so a running timer only redraws the views that show it, and stop writing Pomodoro state to UserDefaults on every tick - Sleep timer: count down only while playing, fade over the last minute without being undone by the volume slider, same options everywhere - Now Playing names imported sounds; mini player lists Tones - Confirm before deleting a mix; fix a Portuguese label in the English UI - Explain that wake-up routines need the Mac awake
When a focus session ends, a full-screen screen shows the break countdown and asks what you'll do in the break. Activities are editable: name, hint, icon, which breaks they suit, an optional break length, and an app or link to open. The least recently done one is suggested so breaks vary. It can also appear when a break ends (with "5 more minutes"), stay up during the break, dim other displays, or be turned off in favour of the notification. Settings live in a new Break screen card on the Pomodoro page, with previews. The menu bar icon now reopens a closed main window.
# Conflicts: # Brisa/Sources/AppModel.swift # Brisa/Sources/ContentView.swift # Brisa/Tests/TestRunner.swift
The README now covers the Pomodoro timer, the break screen, both desktop widgets, themes, permissions and privacy, with a break screen preview. ARCHITECTURE.md lists every source file. Local builds report version 1.2.0, matching the next release.
The break screen was a non-activating panel, so while another app stayed in front its first clicks (and Return and Escape) were often lost. It now brings Brisa to the front, acts on the first click, and hands focus back to the previous app when it closes. Only its clock redraws every second, and tiles no longer wait to tell a single click from a double-click. ⌘Q now quits, like any Mac app; closing the window keeps Brisa running in the menu bar.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Break screen
When a focus session ends, a full-screen screen shows the break countdown and asks what you'll do in the break: drink water, stretch, rest your eyes, play a game, or anything typed on the spot.
Follow-up fixes
Fixes from the app review
AppModel, so a running timer only redraws the views that show it; Pomodoro state is no longer written to UserDefaults every second.Docs
ARCHITECTURE.mdnow lists every source file.Info.plistreports 1.2.0 for local builds.Testing
./Scripts/test.sh: 65 passed (8 new tests for break activities)../Scripts/build.shand anxcodebuildbuild ofBrisa.xcodeprojboth succeed.