Mattermost-server: Allow users to specify different desktop notification sounds per channel

Created on 8 Dec 2020  ·  2Comments  ·  Source: mattermost/mattermost-server

When a user selects "Notification Preferences > Send Desktop Notifications", for a specific channel, we should add an option to this menu for "Notification Sound"

Mock-up:

image

Functionality:

  • The channel notification preference should initially follow the global account setting notification preference
  • If user changes from the global defaults, a ‘reset to defaults’ button appears in the top right of the section. Clicking this will return the settings back to the global defaults
  • If the channel notification preference is changed here, it is then decoupled from the global setting.
  • If the user edits the channel preferences notification sound, it should no longer be linked to the notification sound selected in account settings.
  • If “For all activity” or “Only for mentions” is selected, a new section is added to the channel notifications settings to choose the notification sound.
  • If "Never" is selected, then hide the settings for "notification sound

Note: these settings already implemented at the Account Settings level (see Account Settings > Notifications > Desktop Notifications > Notification Sound, related ticket that was completed )), but this is introducing the same control at the channel level to specify specific sounds per channel.


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-30432

Medium Help Wanted TecReactJS

Most helpful comment

I would like to work in this one :)

All 2 comments

Tip for implementing this: the setting's value will likely be stored in the NotifyProps field of the ChannelMember object corresponding to the current user and channel.

I would like to work in this one :)

Was this page helpful?
0 / 5 - 0 ratings