zulip-mobile icon indicating copy to clipboard operation
zulip-mobile copied to clipboard

Fine-grained control over notification behavior

Open 0x4a50 opened this issue 7 years ago • 8 comments

Allow user to decide whether a specific notification type (stream vs @ message) makes a noise or a badge or both independently from each other.

Allow notifications only during specific time window of the day.

0x4a50 avatar Mar 13 '19 17:03 0x4a50

For having notifications only active during a specific part of the day, there's an OS-level "do not disturb" feature on both iOS and Android which you can use to disable notifications for all apps.

timabbott avatar Mar 13 '19 17:03 timabbott

I don’t want to disable all apps though. Some of these matter and need to stay on.

On Wed, Mar 13, 2019 at 10:33 AM Tim Abbott [email protected] wrote:

For having notifications only active during a specific part of the day, there's an OS-level "do not disturb" feature on both iOS and Android which you can use to disable notifications for all apps.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zulip/zulip-mobile/issues/3401#issuecomment-472527593, or mute the thread https://github.com/notifications/unsubscribe-auth/AZQAtkOkGpAdibH5Rp6SxJfsNXudLfzEks5vWTaFgaJpZM4bt6LY .

0x4a50 avatar Mar 13 '19 19:03 0x4a50

@0x4a50 do you need that for iOS or Android? For Android, there is a thing called 'channels' that will allow more flexibility in changing notification's settings per stream or per message type.

borisyankov avatar Mar 13 '19 19:03 borisyankov

IOS

On Wed, Mar 13, 2019 at 12:59 PM Boris Yankov [email protected] wrote:

@0x4a50 https://github.com/0x4a50 do you need that for iOS or Android? For Android, there is a thing called 'channels' that will allow more flexibility in changing notification's settings per stream or per message type.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/zulip/zulip-mobile/issues/3401#issuecomment-472582178, or mute the thread https://github.com/notifications/unsubscribe-auth/AZQAtuj01TC4PdtJvrGtzGJWsKWl5bFdks5vWVi0gaJpZM4bt6LY .

0x4a50 avatar Mar 13 '19 20:03 0x4a50

(Thanks @0x4a50 for raising this!)

Some quick notes on implementing it:

  • The code that'd be involved in making this happen is largely in our platform-native code, for Android and iOS separately.
  • On Android, I think we'd want to align the fine-grained classification here with the "notification categories" exposed in system settings (called "channels" in the API) -- they exist to let the user specify exactly this kind of detailed choices, and as a user I much prefer using the standard interface over needing to find something idiosyncratic.
    • So e.g. we'd have a category for stream messages; one for PMs; one for @-mentions.
    • Currently we just lump everything into one category because we haven't dealt with this.
  • On iOS, I've spent less time to date looking into the API and I don't know if there's something equally helpful. But I certainly agree we should offer this feature even if we have to provide the settings more ad hoc.

gnprice avatar Sep 14 '19 00:09 gnprice

Since this issue has the labels a-IOS and a-notifications, I'm marking it as blocked by https://github.com/zulip/zulip-mobile/issues/4115, so we only have to implement a solution once. The PR https://github.com/zulip/zulip-mobile/pull/4163 is currently open for that issue.

chrisbobbe avatar Nov 10 '20 01:11 chrisbobbe

#4163 is merged!

gnprice avatar Jun 18 '21 05:06 gnprice

We had another request for this feature today:

one single type of notification for Zulip messages seems too broad. I would like different notification settings for private messages and regular followed topic messages, for example.

gnprice avatar Dec 20 '24 10:12 gnprice