zulip-terminal icon indicating copy to clipboard operation
zulip-terminal copied to clipboard

TRACKING: Event handling improvements

Open Ezio-Sarthak opened this issue 4 years ago • 6 comments

ZT currently handles some common (e.g., message/subscription update) events. To know more about events API, check out the Get events doc :)

Below are some events that might be a good addition:

  • [ ] alert_words: #588: Alert words handling
  • [ ] update_display_settings: #988: Update user display settings
  • [ ] update_global_notifications: Update global notifications (currently stream-based priority? #666)
  • [ ] stream: #816: Streams (add, delete, update) (#851)
  • [ ] attachment: #529 Upload/Attachment events
  • [ ] submessage: Submessages (e.g., polls) (#287)
  • [ ] user_status: #988: User status updates.
  • [x] custom_profile_fields: Custom profile fields (extension of user info popup #848)
  • [ ] default_streams: Handle Default stream updates (changed by org admin).
  • [ ] delete_message: Delete message event (first event handling, then feature support; #690)
  • [ ] muted_topics: #745: Handle Topic muting (#467/#914)
  • [ ] user_group: User group events (add/modify/delete)
  • [x] realm_emoji: #809: Realm emoji events (#827)
  • [ ] typing: #992/#1015: Improve typing event handling
  • [ ] restart: Server restart events (including eg. upgrades, which may trigger ZFL updates & feature support; see #mobile-team>Server feature level)

Despite the above events there are some which might not need attention as of now, however, would be worth mentioning:

  • has_zoom_token: Zoom integration (OAuth flow required)
  • invites_changed: Event sent to Admin if the set of invitations change
  • default_stream_groups: Handling change of default user groups (experimental, not stabilized)
  • hotspots: Sent when set of onboarding "hotspots" (for current user) has changed. Might be a potential follow-up of tutorial experience.
  • realm_filters/realm_linkifiers: Handle a change of configured linkifiers. (See #995 for handling new format events and supporting backwards compatibility).
  • realm_domains: Handles change for the set of allowed domains for new users. Might be fruitful after improving support for multiple organizations.
  • realm_export: Event sent to users requesting a data export.
  • realm_bot: Event responsible to let user administer a newly created bot (see also realm_user).

Ezio-Sarthak avatar Apr 12 '21 02:04 Ezio-Sarthak

ERROR: Label "area:event handling" does not exist and was thus not added to this issue.

zulipbot avatar Apr 12 '21 02:04 zulipbot

@zulipbot add "area: event handling"

Ezio-Sarthak avatar Apr 12 '21 02:04 Ezio-Sarthak

Tagged with GSoC, but this is across multiple areas so as per the tracking nature of this issue, this isn't something one person will likely work on.

neiljp avatar Apr 12 '21 06:04 neiljp

realm_filters: Handle a change of configured linkifiers.

I get that this is not a high priority, but whenever in the future ZT adds support for handling events sent after the linkifiers in the realm have changed, we should handle the new realm_linkifiers events, since the realm_filters event type has been deprecated in feature level 54. #995 has more context. Can you update the issue description?

abhijeetbodas2001 avatar Apr 28 '21 18:04 abhijeetbodas2001

Thanks! Updated the issue description :)

Ezio-Sarthak avatar Apr 29 '21 14:04 Ezio-Sarthak

Also see zulip/zulip-mobile#3408 for a similar mobile tracking issue.

neiljp avatar Oct 06 '22 23:10 neiljp