zulip/web/shared/src
Dinesh 91f03e0d38 typing_notifications: Send ajax requests for stream typing too.
For the timing part of sending requests, it will be the same
as DMs, as the code in 'typing_status.ts' is being reused
for that purpose.

As a note, 'state.current_recipient_ids' and 'new_recipient_ids'
of update() in 'typing_status.ts' used to be an array of recipient ids.

Renamed them to 'state.current_recipient' and 'new_recipient' as they
can now be either of:
1) An object of format {stream_id: 2, topic:'hello'}
2) an array of recipient user IDs like previously

Also, made required changes in 'typing_status.ts' and
'typing_status.js.flow', i.e., documenting the new format of
new_recipient.

Co-authored-by: Prakhar Pratyush <prakhar841301@gmail.com>
2023-10-10 17:36:55 -07:00
..
fenced_code.ts shared: Avoid replaceAll again. 2023-05-25 22:39:12 -07:00
internal_url.js.flow
internal_url.ts ts: Convert `internal_url.js` to TypeScript. 2023-05-30 10:45:01 -07:00
poll_data.js.flow
poll_data.ts poll_data: Revert to using "canned" instead of -1. 2023-07-20 09:55:09 -07:00
resolved_topic.js.flow
resolved_topic.ts ts: Convert resolved_topic.js to TypeScript. 2023-05-01 10:55:36 -07:00
typeahead.js.flow
typeahead.ts web-shared: Update references to "private message" and "PM". 2023-06-26 11:07:28 -07:00
typing_status.js.flow typing_notifications: Send ajax requests for stream typing too. 2023-10-10 17:36:55 -07:00
typing_status.ts typing_notifications: Send ajax requests for stream typing too. 2023-10-10 17:36:55 -07:00