zulip/web
Haridarshan Choudhary d335cb34af
message_events: Avoid full rerender when marking unread.
Previously, when you did a "mark as unread from here" operation, we triggered 
a full rerender of both the recent topics view and the message feed. This was 
needlessly expensive, on and a large server with a somewhat busy CPU from 
other applications, can cause a visible lag, even when the message feed that 
you're looking at only has like 3 messages in it.

Improve this by passing the set of modified messages to the rerender.

There's likely further improvements to be made here -- we shouldn't need to
do more than toggle the unread markers -- but this should be good enough to
eliminate the visible lag.

Fixes #24263.
2023-03-06 10:39:47 -08:00
..
e2e-tests puppeteer: Fix small logging copy and paste error in `admin.test.ts`. 2023-03-06 09:42:11 -08:00
generated
html
images
shared eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
src message_events: Avoid full rerender when marking unread. 2023-03-06 10:39:47 -08:00
styles css: Move `pre code` reset rules to `rendered_markdown` class block. 2023-03-03 14:10:06 -08:00
templates gear_menu: Update 'Support Zulip' link. 2023-03-06 08:01:56 -08:00
tests util: Change parameter type of `sorted_ids` to `number[]`. 2023-03-03 12:04:42 -08:00
third css: Remove code elements from bootstrap.css. 2023-03-02 13:32:50 -08:00
.browserslistrc webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
.gitignore
babel.config.js webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
debug-require-webpack-plugin.ts
debug-require.js
postcss.config.js webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
webpack.assets.json webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
webpack.config.ts webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
webpack.dev-assets.json webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00