zulip/web
Sohaib-Ahmed21 d145aba3a5 hotkeys: Shift + M work in recent conversations and inbox.
Earlier, the Shift + M shortcut only functioned in messages to
mute/unmute topics in the messages section.

This commit enables the Shift + M shortcut to work in recent
conversations and the inbox. It achieves this by utilizing the
existing function toggle_topic_visibility_policy in user_topics_ui.
The focused row message of the recent_view_ui is passed to mute/unmute the
selected topic in the recent_view_ui, and the same process
is applied to the inbox_ui but the logic of muting/unmuting the topic
is kept in inbox_ui which uses function toggle_topic_visibility_policy
in user_topics_ui.

The function toggle_topic_visibility_policy is called in both
cases based on specific conditions to prevent the shortcut from
affecting other parts of the page, thus avoiding errors.

Fixes #27741.
2024-03-18 10:42:17 -07:00
..
e2e-tests typeahead: Improve compose topic typeahead behaviour. 2024-03-13 10:00:56 -07:00
generated
html
images portico: Remove screenshots from /apps. 2024-01-31 16:10:32 -08:00
server katex_server: Add Prometheus metrics. 2024-03-15 15:34:12 -07:00
shared typing_status: Add an extra notification_event_type to Recipients. 2024-02-12 10:51:12 -08:00
src hotkeys: Shift + M work in recent conversations and inbox. 2024-03-18 10:42:17 -07:00
styles stream picker: Remove stream colorblock. 2024-03-15 11:11:04 -07:00
templates stream picker: Remove stream colorblock. 2024-03-15 11:11:04 -07:00
tests stream-settings: Fix right panel resetting on filter change. 2024-03-15 17:22:10 -07:00
third typeahead: Move module to web/src. 2024-03-11 09:56:18 -07:00
.browserslistrc
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2024-02-22 12:46:40 -08:00
debug-require-webpack-plugin.ts eslint: Fix @typescript-eslint/no-confusing-void-expression. 2023-12-21 16:14:40 -08:00
debug-require.js
postcss.config.js
webpack.assets.json corporate: Update directories for activity and support frontend files. 2024-02-29 15:11:48 -08:00
webpack.config.ts katex: Replace subprocess call with minimal external service. 2024-03-15 15:34:12 -07:00
webpack.dev-assets.json development: Update modal in emails page to use micromodal. 2023-10-05 09:28:27 -07:00