-
-
Notifications
You must be signed in to change notification settings - Fork 474
Add a feature to configure DND mode #561
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
Comments
To implement this I have/had a rough plan in mind:
For step two, we can use something like |
I know this is the repository for the electron app, but can you clarify why you see DND as an app setting rather than a profile-setting? similarly if i want to receive notifications again, I should be able to do so on mobile and the changes should reflect on desktop. |
@lukasIO please see the relevant conversations here - https://chat.zulip.org/#narrow/stream/16-desktop/topic/DND.20button |
Thanks for the link. As it seems the main reasonis this statement by @timabbott
I agree that this is a very good point, which i didn't consider before. |
For the webapp - zulip/zulip#295 |
@zulipbot claim |
Welcome to Zulip, @manavmehta! We just sent you an invite to collaborate on this repository at https://github.com/zulip/zulip-desktop/invitations. Please accept this invite in order to claim this issue and begin a fun, rewarding experience contributing to Zulip! Here's some tips to get you off to a good start:
As you work on this issue, you'll also want to refer to the Zulip code contribution guide, as well as the rest of the developer documentation on that site. See you on the other side (that is, the pull request side)! |
Fixes: zulip#561 User can select time for which they want to enable DND Mode
Fixes: zulip#561 User can now select time for which they want to enable DND Mode
Fixes: zulip#561 User can now select time for which DND will be enabled. "Until I resume" option is time independent, trivially.Add feature to enable Time based DND Mode
Fixes: zulip#561 User can now select time for which DND will be enabled. "Until I resume" option is time independent, trivially.Add feature to enable Time based DND Mode
Fixes: zulip#561 User can now select time for which DND will be enabled. "Until I resume" option is time independent, trivially. Adds toast notifications for dnd time left and dnd over
Fixes: zulip#561 User can now select time for which DND will be enabled. "Until I resume" option is time independent, trivially. Adds toast notifications for dnd time left and dnd over
Hello @manavmehta, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days. You can reclaim this issue or claim any other issue by commenting Thanks for your contributions, and hope to see you again soon! |
Fixes: zulip#561 User can now select time for which DND will be enabled. "Until I resume" option is time independent, trivially.
Fixes: zulip#561 User can now select time for which DND will be enabled. "Until I resume" option is time independent, trivially.
Create a menu to allow selecting time for which DND will be enabled. DND will go off at the scheduled time and a toast will be shown, both while setting the DND, thus conveying the DND Off time and again at the time when DND goes off. 'Until I resume' option is time independent, trivially. Fixes zulip#561
Create a menu to allow selecting time for which DND will be enabled. DND will go off at the scheduled time and a toast will be shown, both while setting the DND, thus conveying the DND Off time and again at the time when DND goes off. 'Until I resume' option is time independent, trivially. Fixes zulip#561
Create a menu to allow selecting time for which DND will be enabled. DND will go off at the scheduled time and a toast will be shown, both while setting the DND, thus conveying the DND Off time and again at the time when DND goes off. 'Until I resume' option is time independent, trivially. Fixes zulip#561
Is this still open? because on my machine i am unable to produce the time, as you have done in your PR(s) @akashnimare @manavmehta |
@zulipbot claim |
Welcome to Zulip, @VANSH3104! We just sent you an invite to collaborate on this repository at https://github.com/zulip/zulip-desktop/invitations. Please accept this invite in order to claim this issue and begin a fun, rewarding experience contributing to Zulip! Here's some tips to get you off to a good start:
As you work on this issue, you'll also want to refer to the Zulip code contribution guide, as well as the rest of the developer documentation on that site. See you on the other side (that is, the pull request side)! |
@zulipbot claim |
Welcome to Zulip, @lolostheman! We just sent you an invite to collaborate on this repository at https://github.com/zulip/zulip-desktop/invitations. Please accept this invite in order to claim this issue and begin a fun, rewarding experience contributing to Zulip! Here's some tips to get you off to a good start:
As you work on this issue, you'll also want to refer to the Zulip code contribution guide, as well as the rest of the developer documentation on that site. See you on the other side (that is, the pull request side)! |
…dropdown styling. Ensures that the DND tooltip remains usable after selecting a duration. Updated styles to better match Zulip's dark theme (rounded corners, shadows, etc.). Fixes zulip#561.
When a duration is provided, sets a timer to automatically revert DND mode. Ensures only one timer is active at a time, and cleans up appropriately when DND is turned off early. We import dnd-util.js to handle the DNDUtil.toggle() in our timer logic. Fixes zulip#561.
When a duration is provided, sets a timer to automatically revert DND mode. Ensures only one timer is active at a time, and cleans up appropriately when DND is turned off early. We import dnd-util.js to handle the DNDUtil.toggle() in our timer logic. Fixes zulip#561.
We have a basic DND feature in the left sidebar which activates the DND mode and to deactivate user need to update it manually. It would be great to have something like -
and then automatically handles the notification setting after the DND time gets over.
Two things we need to do here -
a) UI/UX - I think we can show the time within the tooltip itself
b) How to calculate the DND time since there could be multiple cases like the laptop is switched off/sleep etc.
The text was updated successfully, but these errors were encountered: