As a user, I want to mute a project for only a certain period so that if it's a known issue, I won't get nagged about it
Summary
Currently, the database has column for muteUntil which saves a timestamp when a certain project should be alerted again. My idea is to show a popup similar to what Messenger does, when user click on Mute, and give options. When it's synced again and about to notify, we can check for the existence of muteUntil and alert accordingly.
Acceptance Criteria
AC 1 : Mute until options
Given
When
Then
A project card exists
I click on three dots menu and click Mute
I should see a dialog with 3 options: 30 minutes, 1 hour, 24 hours, Always
A project card exists
I click on three dots menu and click Mute and one of the options
The database should be updated with relevant selected options
AC 2 : Mute until notification
Given
When
Then
I have set mute until options for a certain project
I made a sync on the project before that mute until expires
I should not see notification
I have set mute until options for a certain project
I made a sync on the project after that mute until expires
Value Statement
As a user, I want to mute a project for only a certain period so that if it's a known issue, I won't get nagged about it
Summary
Currently, the database has column for
muteUntil
which saves a timestamp when a certain project should be alerted again. My idea is to show a popup similar to what Messenger does, when user click onMute
, and give options. When it's synced again and about to notify, we can check for the existence ofmuteUntil
and alert accordingly.Acceptance Criteria
AC 1 : Mute until options
AC 2 : Mute until notification