Repository navigation
feat(notices): one switch for notices, and stop watching the disk - #86
Merged
Merged
Conversation
Settings had a dropdown for each of eight kinds of notice. It is now one choice, system notification / in app only / off, kept in app.json with the other app settings; notice-prefs.json is no longer read. Which kinds interrupt is the bus's call, not a setting. An unreachable upstream was the one kind that defaulted to in-app only, because a fallback usually catches it and the breaker opens and closes with the traffic; it is now an info-level notice, listed but never popped. - Off records nothing, withdraws what is open, and hides the bell. - A notice still in its one-minute hold looks at the mode when the hold ends, so switching to in-app only during the hold is honoured. - The list's "Show this kind in app only" link goes with the kinds, and macOS groups notifications by the key's kind instead. Core v0.16.0 no longer watches free disk space (ThinkWatch-Core#77): the low-disk notice, the overview's low-disk banner and the low-disk reason in the request drawer's "not saved" tip go with it. `StorageStatus` now says only whether recording started, and the banner stays for that case. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Settings had a dropdown for each of eight kinds of notice. There is now one choice: system notification / in app only / off, laid out like Appearance (three fixed options, so three buttons rather than a dropdown).
Notices
app.jsonnext to the language, theme and update check.notice-prefs.jsonis no longer read; nothing migrates it, since almost nobody has one.Noticehas nocategory; a clicked notice that is no longer listed lands on the page for its key's kind, and macOS groups notifications by that kind too.notice_prefs/set_notice_pref→notice_mode/set_notice_mode, which saves before it applies and emitsnotice-mode-changedfor the bell.Disk
Pins core v0.16.0 (ThinkWatchProject/ThinkWatch-Core#77), which stops watching the free space on the disk. That is the operating system's job; the gateway already bounds its own footprint by retention. So these go too:
StorageStatusnow carries onlyrecording, and the banner remains for recording that never started,The READMEs no longer promise a per-kind setting.
Checked
cargo fmt --check,clippy -D warningsandcargo testagainst v0.16.0. Four new bus tests cover off, in-app only, withdrawing on off, and a switch made during the hold. The default-view mapping also has a test.pnpm typecheck,pnpm test.🤖 Generated with Claude Code