zulip/web
apoorvapendse 6331a7c07a compose: Fix incorrect recipient logic for quote-reply.
Using the ">" hotkey to quote some selected
part of a single message sets the recipients
to be same as the recipients of "selected" message,
which is the message having the pointer instead
of the message we are selecting text to quote from.

This confusing behavior only happens with the ">"
hotkey and doesn't when using the "select part of a
message + use message actions popover menu option
to quote" flow, which sets the recipients correctly
to be the recipients of the message containing the
selection that is being quoted regardless of
where the pointer is.

This fix is meant to set the recipients to the
recipients of the selected message being quoted,
when opening the composebox, particularly to address
this odd ">" hotkey behavior.

This is applicable only when the composebox is
closed and there is no other focused textarea
we trying to quote into.

Also, in case of selecting multiple messages,
we only quote the entire message that is
under the pointer and the recipients will be set
to this message's recipients.

Fixes: #36989.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2026-01-08 10:43:06 -08:00
..
e2e-tests e2e-tests: Remove run_test_async wrapper. 2025-12-30 09:29:21 -08:00
generated
html web: Sync content of Django and nginx error pages. 2025-04-03 17:09:46 -07:00
icons stream-settings: Allow filtering streams by folder. 2026-01-06 15:41:07 -08:00
images css: Add resizer handle icon in resizable textarea for webkit. 2025-12-04 16:33:38 -08:00
server tsconfig: Enable noPropertyAccessFromIndexSignature. 2025-11-26 09:51:18 -08:00
src compose: Fix incorrect recipient logic for quote-reply. 2026-01-08 10:43:06 -08:00
styles channel_folder_ui: Add channel folder preview modal for non admins. 2026-01-07 15:45:03 -08:00
templates channel_setting: Hide delete icon in channel folder list. 2026-01-07 15:45:03 -08:00
tests compose: Fix incorrect recipient logic for quote-reply. 2026-01-08 10:43:06 -08:00
third css: Use variables to set height and margin in user profile modal. 2025-11-05 16:29:58 -08:00
.browserslistrc browserslist: Add support for logical props. 2025-05-21 15:19:08 -07:00
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2025-12-28 00:49:26 -08: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 marketing_page: Sunset the landing-page-with-pricing bundle. 2025-12-16 16:03:45 -08:00
webpack.config.ts shared: Move typing_status.ts to web/src. 2025-11-11 09:06:18 -08:00
webpack.dev-assets.json portico: Establish and reference legacy portico bundle. 2025-12-10 12:50:21 -08:00