settings: Add button to reset channel notifications to default.

This commit adds a "Reset to default notifications" button in the
Notifications menu, to the right of the channel name, for which a
user has selected custom notifications and a confirmation
dialog to confirm this action.

Fixes #19860.
This commit is contained in:
Saubhagya Patel
2025-06-08 17:41:03 +05:30
committed by Tim Abbott
parent a925511a11
commit b82bc1a738
7 changed files with 115 additions and 28 deletions

View File

@@ -296,6 +296,11 @@ Source: https://lucide.dev/icons/expand
Copyright: 2013-2022 Cole Bemis
License: ISC License
Files: web/shared/icons/reset.svg
Source: https://lucide.dev/icons/undo-2
Copyright: 2013-2022 Cole Bemis
License: ISC License
Files: web/third/bootstrap/css/bootstrap.app.css
Copyright: 2012 Twitter, Inc.
License: Apache-2.0