-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change default notif volume for non-1:1s #1359
Comments
Notification volume control is basically a mess full stop right now:
So, what shall we do? After brainstorming with @lukebarnard1:
Stuff we're descoping from this:
|
Further thought was that bulk editing is probably not needed that often, as it's fairly rare to override per-room, and as long as we can easily see these overrides from RoomList we're probably okay. The reason I was worrying about it is that i wanted to turn off all of the notifs of my group chats. However, i'd forgotten we have a setting for this already: So, I think all this bug really needs is:
|
Just had another iteration on this with @lampholder . Conclusions were:
|
@AmandineLP correctly pointed out that our current default rules have 1:1s as 'noisy' by default - and so shoving red badges all over the 1:1s by default risks overloading the user with big red lights for no particularly good reason. Perhaps a better solution for item 2 above would be to finally implement element-hq/riot-meta#96 and turn it on by default; making sure that rooms with missed notifs always rise to the top of their section. This might also solve @lampholder's problems of missing mentions. |
@turt2live why is this one in can't fix? |
It's flagged as a synapse problem due to the conversation history in the comments. |
see https://github.com/vector-im/riot-web/issues/3268 This only works for new servers (e.g. mozilla-test.modular.im)
…ations This is a potential solution to https://github.com/vector-im/riot-web/issues/3374 and element-hq/element-web#5953 as raised by Mozilla at element-hq/element-web#10868. This lets you define a push rule action which increases the badge count (unread notification) count on a given room, but doesn't actually send a push for that notification via email or HTTP. We might want to define this as the default behaviour for group chats in future to solve https://github.com/vector-im/riot-web/issues/3268 at last. This is implemented as a string action rather than a tweak because: * Other pushers don't care about the tweak, given they won't ever get pushed * The DB can store the tweak more efficiently using the existing `notify` table. * It avoids breaking the default_notif/highlight_action optimisations. Clients which generate their own notifs (e.g. desktop notifs from Riot/Web would need to be aware of the new push action) to uphold it. An alternative way to do this would be to maintain a `msg_count` alongside `highlight_count` and `notification_count` in `unread_notifications` in sync responses. However, doing this by counting the rows in `events` since the `stream_position` of the user's last read receipt turns out to be painfully slow (~200ms), perhaps due to the size of the events table. So instead, we use the highly optimised existing event_push_actions (and event_push_actions_staging) table to maintain the counts - using the code paths which already exist for tracking unread notification counts efficiently. These queries are typically ~3ms or so. The biggest issues I see here are: * We're slightly repurposing the `notif` field on `event_push_actions` to track whether a given action actually sent a `push` or not. This doesn't seem unreasonable, but it's slightly naughty given that previously the field explicitly tracked whether `notify` was true for the action (and as a result, it was uselessly always set to 1 in the DB). * We're going to put more load on the `event_push_actions` table for all the random group chats which people had previously muted. In practice i don't think there are many of these though. * There isn't an MSC for this yet (although this comment could become one).
One thought: we probably only want to turn off notifs on publicly joinable rooms by default. WhatsApp etc show that notifs in private group rooms are probably desirable. |
@ara4n this work has shifted over time - what are the acceptance criteria that would allow us to close this ticket at this point? |
I'm going to close this issue but also link it to the related discussion here: #1595 We're in the process of simplifying notifications across all of our platforms and the current decision is to not make any changes to the defaults for new users based on room type. Just because a room has several people in it, we do not think that we're currently intelligent enough to make this decision on behalf of users. Having said that, there is likely a future where this is a great path for us to take (hence keeping the discussion, comments and feedback in Discussions). We are taking other steps to make notifications easier to manage (these are all being tracked elsewhere) and include, but not limited to:
|
All my notifs are turned up way too high. I suspect we should not notify for any message in group rooms by default. To fix up existing rooms we need a way of bulk editing notif levels really. This overlaps a bit with 'night mode' style presets for setting alternative notif levels
The text was updated successfully, but these errors were encountered: