zulip/web
Prakhar Pratyush 909a2efb43 channel: Don't show "You subscribed to" bookend on channel creation.
Three events i.e. 'stream create', 'subscription add', and
'message' event are received by client on channel creation.

Earlier, we were narrowing to channel while processing the
'stream create' event. This was resulting in fetching messages
for that narrow even before adding subscription. This resulted
in a bug where "You subscribed to" bookend was visible in the
message feed after the "channel events" message.

This commit updates the logic to narrow ONLY after adding
subscription i.e. while processing "subscription add" event.

Note: A channel creator who is not going to subscribe to the
channel themselves is NOT narrowed to the channel view.

This fixes the incorrect behavior.
2024-07-11 09:51:55 -07:00
..
e2e-tests search pills: Validate pills with shake animation when invalid. 2024-07-09 17:08:45 -07:00
generated
html 5xx: Remove duplicate error_page class applied on page. 2024-07-03 13:35:12 -07:00
images onboarding_steps: Remove hotspot as an onboarding_step. 2024-05-10 12:30:22 -07:00
server katex_server: Fix implicit use of any. 2024-05-04 18:53:34 -07:00
shared send_later_popover: Redesign popover and add accessibility improvements. 2024-07-10 15:05:37 -07:00
src channel: Don't show "You subscribed to" bookend on channel creation. 2024-07-11 09:51:55 -07:00
styles account_settings: Make change password similar to other setting buttons. 2024-07-11 09:49:27 -07:00
templates account_settings: Make change password similar to other setting buttons. 2024-07-11 09:49:27 -07:00
tests channel: Don't show "You subscribed to" bookend on channel creation. 2024-07-11 09:51:55 -07:00
third typeahead: Move CSS file with other styles. 2024-07-09 09:42:10 -07:00
.browserslistrc
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2024-04-25 16:46:03 -07:00
debug-require-webpack-plugin.ts tsconfig: Enable exactOptionalPropertyTypes. 2024-05-16 08:58:20 -07:00
debug-require.js
postcss.config.js eslint: Fix unicorn/no-anonymous-default-export. 2024-04-25 16:46:03 -07:00
webpack.assets.json support: Set discounted price instead percentage for customers. 2024-05-16 02:18:43 -07:00
webpack.config.ts blueslip: Untangle from page_params. 2024-06-22 19:18:10 -07:00
webpack.dev-assets.json development: Update modal in emails page to use micromodal. 2023-10-05 09:28:27 -07:00