zulip/frontend_tests
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
..
node_tests typeahead: Use stream_weekly_traffic for tiebreaker. 2021-01-29 15:21:07 -08:00
puppeteer_lib eslint: Fix unicorn/consistent-destructuring. 2021-01-25 14:53:19 -08:00
puppeteer_tests puppeteer: Update language_setting_status check for new language data. 2021-01-20 06:35:41 -05:00
zjsunit eslint: Fix unicorn/no-array-callback-reference. 2021-01-25 14:53:19 -08:00