-
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Disabling the already disabled global notification setting does not disable Organization-level notification settings. This results in an inconsistent state where the UI reflects all notifications are disabled, but organization-level notifications are still enabled.
Steps To Reproduce
Steps to reproduce the behavior:
- Create a superuser and navigate to http://127.0.0.1:8000/notifications/preferences/
- Ensure all notifications for the user are enabled.
- Disable the global email settings.
- Step 3 will disable email notifications for all notification types and organizations.
- Enable the email notifications for the default organization.
- At this point, you will have global email notification disabled, but the email notifications for the default organization should be enabled.
- Try to disable the global email notifications again:
- Click on the global email notification setting dropdown
- Select "Don't notify by email"
- Click on "Confirm" on the popup
- UI will update reflecting that emails for all organizations are disabled
- Refresh the page
Expected behavior
All email notifications are disabled
Actual result
Global email notifications are disabled as expected.
Organization email notifications are still enabled.
openwisp-notifications-2025-11-27_18.15.05.mp4
Proposed solutions
- Change the view such that disabling the global notification setting forces disabling all notifications.
- Do not allow clicking on the selected global notification setting.
In order to disable all notifications, the user will first have to enable the global notification and then disable it again. This solution has poor UX.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Backlog
Status
To do (Python & Django)