mirror of https://github.com/zulip/zulip.git
5babe54310
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.) |
||
---|---|---|
.. | ||
node_tests | ||
puppeteer_lib | ||
puppeteer_tests | ||
zjsunit |