Discourse has introduced a new ‘Do Not Disturb’ (now renamed to ‘Pause Notifications’) feature, allowing users to silence notifications for specific durations or based on a daily schedule. Users can activate it via a button in the profile menu, which displays a moon icon on their avatar. The feature suppresses desktop, push, and email notifications until deactivated. Users can choose time intervals (30 minutes, 1 hour, 2 hours, or until end of day) or set a notification schedule in preferences. Some users have provided feedback, such as suggesting a different color for the moon icon to avoid confusion with notification counts, and noting that the notification count resets when leaving DND mode. The community also shared custom CSS to modify the icon’s appearance. markvanlan confirmed that selecting ‘None’ in the schedule activates DND for the entire day. JammyDodger noted the name change to ‘Pause Notifications’. TallTrees and benkeks contributed styling suggestions and feedback on the icon’s visibility.
Discourse now allows users to enter do not disturb mode (DND). While in DND, desktop notifications, push notifications, and emails are not sent until the user leaves DND mode. Notification bubbles are also hidden from the user avatar in the site header.
You can enter do not disturb for a specific time period of 30 minutes, 1 hour, 2 hours, or until the end of the day. You can also go to your notification preferences and set a daily notification schedule, and be automatically placed in DND mode during times outside of your notification schedule.
There is a button under the profile tab in the user menu which opens a modal.
I’m glad that this is built into Discourse now (not to mention that it is a much better implementation). I no longer have to rely on the one built into the operating system. Just turned it off!
Ah - fair enough, I didn’t think I could style the SVG from the CSS, but I can always hide the original SVG and add in my cheese-coloured one in it’s div.
I used this for the first time today and expected the notification counter to show my pending messages when it expired. While the notifications were showing as new in the drop-down menu, the counter did not. Is that expected behavior?
I see what you mean; that count for non-PM notifications is cleared when you click on your avatar. When you leave DND manually, you have to click your avatar so it must be clearing the count at that point. I’ll see if I can prevent that from happening
Edit: To leave DND mode you do see those notifications though, because the first pane that opens is the notifications pane… leaving the count there after you have opened the notifications pane might be more inconsistent than the current behavior.
Can anyone confirm what is supposed to happen if I choose None when configuring the notification schedule? I would guess that DND mode would be active on those days but I’d like to be sure