zulip/web
Prakhar Pratyush 8e1f0c4bcf topic_list: Fix "show all topics" flashing.
Earlier, 'all_topics_in_cache' used to return `false`
in the case where we were unsure if some topics were
present even before the user subscribed to the channel
and hence missing in the cache.

Returning `false` led to visible 'show all topics',
even if all the topics were already displayed. This was
helpful if the API call to fetch channel history failed,
as users had the option to make another request.

That resulted in a bug where "show all topics" was flashing
in channels with less number of topics. We used to display
"show all topics" initially and then hide it after the API
call confirmed that there were no new topics to display.

To fix this bug, we return `true`. So, the "show all topics"
is not displayed beforehand. We let the API call fetch the history
and rebuild the topic list based on the updated data.

Instead of show then hide. We now prefer, show if needed.

To fix the issue of API call failure and users having no option
to see all topics, we did prep work in the last commit
to add retry mechanism to the concerned API call.
2025-06-26 10:11:05 -07:00
..
e2e-tests dependencies: Upgrade JavaScript dependencies. 2025-06-04 16:24:47 -07:00
generated
html web: Sync content of Django and nginx error pages. 2025-04-03 17:09:46 -07:00
images icons: Let the system using the icons specify the fill-rule color. 2025-05-27 10:00:21 -07:00
server
shared message_reminder: Add UI to schedule message reminder. 2025-06-25 12:05:28 -07:00
src topic_list: Fix "show all topics" flashing. 2025-06-26 10:11:05 -07:00
styles message_row: Add cursor:pointer for all control icons. 2025-06-25 16:33:49 -07:00
templates channel: Add option to notify users newly added to a channel. 2025-06-26 10:08:11 -07:00
tests topic_list: Fix "show all topics" flashing. 2025-06-26 10:11:05 -07:00
third alerts: Fix alert-error banner styling. 2025-06-17 09:25:33 -07:00
.browserslistrc browserslist: Add support for logical props. 2025-05-21 15:19:08 -07:00
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2025-06-25 16:53:17 -07:00
debug-require-webpack-plugin.ts
debug-require.cjs
postcss.config.js postcss: Work around postcss-extend-rule incompatibility with :is(). 2025-05-23 22:25:38 -07:00
webpack.assets.json
webpack.config.ts webpack: Disable cross-origin-header-check middleware. 2025-04-15 16:18:06 -07:00
webpack.dev-assets.json