You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(notifications): add a Silent sound option - #42497
Desktop notifications currently require either the system sound or an Orca sound. Add Silent to the shared sound picker in Settings and onboarding so banners can stay enabled without audio.
Silent skips automatic playback, selection previews, and test-notification audio, hides the volume slider, and persists through restart. Native delivery already marks non-System selections silent; sound-path resolution also refuses an audio file for Silent, including forced calls. Existing System, built-in, and custom-file choices keep their behavior. Includes localized labels for every bundled language.
Reviewed native delivery, renderer playback, previews, settings normalization, and local/remote desktop routing across platforms.
Background Electron/CDP at 1920×1170: selected Silent in Settings and onboarding, verified no volume slider, confirmed test notification delivery (delivered: true), confirmed forced playback does not play, and restarted the app to verify persistence and rendered selection.
pnpm check:changed: all 36 non-test checks passed, including node/web/CLI typechecks, lint, formatting, and localization. Stopped the broad related-test selection because shared settings and locale imports fan out extensively; focused notification and persistence tests run separately. Full CI is required before merge.
Focused notification and persistence tests: 7 files, 16 tests passed.
Native audio output on Linux/Windows and remote/mobile devices was not exercised locally.
No actionable comments were generated in the recent review.
Walkthrough
The notification sound setting now accepts none, with a “Silent” option and translated labels. A shared predicate identifies custom sound IDs and is used by notification selection, test delivery, onboarding preview, settings controls, and desktop playback. Onboarding normalization preserves the none value.
Merge Risk: Minimal · up to a5786
This adds a Silent notification sound option that skips playback and previews and persists across restarts. No concrete defects were found. Run full CI before merging, as the author notes.
Pre-merge checks: 3 · 1
Failed checks: 1 inconclusive
Check name
Status
Explanation
Resolution
Out of Scope Changes check
The notification changes are within scope of #9146. They cover the shared type, the sound option list, normalization, sound-path resolution, playback and preview gating, the volume control, and the lo…
Provide the ko.json hunk for the head and base revisions, or the full diff for that file. Confirm that the only changed line is the notification sound key "silent": "무음" and that components.artifacts.typeMarkdown is unchanged. If the typeMa…
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title "feat(notifications): add a Silent sound option" matches the main change. The PR adds a Silent option to the notification sound picker, and the raw summary shows the shared type, helper, pla…
Description check
The description covers the key template areas with substance. It gives a plain-language purpose, a before and after for the user, the mechanism (native delivery, sound-path refusal, normalization), te…
Linked Issues check
Issue #9146 asks for a way to turn off notification sound. Its proposed solution is a "None" sound option. The PR adds a Silent option, which uses the label Silent instead of None. The option is imple…
Full details: Title check
Explanation
The title "feat(notifications): add a Silent sound option" matches the main change. The PR adds a Silent option to the notification sound picker, and the raw summary shows the shared type, helper, playback, and locale changes that support it. The title is short, specific, and uses a conventional commit prefix.
Full details: Description check
Explanation
The description covers the key template areas with substance. It gives a plain-language purpose, a before and after for the user, the mechanism (native delivery, sound-path refusal, normalization), testing across manual, automated, and focused test runs, and two screenshots for the UI change. It also states what was not verified locally. Gaps: the ELI5, Why (alternatives considered), Risk level, and Review sections are missing or unfilled, the Linked Issue uses 'Closes #9146' rather than the template's 'Fixes #' form (the issue is referenced), the testing checkboxes are not ticked, the backout plan is absent, the Visual Proof shows Settings and onboarding in both states but not a clearly labeled BEFORE and AFTER pair, and the Agent skill upstream boundary and AI Disclosure sections are not addressed.
Resolution
Consider adding these items before merge: an ELI5 summary; a short 'Why' that explains why a 'Silent' option and the shared helper were chosen over alternatives; a Risk level (Low, Medium, or High) with the riskiest part and a revert plan, including the persisted 'none' value in saved settings; a BEFORE and AFTER visual pair for the UI change; ticked Testing checkboxes or a note explaining any unchecked item; and the Agent skill upstream boundary and AI Disclosure sections, marked as not applicable where appropriate.
Full details: Linked Issues check
Explanation
Issue #9146 asks for a way to turn off notification sound. Its proposed solution is a "None" sound option. The PR adds a Silent option, which uses the label Silent instead of None. The option is implemented across the code paths: src/shared/notification-settings-types.ts adds 'none' to customSoundId and the usesCustomNotificationSound helper, which returns false for 'none' and 'system'. src/renderer/src/components/notification-sound-options.ts adds the Silent entry with the VolumeX icon. src/main/persistence/applying-settings/onboarding-normalization.ts keeps 'none' during normalization. src/main/ipc/notification-sound-selection.ts returns missing-path for non-custom IDs, which blocks audio file resolution. The renderer skips playback in desktop-notification-sound.ts, NotificationStep.tsx, NotificationSoundSection.tsx, and notification-test-delivery.ts. The volume control is hidden for non-custom IDs. The PR description reports Settings and onboarding checks and focused tests (7 files, 16 tests). Native audio output on Linux/Windows was not exercised, so that behavior rests on code inspection. The coding requirement of the issue is met by the changed code.
Full details: Out of Scope Changes check
Explanation
The notification changes are within scope of #9146. They cover the shared type, the sound option list, normalization, sound-path resolution, playback and preview gating, the volume control, and the locale strings for the Silent label. The raw summary for src/renderer/src/i18n/locales/ko.json is contradictory. It states that a components.artifacts.typeMarkdown value changed, but it also states that the only visible hunk adds the silent translation "무음". The inspection of the ko.json diff returned no text because changed blobs are missing from the checkout. A file read of the head ko.json was truncated at 16000 bytes before the notifications section, so the typeMarkdown value could not be checked. The contradiction is unresolved, so an unrelated locale edit cannot be ruled out.
Resolution
Provide the ko.json hunk for the head and base revisions, or the full diff for that file. Confirm that the only changed line is the notification sound key "silent": "무음" and that components.artifacts.typeMarkdown is unchanged. If the typeMarkdown value changed, remove that edit or justify it as in scope.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.
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
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.
Desktop notifications currently require either the system sound or an Orca sound. Add Silent to the shared sound picker in Settings and onboarding so banners can stay enabled without audio.
Silent skips automatic playback, selection previews, and test-notification audio, hides the volume slider, and persists through restart. Native delivery already marks non-System selections silent; sound-path resolution also refuses an audio file for Silent, including forced calls. Existing System, built-in, and custom-file choices keep their behavior. Includes localized labels for every bundled language.
Closes #9146.
Validation:
delivered: true), confirmed forced playback does not play, and restarted the app to verify persistence and rendered selection.pnpm check:changed: all 36 non-test checks passed, including node/web/CLI typechecks, lint, formatting, and localization. Stopped the broad related-test selection because shared settings and locale imports fan out extensively; focused notification and persistence tests run separately. Full CI is required before merge.Settings:
(screenshot removed: contained real product data)
Onboarding:
(screenshot removed: contained real product data)