Files
zulip/static/js
Steve Howell 0f368b3373 topic_list: Fix minor bug with "more topics".
There was an edge case with the old
code when you had exactly between 6 and 8
topics and all in cache, with a couple of
the topics being unread.

We would show "more topics" when you were
actually seeing all your possible topics.

To test this:
    - create 7 topics on Venice
    - as Iago, narrow to any of the Venice
      topics
    - as Aaron, send unreads to 3 or 4
      of the other topics

Eventually Iago will have all possible
topics in the sidebar.  On master we'll
show "more topics", whereas after this commit
we correctly avoid that.

It's a pretty harmless bug, since it just
leads to a useless zoom-in.

I have always felt we should zoom-in
regardless of how many topics you have,
just for consistency sake, but I also
understand the rationale behind our
current intentions.
2020-01-22 14:31:33 -08:00
..
2020-01-05 12:27:28 -08:00
2019-12-30 09:50:22 -08:00
2019-10-25 13:51:21 -07:00
2020-01-03 17:19:50 -08:00
2020-01-14 12:39:17 -08:00
2020-01-14 15:40:40 -08:00
2020-01-05 12:27:28 -08:00
2020-01-03 17:19:50 -08:00
2019-10-25 13:51:21 -07:00
2020-01-16 13:23:47 -08:00
2020-01-05 12:27:28 -08:00
2020-01-03 17:19:50 -08:00
2020-01-15 18:01:59 -08:00
2020-01-03 17:19:50 -08:00
2019-10-25 13:51:21 -07:00