Do not disturb mode

Do not disturb is here :tada:

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.

Screenshot 2020-12-31 092339

Screenshot 2021-01-28 151722

Once saved, the moon icon replaces notification bubbles/counts on your avatar

You can cancel DND early by clicking the button again.

Screenshot 2020-12-31 092326

In your notification preferences, you will see the setting to enable a notification schedule