zulip/static
Aman Agrawal 8a163840f4 message_events: Change narrow after updating local data.
On update_message events, we were changing narrow before we
locally updated the data, this resulted in a weird mismatch
between locally available data and that fetched from the server.
Ideally, we should not be requesting any data from the server
in most scenarios since the messages for new narrow is
locally available.

As a result, the new narrow didn't have any messages other than
a breadcrumb message. To fix this, we change narrow post
locally updating the data.

The original bug was not exactly reproduced, but a similar version
of it was simulated and was found to be fixed.

Tweaked by tabbott to preserve an optimization.
2020-06-14 11:02:50 -07:00
..
assets icon: Import a font-awesome 5 third party icon. 2020-06-11 17:15:55 -07:00
audio notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
generated
html docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
images integrations: Add Thinkst Canary integration. 2020-06-09 16:28:28 -07:00
js message_events: Change narrow after updating local data. 2020-06-14 11:02:50 -07:00
shared typeahead: Convert to ES6 module. 2020-02-19 14:36:42 -08:00
styles settings: Use icon to play notification sound. 2020-06-13 16:46:05 -07:00
templates settings: Use icon to play notification sound. 2020-06-13 16:46:05 -07:00
third markdown: Add timestamp syntax to markdown processors. 2020-05-20 14:23:55 -07:00
.eslintrc.json lint: Delegate console.log check to ESLint. 2020-02-07 14:09:47 -08:00
.gitignore team: Generate team page data using cron job. 2020-04-08 12:52:31 -07:00
favicon.ico