zulip/web
Prakhar Pratyush 4515c29d44 topic_list: Fix missing 'show all topics' when messages not cached.
Earlier, when number of topics displayed in the topic list
widget was at max `topic_list_data.max_topics` and
first_message_id of stream >= first_cached_message_id.
There was a possibility of a few topics missing for messages
which were sent when the user wasn't subscribed.

We were neither displaying 'show more topics', nor fetching it
from server to update the list asyncronously.

This commit fixes that bug to display 'show all topics' in that
case and also initiates an API call in parallel to fetch all topics
for that stream and update the topic list asyncronously if topics
were actually missing.

Fixes #28949.
2025-06-19 12:43:02 -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 katex_server: Fix import/no-named-as-default. 2024-09-25 15:41:01 -07:00
shared help: Update "Share and upload files" for Flutter launch. 2025-06-16 10:03:10 -07:00
src topic_list: Fix missing 'show all topics' when messages not cached. 2025-06-19 12:43:02 -07:00
styles support: Add label when a realm is deactivated. 2025-06-18 16:51:25 -07:00
templates move_topic_modal: Only include messages senders in warning banner. 2025-06-19 10:30:08 -07:00
tests topic_list: Fix missing 'show all topics' when messages not cached. 2025-06-19 12:43:02 -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 emoji: Convert spritesheets to webp. 2024-09-11 09:03:47 -07:00
babel.config.js dependencies: Upgrade JavaScript dependencies. 2025-05-05 14:15:44 -07:00
debug-require-webpack-plugin.ts debug-require: Rename to *.cjs. 2024-11-13 09:18:56 -08:00
debug-require.cjs debug-require: Rename to *.cjs. 2024-11-13 09:18:56 -08:00
postcss.config.js postcss: Work around postcss-extend-rule incompatibility with :is(). 2025-05-23 22:25:38 -07:00
webpack.assets.json integrations: Convert module to TypeScript. 2024-12-01 19:33:16 -08:00
webpack.config.ts webpack: Disable cross-origin-header-check middleware. 2025-04-15 16:18:06 -07:00
webpack.dev-assets.json showroom: Standardize "showroom" name for UI components testing pages. 2025-01-13 17:46:15 -08:00