zulip/web
Brijmohan Siyag cb00fbc42f compose: Check posting policy for direct messages.
Prior this commit, changing the message type from a stream (where posting
was not allowed) to a direct message using the compose box dropdown, did not
changed the state of the send button from disabled to enabled even though
direct messages were allowed in the organization.

This was happening because `check_stream_posting_policy_for_compose_box` was
only for streams.

Now, function is updated to check for both streams and direct
messages, as it checks if direct messages are allowed or not, and depending on
that, it updates the send button's state, tooltip and displays a relevant banner.
2023-05-16 11:24:35 -07:00
..
e2e-tests compose: Use tippy for stream select dropdown. 2023-05-09 14:11:26 -07:00
generated
html
images compose: Add DM icon to the recipient dropdown. 2023-04-27 17:04:19 -07:00
shared scheduled_message_overlay: Add a failed delivery indicator. 2023-05-14 16:46:20 -07:00
src compose: Check posting policy for direct messages. 2023-05-16 11:24:35 -07:00
styles css: Increase constrast for blue box. 2023-05-15 16:01:09 -07:00
templates popovers: Add keyboard shortcut to emoji reaction menu item. 2023-05-16 10:53:54 -07:00
tests compose: Check posting policy for direct messages. 2023-05-16 11:24:35 -07:00
third bootstrap: Remove unused stylings for btn-info. 2023-05-10 12:10:14 -07:00
.browserslistrc webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2023-04-25 22:18:48 -07:00
debug-require-webpack-plugin.ts
debug-require.js
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