zulip/static
Tim Abbott edee1251c8 message_list: Replace buggy rerender_the_whole_thing.
As it turns out, our rerender_the_whole_thing function (used whenever
we were adding messages and discovered that the resulting message list
would be out-of-order) was just broken and scrolled the browser to a
random location.

This caused two user-facing bugs:

* On very fast networks, if two users sent messages at very close to
  the same time, we could end up with out-of-order message deliveries,
  triggering this code path, which was intended to silently correct
  the situation, but failed.

* In some narrows to streams with muted topics in the history but some
  recent traffic, the user's browser-cached history might have some
  gaps that mean the server fetch we do after narrowing discovers the
  history is out-of-order, again triggering the
  rerender_the_whole_thing code path.

The fix is to just remove that function, adding a new option to the
well-tested rerender_preserving_scrolltop (which has explicit logic to
preserve the scroll position) instead.

Fixes #12067.  Likely also fixes #12498.
2019-09-18 11:43:21 -07:00
..
assets styles: Finish removing manual antialiasing configuration. 2019-08-30 14:51:52 -07:00
audio notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
generated
html HTML validation: Remove xmlns:svg attribute. 2018-07-09 09:45:42 +05:30
images logos: Golf harder with svgo 1.3.0. 2019-09-02 19:30:09 -07:00
js message_list: Replace buggy rerender_the_whole_thing. 2019-09-18 11:43:21 -07:00
styles typeahead: Align the tip text centered vertically. 2019-09-17 13:09:03 -07:00
templates stream settings: Use fa-circle-o for link to /help/. 2019-09-05 11:48:32 -07:00
third typeahead: Move tip text to bottom. 2019-09-17 13:09:03 -07:00
.gitignore generate-custom-icon-webfont: Replace with webpack webfonts-loader. 2019-07-18 12:00:00 -07:00
favicon.ico