zulip/web
yogesh sirsat 953f026487 compose: Disable unneeded control buttons in preview mode.
Buttons which change the content in the compose textarea were so far
enabled even in preview mode, and would work, but those changes would
not be reflected in the visible preview. This is extremely confusing,
and can lead to the possibility of a user accidentally changing the
content of the compose textarea while previewing, and sending that.

Now we disable those buttons in preview mode, both when composing a new
message and when editing an existing one. We still show the tooltips,
but grey them out and make them unclickable.

Fixes: #20962
2023-09-13 15:09:16 -07:00
..
e2e-tests settings_bots: Migrate manage bot to user profile modal. 2023-09-11 10:39:00 -07:00
generated
html
images styles: Remove Firefox override for dropdown appearance. 2023-07-24 13:10:03 -07:00
shared recent_view: Add table header to sort by unread count. 2023-09-13 14:58:13 -07:00
src compose: Disable unneeded control buttons in preview mode. 2023-09-13 15:09:16 -07:00
styles compose: Disable unneeded control buttons in preview mode. 2023-09-13 15:09:16 -07:00
templates compose: Disable unneeded control buttons in preview mode. 2023-09-13 15:09:16 -07:00
tests compose: Disable unneeded control buttons in preview mode. 2023-09-13 15:09:16 -07:00
third emoji: Match emoji sequences in markdown. 2023-08-23 16:18:15 -07:00
.browserslistrc webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
.gitignore
babel.config.js babel: Include "transform-optional-chaining" in presets. 2023-08-14 16:07:16 -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 stats: Add stats page_params to `webpack.assets.json`. 2023-08-24 10:43:38 -07:00
webpack.config.ts dependencies: Upgrade JavaScript dependencies. 2023-06-05 21:51:26 -07:00
webpack.dev-assets.json webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00