zulip/web
Daniil Fadeev 3e2d5b3c86 compose_validate: Use correct stream_id value for different context.
This commit addresses the issue of relying on `compose_state` for
retrieving the `stream_id` to display warning banners. Previously,
warnings were shown for syntax in the message edit box based on
whether that syntax would trigger a warning for the draft content (if
any) currently in the compose box.

We fix this by using a new `get_stream_id_for_textarea` function to
obtain the correct `stream_id` value for the check being done.

Fixes: #25410.
2023-05-24 12:48:44 -07:00
..
e2e-tests settings: Close date-picker when settings modal is closed. 2023-05-23 17:01:00 -07:00
generated web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
html web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
images compose: Add DM icon to the recipient dropdown. 2023-04-27 17:04:19 -07:00
shared internal_url: Remove obsolete TODO comment. 2023-05-24 11:26:56 -07:00
src compose_validate: Use correct stream_id value for different context. 2023-05-24 12:48:44 -07:00
styles feedback_widget: Don't use non-optimal animation properties. 2023-05-24 11:30:55 -07:00
templates settings_playground: Fix sorting issues in playgrounds table. 2023-05-22 09:36:24 -07:00
tests compose_validate: Use correct stream_id value for different context. 2023-05-24 12:48:44 -07:00
third bootstrap: Remove bootstrap CSS rules for number type inputs. 2023-05-23 10:54:12 -07:00
.browserslistrc webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
.gitignore web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
babel.config.js dependencies: Upgrade JavaScript dependencies. 2023-04-25 22:18:48 -07:00
debug-require-webpack-plugin.ts web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
debug-require.js web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
postcss.config.js postcss: Enable postcss-preset-env. 2023-03-20 11:26:30 -07:00
webpack.assets.json webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
webpack.config.ts static: Add Timing-Allow-Origin: * to allow sentry data timing. 2023-05-09 13:16:28 -07:00
webpack.dev-assets.json webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00