zulip/web/templates
Sayam Samal b09dfb782d reactions: Optimize DOM cost of message reactions via dynamic rendering.
Before, the message reactions section along with the add reaction button
was being rendered for every message even when there were no reactions
present - this led to additional DOM cost.

This commit adds the message reactions section only when there is
at least a single reaction on the message, and follows up with a cleanup
of the message reactions section when there are no reactions.

Fixes #31137.

Co-authored-by: Anmol-dev45 <basnetanmol2020@gmail.com>
2024-10-04 11:09:43 -07:00
..
buddy_list buddy_list: Show conversation participants in the right sidebar. 2024-09-30 16:35:13 -07:00
compose_banner settings: Add two realm settings to restrict direct messages. 2024-07-08 19:34:17 -07:00
confirm_dialog saved_snippets: Add new feature for saved snippets. 2024-10-01 11:48:15 -07:00
inbox_view tooltips: Clean up aria-label for visiblity tooltips. 2024-07-25 08:24:14 -07:00
modal_banner stream_settings: Rename stream to channel in stream created banner. 2024-07-16 23:27:03 -07:00
navbar_alerts custom_profile_fields: Add "required" parameter to the profile fields. 2024-03-21 10:48:54 -07:00
popovers saved_snippets: Add new feature for saved snippets. 2024-10-01 11:48:15 -07:00
settings settings: Remove user_group_edit_policy from the frontend. 2024-10-01 17:35:14 -07:00
stream_settings help: Link to dedicated articles vs getting org started guide. 2024-09-30 11:58:31 -07:00
unread_banner help: Link mark as read in conversation banner to help page. 2024-03-04 16:55:59 -08:00
user_group_settings user_groups: Handle inaccessible streams in group deactivation error. 2024-10-01 09:45:37 -07:00
widgets cleanup: Remove structural .new-style references. 2024-09-11 14:22:45 -07:00
about_zulip.hbs copy: Use redesigned copy button in the About Zulip modal. 2024-09-20 15:44:20 -07:00
add_poll_modal.hbs cleanup: Remove singleton .new-style class refs. 2024-09-11 14:22:45 -07:00
add_saved_snippet_modal.hbs saved_snippet: Prepopulate new saved snippet content. 2024-10-02 09:30:18 -07:00
blueslip_stacktrace.hbs blueslip: Show popups for thrown non-Error values in development. 2024-06-24 15:05:28 -07:00
bookend.hbs cleanup: Remove structural .new-style references. 2024-09-11 14:22:45 -07:00
buddy_list_tooltip_content.hbs
change_email_modal.hbs cleanup: Remove singleton .new-style class refs. 2024-09-11 14:22:45 -07:00
change_visibility_policy_button_tooltip.hbs css: Use classname for topic visibility tooltip instead of span. 2024-07-26 14:42:25 -07:00
code_buttons_container.hbs copy: Use redesigned copy button in rendered codeblocks. 2024-09-20 15:44:20 -07:00
compose.hbs compose: Decouple compose buttons from button classes. 2024-09-19 16:16:11 -07:00
compose_control_buttons.hbs upload: Don't render upload button instead of hiding. 2024-05-14 12:21:49 -07:00
compose_limit_indicator.hbs compose: Redesign limit indicator to show remaining characters count. 2024-04-30 14:16:10 -07:00
copy_invite_link.hbs copy: Use redesigned copy button in copy invite link alert. 2024-09-20 15:44:20 -07:00
creator_details.hbs stream_settings: Extract `creator_detail` section. 2024-09-13 18:44:58 -07:00
default_language_modal.hbs
demo_organization_add_email_modal.hbs cleanup: Remove singleton .new-style class refs. 2024-09-11 14:22:45 -07:00
dialog_change_password.hbs settings: Remove .w-200 class from .new-style cluster. 2024-08-30 14:06:27 -07:00
dialog_widget.hbs scroll: Set tabIndex to -1 for simplebar content wrapper. 2024-06-20 10:25:51 -07:00
draft.hbs messages_ovelay: Use specific name for `row_item_selector`. 2024-09-30 11:23:29 -07:00
draft_table_body.hbs cleanup: Remove structural .new-style references. 2024-09-11 14:22:45 -07:00
drafts_tooltip.hbs compose: Show counter inside Drafts button for the current recipient. 2024-03-13 16:53:45 -07:00
dropdown_current_value_not_in_options.hbs
dropdown_disabled_state.hbs
dropdown_list.hbs saved_snippets: Add new feature for saved snippets. 2024-10-01 11:48:15 -07:00
dropdown_list_container.hbs emoji_picker: Format search bar same as dropdown widget. 2024-06-28 11:24:12 -07:00
dropdown_widget.hbs dropdown_widget: Allow passing is_setting_disabled in the template. 2024-10-01 17:35:14 -07:00
dropdown_widget_with_label.hbs dropdown_widget_label: Add wrapper around `dropdown_widget`. 2024-08-19 10:28:59 -07:00
dropdown_widget_wrapper.hbs stream picker: Remove stream colorblock. 2024-03-15 11:11:04 -07:00
edit_content_button.hbs message_controls: Add missing class to edit buttons. 2024-07-31 09:15:41 -07:00
edited_notice.hbs tooltips: Defer computing last_edit_timestr until tooltip renders. 2024-09-23 18:13:17 -07:00
embedded_bot_config_item.hbs modals: Add bottom margin to label elements. 2024-05-03 09:51:36 -07:00
empty_feed_notice.hbs
empty_list_widget_for_list.hbs
empty_list_widget_for_table.hbs
favicon.svg.hbs
feedback_container.hbs
filter_topics.hbs left_sidebar: Rewrite topic filter in grid. 2024-06-28 15:12:00 -07:00
giphy_picker.hbs popovers: Disable autocomplete on popover filter widgets. 2024-07-09 15:46:49 -07:00
help_link_widget.hbs
inline_decorated_stream_name.hbs typeahead: Remove all sources of white space inside `strong` element. 2024-06-27 09:18:23 -07:00
input_pill.hbs popovers: Add stream-info-popover when channel pill is clicked. 2024-09-10 16:16:53 -07:00
introduce_zulip_view_modal.hbs modals: Fix typo in introduce_zulip_view_model. 2024-09-27 17:56:44 +00:00
invitation_failed_error.hbs billing: Remove settings tab from billing urls. 2024-09-20 12:02:39 -07:00
invite_user_modal.hbs cleanup: Remove structural .new-style references. 2024-09-11 14:22:45 -07:00
keyboard_shortcuts.hbs docs: Advertise Inbox and Recent view navigation shortcuts. 2024-09-26 13:13:35 -07:00
left_sidebar.hbs left_sidebar: Add hover effects for section headings. 2024-09-30 13:38:33 -07:00
lightbox_overlay.hbs cleanup: Remove structural .new-style references. 2024-09-11 14:22:45 -07:00
loader.hbs
login_to_access.hbs
login_to_view_image_button.hbs css: Do not use "*" selector for color_animated_button styles. 2024-07-24 12:31:20 -07:00
markdown_help.hbs info-overlay: Adjust width of overlay and columns. 2024-07-05 11:36:35 -07:00
markdown_time_tooltip.hbs
markdown_timestamp.hbs global_times: Allow global times to display inline. 2024-08-21 16:02:33 -07:00
mention_content_wrapper.hbs mentions: Allow mentions to display inline. 2024-08-21 16:02:33 -07:00
message_avatar.hbs avatars: Mark as lazy-loaded. 2024-08-16 14:33:25 -07:00
message_body.hbs reactions: Optimize DOM cost of message reactions via dynamic rendering. 2024-10-04 11:09:43 -07:00
message_controls.hbs echo: Update message controls dynamically for failed messages. 2024-09-16 13:06:30 -07:00
message_controls_failed_msg.hbs echo: Update message controls dynamically for failed messages. 2024-09-16 13:06:30 -07:00
message_edit_form.hbs message_edit: Use display: grid instead of relative positioning. 2024-09-30 17:40:37 -07:00
message_edit_history.hbs messages_ovelay: Use specific name for `row_item_selector`. 2024-09-30 11:23:29 -07:00
message_edit_notice_tooltip.hbs message_edit_notice_tooltip: Rewrite to fix inverted check. 2024-09-23 18:13:17 -07:00
message_feed_bottom_whitespace.hbs
message_feed_errors.hbs css: Use classname for all-messages-search-caution icon styles. 2024-09-03 10:22:44 -07:00
message_group.hbs narrow: Use message list id to track message lists in DOM. 2024-01-18 08:31:48 -08:00
message_hidden_dialog.hbs
message_history_overlay.hbs cleanup: Remove structural .new-style references. 2024-09-11 14:22:45 -07:00
message_inline_image_tooltip.hbs
message_length_toggle.hbs condense: Dynamically render content for message length toggle. 2024-08-29 15:52:08 -07:00
message_list.hbs narrow: Use message list id to track message lists in DOM. 2024-01-18 08:31:48 -08:00
message_moved_widget_body.hbs topic_name: Fix compressing of display topic names. 2024-06-26 12:23:32 -07:00
message_reaction.hbs
message_reactions.hbs reactions: Optimize DOM cost of message reactions via dynamic rendering. 2024-10-04 11:09:43 -07:00
message_view_header.hbs rendered_markdown: Fix text wrapping in message view header. 2024-07-09 09:42:10 -07:00
more_pms.hbs left_sidebar: Apply grid to 'more conversations' DM row. 2024-05-03 12:21:59 -07:00
more_topics.hbs sidebars: Update colors, opacity for side bar titles and toggles. 2024-09-24 11:08:50 -07:00
more_topics_spinner.hbs
move_topic_to_stream.hbs cleanup: Remove singleton .new-style class refs. 2024-09-11 14:22:45 -07:00
muted_user_ui_row.hbs settings: Handle inaccessible users in muted users list. 2023-12-07 19:34:07 -08:00
narrow_to_compose_recipients_tooltip.hbs
narrow_tooltip.hbs
navbar.hbs navbar: Remove signup button. 2024-08-21 12:02:59 -07:00
navbar_icon_and_title.hbs css: Use classname for navbar_icon_and_title icon styles. 2024-09-03 10:22:44 -07:00
org_logo_tooltip.hbs navbar: Add navigate to home view tooltip to the organization logo. 2024-03-06 13:58:36 -08:00
pm_list_item.hbs group_pill: Change the groups icon to zulip-triple-user-icons. 2024-04-24 17:37:38 -07:00
poll_modal_option.hbs
presence_row.hbs right_sidebar: Uniformly group user name and status emoji. 2024-06-07 11:53:26 -07:00
presence_rows.hbs
profile_access_error_modal.hbs user_profile: Enable dynamic URL generation for "View profile" option. 2024-02-15 17:17:38 -08:00
read_receipts.hbs read_receipts: Fix duplication bug when opening menu repeatedly. 2024-02-22 10:49:29 -08:00
read_receipts_modal.hbs read_receipts: Fix duplication bug when opening menu repeatedly. 2024-02-22 10:49:29 -08:00
recent_view_filters.hbs
recent_view_row.hbs tooltips: Clean up aria-label for visiblity tooltips. 2024-07-25 08:24:14 -07:00
recent_view_table.hbs recent_view: Use html as scroll container. 2024-06-07 10:17:10 -07:00
recipient_row.hbs tooltips: Clean up aria-label for visiblity tooltips. 2024-07-25 08:24:14 -07:00
resolve_topic_time_limit_error_modal.hbs
right_sidebar.hbs buddy_list: Show conversation participants in the right sidebar. 2024-09-30 16:35:13 -07:00
scheduled_message.hbs scheduled_message: Use specific name for `message-info-box` selector. 2024-09-30 11:23:29 -07:00
scheduled_message_stream_pm_common.hbs
scheduled_messages_indicator.hbs
scheduled_messages_overlay.hbs scheduled_messages: Use specific name for `items_list_selector`. 2024-09-30 11:23:29 -07:00
search_description.hbs search_suggestion: Change suggestion string for has: operator. 2024-07-16 11:03:08 -07:00
search_list_item.hbs input pill: Remove pill-container-btn class in favor of search styling. 2024-06-20 15:16:17 -07:00
search_operators.hbs search: Improve text about searching public channels. 2024-07-20 15:42:41 -07:00
search_user_pill.hbs search_pill: Replace user display_value with full_name. 2024-08-01 17:31:59 -07:00
send_later_modal.hbs
send_later_modal_options.hbs send_later: Remove Bootstrap `nav nav-list` CSS classes dependency. 2024-07-15 10:00:22 -07:00
set_status_overlay.hbs cleanup: Remove structural .new-style references. 2024-09-11 14:22:45 -07:00
settings_overlay.hbs icons: Update bot icon in Settings UI. 2024-09-23 14:09:47 -07:00
settings_tab.hbs cleanup: Remove singleton .new-style class refs. 2024-09-11 14:22:45 -07:00
single_message.hbs message_list: Conditionally render message edit form container element. 2024-08-29 13:32:28 -07:00
status_emoji.hbs status_emoji: Remove extra space with Handlebars whitespace control. 2024-03-28 09:11:09 -07:00
status_emoji_selector.hbs status_emoji_selector: Replace fa-smile with custom zulip-smile-icon. 2024-01-19 09:48:02 -08:00
stream_privacy.hbs
stream_sidebar_row.hbs stream_sidebar_row: Show stream sidebar menu icon for spectators. 2024-07-08 13:56:13 -07:00
stream_topic_widget.hbs topic_name: Fix compressing of display topic names. 2024-06-26 12:23:32 -07:00
streams_subheader.hbs left_sidebar: Place redesigned subheaders. 2024-09-24 11:08:50 -07:00
subscribe_to_more_streams.hbs css: Use classname for subscribe-to-more-streams icon styles. 2024-09-03 10:22:44 -07:00
tooltip_templates.hbs saved_snippets: Add new feature for saved snippets. 2024-10-01 11:48:15 -07:00
topic_edit_form.hbs
topic_list_item.hbs tooltip: Change tooltip for topic menu option. 2024-07-24 13:31:24 -07:00
topic_muted.hbs
topic_typeahead_hint.hbs
typeahead_list_item.hbs composebox_typeahead: Replace parentheses around pronouns with comma. 2024-09-20 15:16:21 -07:00
typing_notification.hbs
typing_notifications.hbs
user_custom_profile_fields.hbs copy: Use redesigned copy button in user profile modal. 2024-09-20 15:44:20 -07:00
user_display_only_pill.hbs user_pill: Show deactivated icon in user_display_only_pill. 2024-07-16 14:52:17 -07:00
user_full_name.hbs
user_group_list_item.hbs user_profile: Add links to group settings. 2024-03-04 16:52:57 -08:00
user_pill.hbs search_suggestion: Show pills for all users in a group suggestion. 2024-06-19 18:41:51 -07:00
user_profile_modal.hbs cleanup: Remove structural .new-style references. 2024-09-11 14:22:45 -07:00
user_profile_subscribe_widget.hbs
user_stream_list_item.hbs web-i18n: Update frontend translated strings for stream rename channel. 2024-04-24 14:35:04 -07:00
user_topic_ui_row.hbs settings: Set min-width of table columns for narrow screens. 2024-07-12 10:35:22 -07:00
user_with_status_icon.hbs status_emoji: Remove extra space with Handlebars whitespace control. 2024-03-28 09:11:09 -07:00
view_code_in_playground.hbs
zulip_copy_icon.hbs copy: Use redesigned copy button in codeblocks of /help docs. 2024-09-20 15:44:20 -07:00