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
..
2018-05-06 19:35:18 -07:00
2019-07-16 11:33:02 -07:00
2019-08-06 23:29:11 -07:00
2018-08-02 08:02:12 -04:00
2019-05-30 10:34:56 -07:00
2019-01-08 10:47:35 -08:00
2019-07-04 16:48:33 -07:00
2019-08-07 16:20:19 -07:00
2019-07-25 16:18:54 -07:00
2018-08-02 08:02:12 -04:00
2018-11-29 13:00:25 -08:00
2019-08-06 23:29:11 -07:00
2019-07-08 20:07:49 -07:00
2019-05-13 17:27:32 -07:00
2019-07-31 10:20:24 -07:00
2018-12-09 21:28:45 -08:00
2018-10-12 11:20:30 -07:00
2019-07-29 15:51:50 -07:00
2019-07-12 21:11:14 -07:00
2019-07-29 18:05:46 -07:00
2019-06-26 16:49:32 -07:00
2018-05-15 08:24:44 -07:00
2019-08-28 15:23:39 -07:00
2019-07-12 21:11:14 -07:00
2019-07-20 14:38:52 -07:00
2018-07-23 12:35:08 -07:00
2018-09-21 18:34:12 -07:00
2018-12-13 08:43:56 -08:00
2019-08-22 13:40:49 -07:00
2019-07-17 17:58:20 -07:00
2019-01-07 19:20:56 -08:00
2019-07-09 11:31:35 -07:00
2019-06-24 14:04:42 -07:00
2019-07-12 21:11:14 -07:00
2019-07-12 21:11:14 -07:00
2018-12-04 12:24:39 -08:00
2019-05-29 23:01:54 -07:00
2018-08-24 10:00:04 -07:00
2019-08-22 13:13:24 -07:00
2019-09-08 16:42:20 -07:00
2019-06-26 16:49:32 -07:00
2019-01-07 19:20:56 -08:00
2019-07-13 11:35:37 -07:00
2019-07-17 17:58:20 -07:00
2019-07-17 17:58:20 -07:00
2019-06-26 16:49:32 -07:00
2019-09-18 11:43:21 -07:00
2019-07-08 21:22:54 -07:00
2018-12-15 13:44:30 -08:00
2019-07-08 21:22:54 -07:00
2019-01-07 19:20:56 -08:00
2018-12-29 11:38:39 -08:00
2019-01-07 19:20:56 -08:00
2019-06-24 13:14:10 -07:00
2019-06-12 16:12:13 -07:00
2019-07-02 16:50:03 -07:00
2018-10-29 12:57:15 -07:00
2019-07-13 11:35:37 -07:00
2019-08-06 23:29:11 -07:00
2019-07-12 21:11:14 -07:00
2019-08-02 15:20:55 -07:00
2019-08-06 23:29:11 -07:00
2019-07-19 12:45:44 -07:00
2019-01-07 19:20:56 -08:00
2018-08-14 11:39:29 -07:00
2018-12-07 13:14:28 -08:00
2019-08-06 23:29:11 -07:00
2018-10-24 16:54:35 -07:00
2019-07-12 21:11:14 -07:00
2019-08-22 13:40:49 -07:00
2019-08-22 13:40:49 -07:00
2018-12-04 13:58:00 -08:00
2019-07-08 21:22:54 -07:00
2019-07-12 21:11:14 -07:00
2018-12-14 16:05:37 -08:00
2019-08-12 18:21:38 -07:00
2019-08-06 23:29:11 -07:00
2019-07-12 21:11:14 -07:00
2019-06-24 14:46:45 -07:00
2019-08-06 23:29:11 -07:00
2019-07-25 16:18:54 -07:00
2019-02-25 09:47:44 -08:00
2018-06-11 07:51:24 -04:00
2018-05-30 14:47:36 -07:00
2019-07-12 21:11:14 -07:00
2019-05-06 20:12:54 -07:00
2019-09-05 11:48:32 -07:00
2019-08-07 16:20:19 -07:00
2019-01-30 13:53:20 -08:00
2019-01-07 19:20:56 -08:00
2019-05-30 21:39:06 -07:00
2019-07-12 21:11:14 -07:00
2019-01-07 19:20:56 -08:00
2019-07-21 20:18:29 -07:00
2019-08-06 23:29:11 -07:00
2019-06-06 19:56:24 -07:00
2019-07-18 13:34:55 -07:00
2018-09-21 10:59:55 -07:00
2019-08-25 21:29:10 -07:00
2019-05-30 10:34:56 -07:00
2019-05-08 17:10:07 -07:00
2019-05-30 15:43:18 -07:00
2019-03-21 10:48:44 -07:00
2018-07-10 15:07:56 +05:30
2019-01-29 10:27:49 -08:00
2019-03-25 15:10:47 -07:00
2019-07-12 21:11:14 -07:00
2019-01-29 09:34:14 -08:00
2019-07-09 11:38:20 -07:00
2019-05-29 23:01:54 -07:00