Go to file
Steve Howell e1727844d7 Only condense/collapse when messages are visible.
Trying to condense messages when they are not yet visible just
leads to wasted effort and wrong results.

This commit makes it so that current_msg_list always points to a
visible list, so the code related to message rendering knows when
to call ui.condense_and_collapse().  For activating narrows, we
now let rendering handle the condense/collapse case.

The home view situation is a little trickier, because we render
new messages in the home view even when we're inside inside of a narrow,
presumably to make it fast to switch into the home view.  When
we actually go back to the home view, we need to sweep for messages
that might need to be condensed, since they have been originally
rendered while the home view was not visible.

(imported from commit 4da2d278a4353e9e0c2b98cbf8c9dd03b06cd59b)
2013-12-12 15:38:38 -05:00
analytics Replace other non-zerver uses of iPhone client 2013-12-03 14:35:24 -05:00
api Shorter topics for git/svn integration. 2013-12-11 12:20:42 -05:00
assets Allow enterprise deployments to disable the use of Gravatar. 2013-11-18 11:48:53 -05:00
bin logging: Log management commands that are run. 2013-11-20 14:31:08 -05:00
bots nagios: Reduce the threshold for nagios alerts about the size of rabbitmq queues 2013-12-11 15:10:29 -05:00
confirmation Don't use hardcoded noreply@zulip.com, zulip@zulip.com, or https://zulip.com 2013-11-15 21:31:37 -05:00
corporate Modify /hello to go to register instead of signup on Enterprise 2013-11-22 13:50:24 -05:00
humbug Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
node_modules Import Handlebars compiler and dependencies 2013-04-02 14:43:58 -04:00
puppet [manual] Backend support for Android GCM push notifications 2013-12-11 15:37:48 -05:00
scripts Update URL for user APT key. 2013-12-11 10:54:30 -05:00
static Only condense/collapse when messages are visible. 2013-12-12 15:38:38 -05:00
templates Clarify use of JSON for the event_types list. 2013-12-11 16:45:29 -05:00
tools Remove unused message_tour.js. 2013-12-12 11:47:09 -05:00
zerver Remove unused message_tour.js. 2013-12-12 11:47:09 -05:00
zilencer Send shorter browser error reports to Zulip 2013-12-12 12:52:21 -05:00
zproject Remove unused message_tour.js. 2013-12-12 11:47:09 -05:00
.gitattributes enterprise: Don't include templates/zilencer in our tarballs 2013-11-15 11:53:49 -05:00
.gitignore Add HTML output file for JS unit tests. 2013-11-27 15:09:21 -05:00
LICENSE Add license not referring to Zulip Enterprise license agreement. 2013-11-14 11:16:15 -05:00
manage.py logging: Log management commands that are run. 2013-11-20 14:31:08 -05:00
zulip_tools.py Move su_to_zulip into zulip_tools.py 2013-11-13 16:56:59 -05:00