Implement Night Mode (aka 'do not disturb')
Related to vector-im/element-web#1635, we should implement the official quiet (and dark) mode.
Brief notes on current 'night mode' behaviour:
- We have a separate set of notification settings stored for when 'night mode' is enabled.
- Unlike 'day mode' notifications, you have to explicitly opt-in rather than opt-out. In other words, the default state for everything is mute, and you have to dial up the volume when enabled.
- In UserSettings, you'd probably have a single toggle to flip everything into nightmode and then get tweaking the notifs. (Alternatively you could change the notif settings without switching into nightmode but that feels fiddly)
- We'd need a "Night mode for the next 2 hours" style timer
- Once we have custom presence (#1528), we'd expect night-mode-state to be reflected in it.
dropping to p2 because in practice if vector-im/element-meta#1359 was solved, this becomes much less important.
From a protocol perspective, I think this could maybe be generalized as multiple sets of notification settings. Users could then have several distinct sets of notification settings for different situations, and "night mode" would be one of those sets.
E.g. if I were using Matrix for work (and I didn't have a separate account on a different HS), I might want to only notify on messages in work rooms during business hours, and mute those notifications otherwise.
So, now that there are three issues on this topic, can we get it added to the pipeline please? vector-im/element-meta#1196 vector-im/element-meta#1223 vector-im/element-desktop#788
7 years later? I guess it would be a good idea to add this!
7 years later? I guess it would be a good idea to add this!
They already removed it, it was in labs for a while. https://github.com/vector-im/element-web/issues/22099
They already removed it, it was in labs for a while. element-hq/element-web#22099
So there will not be such basic function as "do not disturb"?