zulip/web
Prakhar Pratyush 03897c42e1 ui_init: Fix flashing of 'try zulip' modal.
On visiting 'https://chat.zulip.org/?show_try_zulip_modal',
a 'try zulip' modal is displayed to spectators.

Previously, the modal flashed briefly and disappeared.

Reason:
Earlier, in 'ui_init.js' we called 'show_try_zulip_modal'
followed by a network call - which on success called
'initialize_everything'.

'hashchange.initialize' (in 'initialize_everything') closes
any active modal.

So, the race between 'show_try_zulip_modal' & 'hashchange.initialize'
was resulting in this flash.

Fix:
We call 'show_try_zulip_modal' only after 'initialize_everything'
completes - there's no point to try to display modal when the
loading screen is still visible to users.
2025-09-23 11:20:22 -07:00
..
e2e-tests stream-settings: Replace "Not subscribed" tab with "Available". 2025-09-16 11:16:06 -07:00
generated
html web: Sync content of Django and nginx error pages. 2025-04-03 17:09:46 -07:00
images help: Disallow class in svg. 2025-07-23 11:24:12 -07:00
server
shared subscriptions: Move raw svg for plus and check icons to zulip-icon. 2025-09-17 14:15:05 -07:00
src ui_init: Fix flashing of 'try zulip' modal. 2025-09-23 11:20:22 -07:00
styles realm_creation: Disable import from input. 2025-09-22 09:37:34 -07:00
templates groups-ui: Fix check and plus icon in group row. 2025-09-19 09:20:58 -07:00
tests stream_list_sort: Add tests for channel folders. 2025-09-22 09:38:36 -07:00
third alerts: Restore alert-success colors. 2025-07-09 14:04:52 -07:00
.browserslistrc browserslist: Add support for logical props. 2025-05-21 15:19:08 -07:00
.gitignore
babel.config.js babel: Type-check Babel configuration. 2025-09-10 09:44:44 -07:00
debug-require-webpack-plugin.ts
debug-require.cjs
postcss.config.js postcss: Type-check PostCSS configuration. 2025-09-10 09:44:44 -07:00
webpack.assets.json tabbed-instructions: Delete activate_correct_tab. 2025-09-04 09:37:34 -07:00
webpack.config.ts webpack: Disable cross-origin-header-check middleware. 2025-04-15 16:18:06 -07:00
webpack.dev-assets.json