Mattermost-server: Ability to set Do Not Disturb for a specified period of time

Created on 29 Sep 2020  路  9Comments  路  Source: mattermost/mattermost-server

Use case: I am in meetings for two hours, and want to disable all notifications during that time to avoid distractions, without losing important messages when I'm back. Need the ability to snooze notifications for those 2 hours.

Functional notes:
Design can be seen here:
https://www.figma.com/file/8m8Uga0KhCYYRPNMbXl9K3/Snooze-Notifications?node-id=0%3A1

The current do not disturb status would surface a submenu that would have the following options:
Disable notifications for:

  • 30 mins
  • 1 hour
  • 2 hours
  • Today
  • Tomorrow
  • Custom

Choosing any specific option like 30 mins would disable your notifications and change your status to DND for 30 mins, and then return it back to whatever your previous status was.

image

If a user selects custom, then he would get a modal like the one below, where he would be able to specify the date and time till when he wants his status to stay DND.

image

This is how the calendar, and the time dropdown would appear:

image


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-8497

AreEnd User Feature Hard Help Wanted TecGo TecReact Native TecReactJS

All 9 comments

Given this is an advanced help wanted ticket, if anyone is interested in taking on this feature please reach out to me here or at @eric.sethna on our community server before diving too deeply into the project.

@esethna I would like to work on this feature. Can you provide some more details on how to get started with this?

Awesome @g-ravity! Can I ask that you start by joining me in this channel on Mattermost: https://community.mattermost.com/core/channels/dnd-timer

I'll add some developers in there and we can use it as a forum to discuss the implementation of this feature.

For this project I'd recommend starting by investigating the related code to get an understanding of the online, away, offline, do not disturb status system in Mattermost. Feel free to ask any clarifying questions or for guidance as needed in the channel.

Once you've explored the code and have an idea of how you want to solve this ticket, I'd recommend that we use the channel I linked to discuss your approach on how you plan to code this. We can have our devs review and work with you on the approach as needed before you dive too deep into actual coding.

Thanks for the advice. I'll join the channel and start studying the code!

Thanks @g-ravity!

Hey @g-ravity how's this going? Are you still working on this feature?

Hey @g-ravity, let us know if you're still working on this, otherwise will unassign from you :)

@esethna Hey Eric, I'd like to work on this.

@darkLord19 all yours!

Was this page helpful?
0 / 5 - 0 ratings