-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Add notification checkboxes in Stream Info view. #887
Comments
@zulipbot claim |
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses the subscription field of initial_data's response, and events to sync its settings with that of the server. Tests amended. Partially Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses the subscription field of initial_data's response to set the initial state of the checkbox, and henceforth events to sync its settings between client <-> server. The notify_user code has been updated to interact properly with the checkbox settings. Tests amended. Partially Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses the subscription field of initial_data's response to set the initial state of the checkbox, and henceforth events to sync its settings between client <-> server. The notify_user code has been updated to interact properly with the checkbox settings. Tests amended. Partially Fixes zulip#887.
Hello @zee-bit, you claimed this issue to work on it, but this issue and any referenced pull requests haven't been updated for 10 days. Are you still working on this issue? If so, please update this issue by leaving a comment on this issue to let me know that you're still working on it. Otherwise, I'll automatically remove you from this issue in 4 days. If you've decided to work on something else, simply comment Thank you for your valuable contributions to Zulip! |
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses the subscription field of initial_data's response to set the initial state of the checkbox, and henceforth events to sync its settings between client <-> server. The notify_user code has been updated to interact properly with the checkbox settings. Tests amended. Partially Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses the subscription field of initial_data's response to set the initial state of the checkbox, and henceforth events to sync its settings between client <-> server. The notify_user code has been updated to interact properly with the checkbox settings. Tests amended. Partially Fixes zulip#887.
This commit is the first part of adding full support for desktop notifications. This commit handles the event part of the objective, the UI(i.e. desktop notification checkbox) will be added in the next commit. Corresponding tests for model functions have also been added. Tests amended. Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses subscription from initial_data to set the initial state of the checkbox, and henceforth events to sync its settings between client <-> server. The notify_user code has been updated to interact properly with the checkbox settings and according to the points mentioned in issue zulip#666. Tests amended. Partially Fixes zulip#887.
This commit is the first part of adding full support for desktop notifications. This commit handles the event part of the objective, the UI(i.e. desktop notification checkbox) will be added in the next commit. Corresponding tests for model functions have also been added. Tests amended. Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses subscription from initial_data to set the initial state of the checkbox, and henceforth events to sync its settings between client <-> server. The notify_user code has been updated to interact properly with the checkbox settings and according to the points mentioned in issue zulip#666. Tests amended. Partially Fixes zulip#887.
This commit is the first part of adding full support for desktop notifications. This commit handles events related to subscription's desktop_notifications field. The UI(i.e. desktop notification checkbox) will be added in the next commit. Corresponding tests for model functions have also been added. Tests amended. Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses subscription from initial_data to set the initial state of the checkbox, and henceforth events to sync its settings between ZT <-> server. The condition for notify_user() has also been refined to interact properly with the checkbox settings and according to the points mentioned in issue zulip#666. Tests amended. Partially Fixes zulip#887.
This commit is the first part of adding full support for desktop notifications. This commit handles events related to subscription's desktop_notifications field. The UI(i.e. desktop notification checkbox) will be added in the next commit. Corresponding tests for model functions have also been added. Tests amended. Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses subscription from initial_data to set the initial state of the checkbox, and henceforth events to sync its settings between ZT <-> server. The condition for notify_user() has also been refined to interact properly with the checkbox settings and according to the points mentioned in issue zulip#666. Tests amended. Partially Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses model's visual_notified_streams to get the initial state of the checkbox and henceforth events to sync the "desktop notifications" data between ZT <-> server. The checkboxes are not updated dynamically after events but the underlying data structure gets updated, hence re-opening the StreamInfo view will display the correct state. We have a WIP PR zulip#981 that deals with updating these checkboxes dynamically while the popup is still open. Tests amended. Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses model's visual_notified_streams to get the initial state of the checkbox and henceforth events to sync the "desktop notifications" data between ZT <-> server. The checkboxes are not updated dynamically after events but the underlying data structure gets updated, hence re-opening the StreamInfo view will display the correct state. We have a WIP PR zulip#981 that deals with updating these checkboxes dynamically while the popup is still open. Tests amended. Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses model's visual_notified_streams to get the initial state of the checkbox and henceforth events to sync the "desktop notifications" data between ZT <-> server. The checkboxes are not updated dynamically after events but the underlying data structure gets updated, hence re-opening the StreamInfo view will display the correct state. We have a WIP PR zulip#981 that deals with updating these checkboxes dynamically while the popup is still open. Tests amended. Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses model's visual_notified_streams to get the initial state of the checkbox and henceforth events to sync the "desktop notifications" data between ZT <-> server. The checkboxes are not updated dynamically after events but the underlying data structure gets updated, hence re-opening the StreamInfo view will display the correct state. We have a WIP PR zulip#981 that deals with updating these checkboxes dynamically while the popup is still open. Tests amended. Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses model's visual_notified_streams to get the initial state of the checkbox and henceforth events to sync the "desktop notifications" data between ZT <-> server. The checkboxes are not updated dynamically after events but the underlying data structure gets updated, hence re-opening the StreamInfo view will display the correct state. We have a WIP PR zulip#981 that deals with updating these checkboxes dynamically while the popup is still open. Tests amended. Fixes zulip#887.
This commit adds a new checkbox 'Visual desktop notification' in the Stream settings section inside StreamInfoView. It uses model's visual_notified_streams to get the initial state of the checkbox and henceforth events to sync the "desktop notifications" data between ZT <-> server. The checkboxes are not updated dynamically after events but the underlying data structure gets updated, hence re-opening the StreamInfo view will display the correct state. We have a WIP PR #981 that deals with updating these checkboxes dynamically while the popup is still open. Tests amended. Fixes #887.
Sorry for the "Fixes" comment on the PR, this isn't completely resolved yet. Re-opening! |
Hello @zulip/server-notifications members, this issue was labeled with the "area: notifications" label, so you may want to check it out! |
This issue extends PR #880 and should work towards improving the Stream Info view in ZT. Currently, there are just two checkboxes in
StreamInfoView
(mute_stream & pin_to_top). These are fine but we want to add more checkboxes related to Stream notifications. We could potentially add:The logic could be borrowed from
zulip/zulip
or those other checkboxes already present in ZT. Zulip's API documentation should prove helpful in tackling this issue.@neiljp I have opened this issue(to keep track of the tasks that needs to be done, and) as a continuation of the work I already did in #880
NOTE These require underlying fetching handling updates of the settings, in addition to the UI, ie. we expect to synchronize these with the server (though we might have our settings in future) -- neiljp
The text was updated successfully, but these errors were encountered: