zulip/static/templates
akshatdalton bf41f455cd message_view: Add support for unmuting of topic from its recipient bar.
Earlier, a user can only mute a topic from its recipient bar but can't
unmute it from there (and in fact we displayed an option to mute even
if the topic was already muted!). This commit fixes that bug and
allows a user also to unmute the topic from its recipient bar.

There are two core issues here;
* We did not have code, an icon, etc. for the "already muted" case in
  the recipient bar logic at all.
* We did not rerender messages in !excludes_muted_topics views when
  muting state changed.

See: 660475bd0c for background on when
we started only rerendering the streams with excludes_muted_topics
after muting changes.  Rerendering of newly muted topics are important
for live rendering if a user is narrowed to that topic itself, which
are essentially all excludes_muted_topics narrows anyway.

Hence, now, we rerender by calling the `rerender` function for muted
topics (which is done just before we update the items for muting via
the function: `update_items_for_topic_muting`).

Tweaked by tabbott to add comments explaining the reasoning and
long-term plans.

Fixes #15223.
2021-05-03 13:07:09 -07:00
..
settings settings css: Make HTML table headers sticky. 2021-04-30 08:19:47 -07:00
widgets templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
actions_popover_content.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
all_messages_sidebar_actions.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
announce_stream_docs.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
archive_message_group.hbs
archive_recipient_row.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
blueslip_stacktrace.hbs
bookend.hbs message_list: Convert bookend_content messages to FormatJS. 2021-04-13 17:41:10 -07:00
bot_avatar_row.hbs
buddy_list_tooltip_content.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
compose.hbs compose: Use `class` to find `markdown_preview` related elements. 2021-04-27 10:06:25 -07:00
compose_all_everyone.hbs templates: Fix <br> → <br /> to be parseable by FormatJS. 2021-04-20 14:39:53 -07:00
compose_announce.hbs templates: Fix <br> → <br /> to be parseable by FormatJS. 2021-04-20 14:39:53 -07:00
compose_control_buttons.hbs compose_control_buttons: Use data-tippy-content instead of title. 2021-04-30 07:52:32 -07:00
compose_invite_users.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
compose_not_subscribed.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
compose_notification.hbs
compose_private_stream_alert.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
confirm_delete_user.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
confirm_delete_user_avatar.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
confirm_dialog.hbs confirm_dialog: Add close-modal-btn class to cancel buttons. 2021-03-30 16:51:42 -07:00
confirm_mute_user.hbs mute user: Add dev-only UI to mute/unmute a user. 2021-04-21 10:14:27 -07:00
confirm_unstar_all_messages.hbs confirm_dialog: Change copy in several dialogs. 2021-04-29 20:43:04 -07:00
confirm_unstar_all_messages_in_topic.hbs starred messages: Clean up "unstar all in topic" warning. 2021-04-29 16:43:39 -07:00
copy_code_button.hbs copy_code_button: Use tippy for tooltip. 2021-04-07 17:11:23 -07:00
copy_invite_link.hbs copy_invite_link: Use tippy for tooltip. 2021-04-08 09:50:43 -07:00
copy_message_button.hbs message_edit: Fix copy paste bug on local-echo/pending message. 2021-04-13 12:57:20 -07:00
copy_to_clipboard_svg.hbs templates: Extract and tweak copy_to_clipboard_svg from both buttons. 2020-10-08 17:13:50 -07:00
default_language_modal.hbs
delete_topic_modal.hbs confirm_dialog: Change copy in several dialogs. 2021-04-29 20:43:04 -07:00
draft.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
draft_table_body.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
edit_bot.hbs bots settings: Add puppeteer test for edit bot setting. 2021-04-13 11:42:36 -07:00
edit_content_button.hbs message feed: Make message controls more accessible. 2020-07-30 16:53:00 -07:00
edited_notice.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
embedded_bot_config_item.hbs
emoji_popover.hbs
emoji_popover_content.hbs emoji_picker: Fix search input length. 2020-09-23 11:33:27 -07:00
emoji_popover_emoji.hbs templates: Fix missing quoting of attributes in HTML templates. 2020-06-16 23:35:39 -07:00
emoji_popover_search_results.hbs
emoji_showcase.hbs
favicon.svg.hbs dependencies: Upgrade Source Sans Pro font to Source Sans 3. 2021-02-23 14:55:33 -08:00
feedback_container.hbs
giphy_picker.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
giphy_picker_mobile.hbs giphy: Use GIPHY web SDK to allow inserting GIFs in compose box. 2021-04-05 15:04:49 -07:00
help_link_widget.hbs CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
hotspot_icon.hbs hotspots: Generate properly escaped HTML. 2021-02-05 09:26:47 -08:00
hotspot_overlay.hbs hotspots: Remove useless and malformed alt text. 2021-04-27 11:12:24 -07:00
input_pill.hbs templates: Fix missing quoting of attributes in HTML templates. 2020-06-16 23:35:39 -07:00
intro_reply_hotspot.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
invitation_failed_error.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
invite_subscription.hbs invite: Fix compose box focus on clicking (Un)check All in invite window. 2020-09-04 12:58:11 -07:00
loader.hbs
markdown_help.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
markdown_timestamp.hbs markdown: Add fa-clock icon before markdown timestamps. 2021-03-14 22:57:01 -07:00
me_message.hbs zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
message_avatar.hbs
message_body.hbs zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
message_controls.hbs zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
message_edit_form.hbs widgets: Prevent edits to widgets. 2021-04-30 09:55:25 -07:00
message_edit_history.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
message_group.hbs
message_reaction.hbs templates: Fix missing quoting of attributes in HTML templates. 2020-06-16 23:35:39 -07:00
message_reactions.hbs reaction_button: Use tippy for tooltip. 2021-04-07 17:38:40 -07:00
message_view_header.hbs message_view_header: Remove not used tooltip dataset. 2021-04-07 17:38:40 -07:00
mobile_message_buttons_popover.hbs
mobile_message_buttons_popover_content.hbs
more_topics.hbs topic_list_item: Use `unread_counts` class for showing unread count. 2021-04-14 10:57:16 -07:00
more_topics_spinner.hbs
move_topic_to_stream.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
muted_topic_ui_row.hbs templates: Fix missing quoting of attributes in HTML templates. 2020-06-16 23:35:39 -07:00
muted_user_ui_row.hbs settings: Add UI page for managing muted users. 2021-04-21 10:17:44 -07:00
navbar_icon_and_title.hbs navbar: Improve click area around stream name. 2020-06-16 17:26:55 -07:00
new_stream_user.hbs stream_create: Use ListWidget to render list of all users. 2021-04-25 08:54:08 -07:00
new_stream_users.hbs stream_create: Use ListWidget to render list of all users. 2021-04-25 08:54:08 -07:00
no_arrow_popover.hbs
non_editable_user_group.hbs
playground_links_popover_content.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
pm_list_item.hbs left_sidebar: Replace user_circle_class with fa fa-group icon. 2021-04-30 16:02:29 -07:00
recent_topic_row.hbs recent_topics: Use `unread_counts` class for showing unread count. 2021-04-14 10:57:16 -07:00
recent_topics_filters.hbs recent_topic: Add role and area properties according to MDN docs. 2021-03-16 14:54:22 -07:00
recent_topics_table.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
recipient_row.hbs message_view: Add support for unmuting of topic from its recipient bar. 2021-05-03 13:07:09 -07:00
remind_me_popover_content.hbs
settings_tab.hbs settings: Add UI page for managing muted users. 2021-04-21 10:17:44 -07:00
single_message.hbs
starred_messages_sidebar_actions.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
stream_creation_form.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
stream_member_list_entry.hbs
stream_privacy.hbs
stream_settings_checkbox.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
stream_sidebar_actions.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
stream_sidebar_row.hbs zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
stream_subscription_info.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
stream_topic_widget.hbs starred messages: Clean up "unstar all in topic" warning. 2021-04-29 16:43:39 -07:00
stream_types.hbs stream_types: Use tippy for tooltip. 2021-04-07 17:38:40 -07:00
subscription.hbs subscription: Use tippy for tooltip. 2021-04-07 17:38:40 -07:00
subscription_count.hbs streams: Format subscriber count according to browser locale. 2020-07-06 11:27:43 -07:00
subscription_invites_warning_modal.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
subscription_members.hbs subscription_members: Make the help text more clear. 2021-02-06 08:51:36 +05:30
subscription_privacy.hbs
subscription_setting_icon.hbs
subscription_settings.hbs templates: Fix reference to nonexistent oneself variable. 2021-04-13 17:41:10 -07:00
subscription_stream_privacy_modal.hbs stream_edit: Rename class of cancel btn in stream-privacy modal. 2021-03-30 16:51:42 -07:00
subscription_table_body.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
subscription_type.hbs streams: Add frontend code for moderators only stream post policy. 2021-05-01 08:21:50 -07:00
subscriptions.hbs
topic_edit_form.hbs message_edit: Show error message if error edit fails. 2020-04-22 16:25:37 -07:00
topic_list_item.hbs zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
topic_muted.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
topic_sidebar_actions.hbs popovers: Simplify muting logic for stream popover. 2021-05-03 12:35:41 -07:00
typeahead_list_item.hbs css: Add separate class for typeahead items with no presence circle. 2021-03-12 02:10:21 -08:00
typing_notification.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
typing_notifications.hbs typing: Display several people are typing... 2021-04-07 00:17:30 -07:00
unsubscribe_private_stream_modal.hbs streams: Show warning when unsubscribing a private stream. 2021-03-30 17:02:44 -07:00
uploaded_files_list.hbs CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
user_group_info_popover.hbs
user_group_info_popover_content.hbs zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
user_info_popover_content.hbs zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
user_info_popover_title.hbs
user_presence_row.hbs zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
user_presence_rows.hbs docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
user_profile_modal.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
view_code_in_playground.hbs view_code_in_playground: Use tippy for tooltip. 2021-04-07 17:38:40 -07:00