zulip/static
Steve Howell 5babe54310 typeahead: Use stream_weekly_traffic for tiebreaker.
The weekly stream traffic is a better tiebreaker
for stream typeaheads than subscriber count, as
it's more directly a measure of a stream's current
relevance.

Normally stream traffic and subscriber counts are
closely correlated, but a good example for me is
the #twitter feed on czo, which only has 80 subscribers,
but which gets more traffic than our #integrations
stream (with 16k subscribers).  I would rather
see #twitter win the tiebreaker (if it even got
to the tiebreaker).

The main motivation behind this fix, though, is
to break our dependency on peer_data, which has
some upcoming changes that will introduce some
performance tradeoffs, and I want one less place
to audit.

Also, it will be easier long term to share this
code with mobile if we don't require mobile
to pull in our peer_data dependency.  (The webapp
has different forces than mobile that dicate
our data structures.)
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 typeahead: Use stream_weekly_traffic for tiebreaker. 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