zulip/static
Steve Howell 805a2b6670 refactor: Remove stream_data.update_subscribers_count.
This removes a bit of complexity.  If a piece of
settings code needs to render a stream with
subscribers, it just asks for it.

We no longer have the brittle, action-at-a-distance
mechanism of mutating the subscriber count on to
the stream_data version of a sub.

Stream subs are pretty small, so making copies of
them is cheap, and the blueslip timings from the
previous commit can help confirm that.

There is some discussion of putting `subscriber_count`
on the Stream model, which may eventually get us
away from tracking it in `peer_data.js`, but we will
cross that bridge when we get there.  See
https://github.com/zulip/zulip/issues/17101 for
more details.
2021-01-29 15:21:07 -08:00
..
assets docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
audio notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
generated
html logo: Update Zulip logo. 2020-07-16 01:37:08 -07:00
images docs: Remove HipChat migration guide. 2020-12-23 15:43:13 +05:30
js refactor: Remove stream_data.update_subscribers_count. 2021-01-29 15:21:07 -08:00
shared eslint: Fix unicorn/no-array-push-push. 2021-01-25 14:53:19 -08:00
styles settings: Use sm_max for adjusting settings for small width devices. 2021-01-25 14:49:32 -08:00
templates Rename list_render -> ListWidget. 2021-01-29 09:36:35 -08:00
third markdown: Fix flickering of embedded link inside Italic. 2020-11-06 10:09:15 -08:00
.gitignore team: Generate team page data using cron job. 2020-04-08 12:52:31 -07:00