zulip/static/templates
Tim Abbott d47f29c2d6 reactions: Implement display_emoji_reaction_users setting.
This setting provides a more ergonomic experience when viewing a
message where only a small number of emoji reactions are present; you
no longer need to hover over the reaction to see who reacted, which is
often quite important to understanding what it means.

We added this setting (visible in the development environment only,
and implemented on mobile) a few months ago; so to complete this
feature, we just need to add the frontend rendering/live update logic
and publish it.

As documented in the code comments, the current rule is "messages with
3 or fewer reactions" for which messages will display the names of the
users reacting.

The previous set_reaction_count API made sense when the display of a
given reaction was a pure function of its data. However, we will soon
be making it a function of the total number of reactions on the
message.

Thus, view functions to update reaction display now need to call a
shared update_vote_text_on_message function in all code paths, even
code paths like "add the first vote for a reaction" and "remove the
sole vote of a reaction" which previously did not need to call
set_reaction_count.

Fixes #20890.
2022-10-27 12:41:51 -07:00
..
confirm_dialog bots: Customize reactivation confirmation modal for bots. 2022-10-26 13:26:16 -07:00
navbar_alerts navbar_alerts: Add alerts for demo org deadlines. 2021-09-10 16:31:54 -07:00
settings reactions: Implement display_emoji_reaction_users setting. 2022-10-27 12:41:51 -07:00
stream_settings stream-create: Use simplebar. 2022-10-20 17:54:46 -07:00
user_group_settings user groups: Implement edit features in user group settings overlay. 2022-09-07 12:09:28 -07:00
widgets widgets: Fix line wrapping of todo descriptions. 2022-03-21 17:52:45 -07:00
about_zulip.hbs
actions_popover_content.hbs popovers: Drop text for historical messages from three-dot menu. 2022-10-26 13:20:37 -07:00
actions_popover_template.hbs actions_popover: Only wrap content to next line on small width. 2022-10-06 16:58:33 -07:00
all_messages_sidebar_actions.hbs
announce_stream_docs.hbs stream_settings: Modify the message of the "Announce stream" hint tooltip. 2022-06-28 13:19:54 -07:00
blueslip_stacktrace.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
bookend.hbs recent-topics: Update hash for view to be "#recent". 2022-10-25 11:03:44 -07:00
buddy_list_tooltip_content.hbs
change_email_modal.hbs change_email: Migrate modal to dialog_widget. 2022-01-21 16:12:34 -08:00
compose.hbs compose: Offer narrow to compose target button for private messages. 2022-10-05 11:11:28 -07:00
compose_all_everyone.hbs
compose_control_buttons.hbs compose: Add keyboard shortcut tooltip to Drafts link.. 2022-06-28 13:25:54 -07:00
compose_control_buttons_in_popover.hbs compose: Change icon of formatting popover to a question. 2022-02-18 11:16:19 -08:00
compose_control_buttons_popover.hbs compose: Move overflowing buttons to a popover. 2021-12-02 15:11:15 -08:00
compose_invite_users.hbs compose: Clarify subscribe-other-user button label. 2021-09-16 11:09:53 -07:00
compose_not_subscribed.hbs
compose_notification.hbs notification: Fix "narrow to..." link present above composebox. 2021-08-07 09:51:04 -07:00
compose_private_stream_alert.hbs
compose_resolved_topic.hbs compose: Show warning while composing to a resolved topic. 2022-02-01 17:50:17 -08:00
compose_select_enter_behaviour_popover.hbs compose: Fix Enter to send switch internationalization. 2022-01-07 14:38:10 -08:00
copy_code_button.hbs copy_code_button: Attach tooltip to body to avoid overlap with parent. 2021-10-01 10:04:17 -07:00
copy_invite_link.hbs
copy_message_button.hbs
copy_to_clipboard_svg.hbs
default_language_modal.hbs default_language_modal: Add more space around languages displayed. 2022-07-12 17:23:15 -07:00
dialog_change_password.hbs change_password: Migrate modal to dialog_widget. 2021-11-23 15:41:54 -08:00
dialog_widget.hbs Revert "modal: Make the modal content scrollable instead of the whole modal." 2022-10-12 17:20:33 -07:00
draft.hbs drafts: Add hotkey hint to restore draft. 2021-11-10 12:54:53 -08:00
draft_table_body.hbs drafts: Create a section to show drafts from the current conversation. 2022-08-25 23:12:31 -07:00
drafts_sidebar_action.hbs popovers: Add sidebar menu to delete all drafts. 2021-11-22 17:01:47 -08:00
edit_content_button.hbs hotkey: Use "m" hotkey for moving messages. 2022-10-19 12:02:22 -07:00
edited_notice.hbs templates: Simplify nested Handlebars conditionals using {{else if}}. 2022-06-30 11:24:44 -07:00
embedded_bot_config_item.hbs
emoji_popover.hbs
emoji_popover_content.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
emoji_popover_emoji.hbs templates: Simplify nested Handlebars conditionals using {{else if}}. 2022-06-30 11:24:44 -07:00
emoji_popover_search_results.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
emoji_showcase.hbs
empty_feed_notice.hbs narrow_banner: Move empty narrow messages to handlebar templates. 2021-12-07 13:38:48 -08:00
favicon.svg.hbs
feedback_container.hbs
filter_topics.hbs
gear_menu.hbs gear menu: Add organization info. 2022-10-13 23:45:25 -07:00
giphy_picker.hbs images: Move Giphy images into proper subdirectories. 2022-08-30 22:40:59 -07:00
giphy_picker_mobile.hbs
help_link_widget.hbs modals: Refactor help_link_widget for confirmation modal. 2022-03-25 10:43:37 -07:00
hotspot_icon.hbs
hotspot_overlay.hbs
input_pill.hbs input_pill: Remove random IDs. 2022-07-11 11:44:47 -07:00
invitation_failed_error.hbs help: Rewrite pages on inviting users and related permissions. 2022-03-28 17:00:10 -07:00
invite_subscription.hbs settings: Fix references to new user and stream announcements. 2022-07-28 09:33:09 -07:00
invite_user.hbs templates: Use help link widget in invite user modal. 2022-09-28 16:03:40 -07:00
keyboard_shortcuts.hbs recent-topics: Rename to "Recent conversations" in web-app and docs. 2022-10-21 10:28:19 -07:00
left_sidebar.hbs left_sidebar: Fix some PMs not being displayed when PMs are zoomed in. 2022-10-26 13:47:08 -07:00
left_sidebar_stream_setting_popover.hbs left sidebar: Redirect users with no stream create permissions. 2022-02-11 11:02:09 -08:00
lightbox_overlay.hbs lightbox: Remove Pan/Zoom enable button. 2022-03-03 13:48:32 -08:00
loader.hbs
login_to_access.hbs Revert "modals: Add `data-simplebar` to `login` and `api key` modal." 2022-10-12 17:20:33 -07:00
login_to_view_image_button.hbs message_list_view: For spectators, show login button for failed images. 2022-03-24 10:50:00 -07:00
mark_as_read_turned_off_banner.hbs mark as read: Fix button styling for medium-sized screens. 2022-07-12 16:28:34 -07:00
markdown_help.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
markdown_time_tooltip.hbs markdown: Change timezone to time zone in <time> tooltip. 2021-07-08 10:10:11 -04:00
markdown_timestamp.hbs
me_message.hbs
message_avatar.hbs
message_body.hbs status_emoji: Show status emoji in message_body. 2022-02-11 13:02:56 -08:00
message_controls.hbs message controls: Use login_to_access modal for reactions/stars. 2022-04-29 16:35:49 -07:00
message_edit_form.hbs message_edit: Allow only content edit in message_edit_form. 2022-10-12 10:50:05 -07:00
message_edit_history.hbs message_edit: Fix internationalization of edited notices. 2022-02-01 14:09:19 -08:00
message_feed_bottom_whitespace.hbs bottom_whitespace: Extract to a dedicated handlebars template. 2022-08-03 16:14:42 -07:00
message_feed_errors.hbs narrow_banner: Simplify empty narrow messages for spectators. 2022-04-29 16:35:49 -07:00
message_group.hbs message_list_view: Cleanup unused bookend code. 2022-01-31 16:50:54 -08:00
message_hidden_dialog.hbs
message_history_modal.hbs message_edit_history: Migrate modal to dialog_widget. 2021-11-08 17:24:31 -08:00
message_inline_image_tooltip.hbs messages: Show tippy tooltip for inline images. 2022-03-21 15:36:10 -07:00
message_reaction.hbs reactions: Implement display_emoji_reaction_users setting. 2022-10-27 12:41:51 -07:00
message_reactions.hbs message controls: Use login_to_access modal for reactions/stars. 2022-04-29 16:35:49 -07:00
message_view_header.hbs message_view_header: Add divider after stream name for spectator. 2022-05-02 10:05:33 -07:00
mobile_message_buttons_popover_content.hbs
more_pms.hbs pm_section: Create collapsible private messages section. 2022-10-26 13:47:08 -07:00
more_topics.hbs unread: Indicate which topics have unread @-mentions. 2022-08-29 12:49:08 -07:00
more_topics_spinner.hbs images: Move error/loading images into subdirectories. 2022-08-30 22:40:59 -07:00
move_topic_to_stream.hbs stream_popover: Disable topic or stream input in move message modal. 2022-10-12 10:50:05 -07:00
muted_topic_ui_row.hbs settings: Clean up muted_topics/users rendering logic. 2022-02-25 17:33:11 -08:00
muted_user_ui_row.hbs settings: Clean up muted_topics/users rendering logic. 2022-02-25 17:33:11 -08:00
narrow_to_compose_recipients_tooltip.hbs compose: Make compose box tooltips consitent. 2022-06-28 13:24:13 -07:00
navbar.hbs navbar: Add login and signup buttons for spectators. 2022-10-21 10:10:40 -07:00
navbar_icon_and_title.hbs icons: Replace fa-globe icon with a custom globe icon. 2022-03-01 11:36:38 -08:00
no_arrow_popover.hbs
non_editable_user_group.hbs
playground_links_popover_content.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
pm_list_item.hbs pm_section: Create collapsible private messages section. 2022-10-26 13:47:08 -07:00
presence_row.hbs right_sidebar: Fix full name overflowing its container. 2022-10-18 22:13:04 -07:00
presence_rows.hbs presence: Rename hbs templates to not have the word "user". 2022-07-13 14:34:44 -07:00
read_receipts.hbs read_receipts: Add support for displaying read receipts. 2022-08-12 13:16:35 -07:00
read_receipts_modal.hbs read_receipts: Add support for displaying read receipts. 2022-08-12 13:16:35 -07:00
recent_topic_row.hbs recent_topics_ui: Allow unread count click in PM row to mark row as read. 2022-10-24 10:25:21 -07:00
recent_topics_filters.hbs recent_topics: Add Private message to recent_topics. 2022-10-17 15:02:01 -07:00
recent_topics_table.hbs recent topics: Disable browser autocomplete filter widget. 2022-03-09 13:56:14 -08:00
recipient_row.hbs icons: Change mute icon from bell to speaker. 2022-09-09 17:32:19 -07:00
remind_me_popover_content.hbs js: Add tabindex attribute for anchor tag to allow focus. 2022-02-14 15:23:46 -08:00
right_sidebar.hbs navbar: Add login and signup buttons for spectators. 2022-10-21 10:10:40 -07:00
search_list_item.hbs search_suggestions: Fix bug where space in stream names did not show. 2022-08-18 11:22:08 -07:00
search_operators.hbs search help: Fix incorrectly using "email" as the example email address. 2022-09-08 11:06:32 -07:00
set_status_overlay.hbs templates: Simplify nested Handlebars conditionals using {{else if}}. 2022-06-30 11:24:44 -07:00
settings_overlay.hbs settings: Reorganize organization settings sidebar 2022-10-20 10:40:32 -07:00
settings_tab.hbs settings: Create user_notification_settings.hbs template. 2021-08-20 07:50:51 -07:00
single_message.hbs messagebox: Add classnames to mark which messages contain which mentions. 2022-09-09 17:05:26 -07:00
starred_messages_sidebar_actions.hbs
status_emoji.hbs status_emoji: Extract status emoji template. 2022-02-08 16:52:49 -08:00
status_emoji_selector.hbs templates: Simplify nested Handlebars conditionals using {{else if}}. 2022-06-30 11:24:44 -07:00
stream_privacy.hbs icons: Replace fa-globe icon with a custom globe icon. 2022-03-01 11:36:38 -08:00
stream_sidebar_actions.hbs icons: Change mute icon from bell to speaker. 2022-09-09 17:32:19 -07:00
stream_sidebar_row.hbs unread: Indicate which streams have unread @-mentions. 2022-08-29 12:49:08 -07:00
stream_topic_widget.hbs
streams_subheader.hbs stream_list: Sort muted to end of sections and add labels. 2022-08-06 21:59:23 -07:00
subscribe_to_more_streams.hbs stream_list: Fix another “subscribed” typo. 2022-09-15 16:55:15 -07:00
topic_edit_form.hbs message-edit: Add maxlength attribute for editing topic names. 2022-07-15 15:16:55 -07:00
topic_list_item.hbs unread: Indicate which topics have unread @-mentions. 2022-08-29 12:49:08 -07:00
topic_muted.hbs
topic_sidebar_actions.hbs icons: Change mute icon from bell to speaker. 2022-09-09 17:32:19 -07:00
typeahead_list_item.hbs templates: Simplify nested Handlebars conditionals using {{else if}}. 2022-06-30 11:24:44 -07:00
typing_notification.hbs
typing_notifications.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
user_group_info_popover.hbs
user_group_info_popover_content.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
user_group_list_item.hbs
user_info_popover_content.hbs user_info_popover: Fix overflow of bot owner list item. 2022-10-20 10:35:11 -07:00
user_info_popover_manage_menu.hbs popovers: Redesign user info popover. 2022-10-07 15:52:23 -07:00
user_info_popover_title.hbs
user_profile_modal.hbs user_profile: Remove stale no-fields CSS class. 2022-10-20 11:19:12 -07:00
user_stream_list_item.hbs
view_code_in_playground.hbs view_code_in_playground: Fix tooltip being partially hidden. 2022-09-19 14:11:53 -07:00