fix(desktop): restore notification sounds (#2582)
Restore desktop notification sounds by default, add a persisted Play sound setting, and group notification permission and testing in a dedicated Notifications section.
This commit is contained in:
@@ -262,6 +262,10 @@ describe("host settings section slugs", () => {
|
||||
});
|
||||
|
||||
describe("settings section slugs", () => {
|
||||
it("includes desktop notification settings", () => {
|
||||
expect(isSettingsSectionSlug("notifications")).toBe(true);
|
||||
});
|
||||
|
||||
it("no longer treats daemon as a valid app-level settings section", () => {
|
||||
expect(isSettingsSectionSlug("daemon")).toBe(false);
|
||||
});
|
||||
|
||||
@@ -495,6 +495,7 @@ export const SETTINGS_SECTION_SLUGS = [
|
||||
"editor",
|
||||
"shortcuts",
|
||||
"integrations",
|
||||
"notifications",
|
||||
"permissions",
|
||||
"diagnostics",
|
||||
"about",
|
||||
|
||||
Reference in New Issue
Block a user