zulip/web/templates
evykassirer ad35d2a487 buddy_list: Use hide classname instead of user-with-count.
There seem to be two different ways of making the unread
marker visible:

(1) `user-with-count` classname on the `user_sidebar_entry`
element, which is added on render and not modified after
render at all.

(2) `hide` classname, which is toggled on the `unread_count`
element in `update_unread_count_in_dom`.

This creates a bug where sometimes the buddy list doesn't
update when messages are marked unread. This actually
doesn't always happen, since if there was an unread marker
that was there on the original render (and then removed
and put back) it will display again.

This commit keeps the `hide` class and removes the
`user-with-count` strategy.
2024-03-25 16:57:50 -07:00
..
buddy_list templates: Add missing translation tags. 2024-03-25 13:26:11 -07:00
compose_banner topic_mentions: Fix restriction rule for @-topic mentions. 2023-11-23 12:52:25 -08:00
confirm_dialog settings: Add realm-level setting 'zulip_update_announcements_stream'. 2024-02-25 09:33:00 -08:00
inbox_view inbox_row: Don't show topic visibility toggle button by default. 2024-03-14 10:15:49 -07:00
modal_banner stream_settings: Show banner on successful stream creation. 2024-03-05 10:56:30 -08:00
navbar_alerts custom_profile_fields: Add "required" parameter to the profile fields. 2024-03-21 10:48:54 -07:00
popovers compose: Show counter inside Drafts button for the current recipient. 2024-03-13 16:53:45 -07:00
settings templates: Add missing translation tags. 2024-03-25 13:26:11 -07:00
stream_settings help: Migrate configure-notification-bot help page to a new URL. 2024-03-20 11:48:06 -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 group_settings: Refactor code to handle tabs in right section. 2024-02-22 13:09:33 -08:00
widgets todo_widget: Use colon `:` as task and description display separator. 2023-09-28 16:03:03 -07:00
about_zulip.hbs alerts: Fix improper copied tooltip location in About Zulip Modal. 2023-11-07 13:17:55 -08:00
add_poll_modal.hbs polls: Add option for modal to create polls. 2023-11-21 21:01:17 -08:00
announce_stream_docs.hbs settings: Rename notifications_stream to new_stream_announce..._stream. 2024-02-21 09:04:23 -08:00
blueslip_stacktrace.hbs blueslip: Show more-info context in alert popup, if we have it. 2023-05-09 13:16:28 -07:00
bookend.hbs bookends: Add periods to stream status bookends. 2024-03-07 16:16:02 -08:00
buddy_list_tooltip_content.hbs tooltips: Use <div> tags inside tooltip's inner content. 2023-10-03 14:37:47 -07:00
change_email_modal.hbs
change_visibility_policy_button_tooltip.hbs tooltips: Use <div> tags inside tooltip's inner content. 2023-10-03 14:37:47 -07:00
code_buttons_container.hbs rendered_markdown: Refine templates and logic for REPL, copy buttons. 2024-03-11 15:38:03 -07:00
compose.hbs compose: Redesign the arrow between stream and topic. 2024-03-25 16:12:32 -07:00
compose_control_buttons.hbs compose: Use new custom icon for the compose edit control button. 2023-12-10 22:30:03 -08:00
compose_limit_indicator.hbs compose_box: Render limit indicator as template with zero-width space. 2023-11-13 12:45:13 -08:00
copy_code_button.hbs rendered_markdown: Present REPL and Copy buttons with modern techniques. 2024-03-11 15:38:03 -07:00
copy_invite_link.hbs copy_invite_link: Append tooltip to body. 2023-10-22 14:21:16 -07:00
copy_message_button.hbs
copy_to_clipboard_svg.hbs
default_language_modal.hbs
demo_organization_add_email_modal.hbs webapp: Rename "Full name" field to "Name". 2024-03-14 10:53:36 -07:00
dialog_change_password.hbs change_password: Avoid super generic CSS classes. 2024-03-21 10:48:54 -07:00
dialog_widget.hbs popovers: Wrap modal submission button in a container div. 2023-11-21 21:01:17 -08:00
draft.hbs drafts: Convert module to typescript. 2024-03-01 15:49:53 -08:00
draft_table_body.hbs templates: Add missing translation tags. 2024-03-25 13:26:11 -07:00
drafts_sidebar_action.hbs
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_widget: Style cannot view stream similar to disabled state. 2023-11-23 09:09:58 -08:00
dropdown_disabled_state.hbs dropdown_widget: Refactor to use Class. 2023-07-27 14:10:08 -07:00
dropdown_list.hbs inbox: Add description to FILTERS dropdown. 2023-11-22 23:38:52 -08:00
dropdown_list_container.hbs inbox: Add dropdown to filter topics. 2023-11-10 10:22:18 -08:00
dropdown_widget.hbs settings-ui: Replace chevron-down fa-icon with svg icon. 2023-11-07 16:55:34 -08:00
dropdown_widget_with_label.hbs settings: Add help link for "can_access_all_users_group" setting. 2023-12-11 08:29:14 -08:00
dropdown_widget_wrapper.hbs stream picker: Remove stream colorblock. 2024-03-15 11:11:04 -07:00
edit_content_button.hbs icons: Display alternate move and source icons. 2023-08-21 17:13:43 -07:00
edited_notice.hbs message_edit_notice: Change edited notice computation logic location. 2024-02-12 10:51:12 -08:00
embedded_bot_config_item.hbs
empty_feed_notice.hbs empty_feed_notice: Style empty message feed similar to other views. 2023-10-20 12:29:45 -07:00
empty_list_widget_for_list.hbs empty_list_widget: Use class instead of id. 2023-10-17 11:55:41 -07:00
empty_list_widget_for_table.hbs empty_list_widget: Use class instead of id. 2023-10-17 11:55:41 -07:00
favicon.svg.hbs
feedback_container.hbs hotkey: Give feedback when no unreads left in followed topics. 2023-11-10 13:33:13 -08:00
filter_topics.hbs templates: Add filter_text_input class to inputs used for filtering. 2023-07-07 10:10:28 -07:00
gear_menu_popover.hbs docs: Optimize /api links to skip trailing slash redirect. 2024-02-14 21:06:03 -05:00
giphy_picker.hbs giphy: Move `popover-content` styles to `giphy-scrolling-container`. 2023-10-09 11:39:12 -07:00
help_link_widget.hbs
hotspot_icon.hbs
hotspot_overlay.hbs
inline_decorated_stream_name.hbs templates: Add missing "aria-hidden" attribute. 2023-04-26 10:55:58 -07:00
input_pill.hbs users: Add "(guest)" to names for guest users. 2023-10-12 12:06:10 -07:00
introduce_zulip_view_modal.hbs onboarding: Show one-time modal to introduce recent conversations view. 2024-03-19 09:32:59 -07:00
invitation_failed_error.hbs docs: Change `Create an invitation link` heading. 2023-09-07 14:21:01 -07:00
invite_user_modal.hbs settings: Rename notifications_stream to new_stream_announce..._stream. 2024-02-21 09:04:23 -08:00
keyboard_shortcuts.hbs help: Reorganize keyboard shortcuts documentation. 2024-02-23 17:09:29 -08:00
left_sidebar.hbs icons: Place new log-in and log-out icons across UI. 2023-12-04 12:11:00 -08:00
lightbox_overlay.hbs lightbox: Replace image with media. 2023-10-02 22:39:02 -07:00
loader.hbs
login_to_access.hbs
login_to_view_image_button.hbs templates: Add missing translation tags. 2024-03-25 13:26:11 -07:00
markdown_help.hbs overlays: Rename "modal-body" class. 2023-10-17 10:28:50 -07:00
markdown_time_tooltip.hbs
markdown_timestamp.hbs
message_avatar.hbs message_list_tooltips: Add "View bot card" tooltips for bots. 2024-02-25 16:33:34 -08:00
message_body.hbs message_list_tooltips: Add "View bot card" tooltips for bots. 2024-02-25 16:33:34 -08:00
message_controls.hbs message_row: Remove unnecessary .sender-status-controls style and structure. 2024-01-11 12:53:31 -08:00
message_edit_form.hbs message_edit: Add styles for Save and Cancel buttons. 2023-11-15 10:41:51 -08:00
message_edit_history.hbs message_edit: Reimplement message history modal as an overlay. 2024-03-18 17:26:28 -07:00
message_edit_notice_tooltip.hbs tooltips: Add hotkey hints and modify edit history tooltip. 2023-10-03 14:37:47 -07:00
message_feed_bottom_whitespace.hbs
message_feed_errors.hbs
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 message_edit: Reimplement message history modal as an overlay. 2024-03-18 17:26:28 -07:00
message_inline_image_tooltip.hbs tooltips: Use <div> tags inside tooltip's inner content. 2023-10-03 14:37:47 -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_reaction.hbs
message_reactions.hbs message_reactions: Clean up the aria attributes for reaction_button. 2023-09-07 14:44:18 -07:00
message_view_header.hbs message_view_header: Manage no description in message_view_header. 2024-02-16 15:41:27 -08:00
more_pms.hbs left_sidebar: Use DM identifiers on DM list items. 2023-10-30 10:14:28 -07:00
more_topics.hbs left_sidebar: Group topic markers and controls. 2023-09-27 14:06:09 -07:00
more_topics_spinner.hbs
move_topic_to_stream.hbs stream picker: Remove stream colorblock. 2024-03-15 11:11:04 -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 tooltips: Use <div> tags inside tooltip's inner content. 2023-10-03 14:37:47 -07:00
narrow_tooltip.hbs CVE-2023-33186: Fix topic tooltip cross-site scripting vulnerability. 2023-05-29 16:35:49 -07:00
navbar.hbs icons: Place new log-in and log-out icons across UI. 2023-12-04 12:11:00 -08:00
navbar_help_menu.hbs help_menu: Use new style to show hotkey. 2023-10-23 14:15:13 -07:00
navbar_icon_and_title.hbs top_navbar: Structure navbar titles with a span. 2023-11-17 17:28:54 -08:00
org_logo_tooltip.hbs navbar: Add navigate to home view tooltip to the organization logo. 2024-03-06 13:58:36 -08:00
personal_menu.hbs personal_menu: Add theme switcher to personal menu popover. 2024-03-25 16:31:55 -07:00
pm_list_item.hbs left_sidebar: Establsh CSS Grid on DM rows. 2023-11-02 09:56:29 -07:00
poll_modal_option.hbs polls: Add option for modal to create polls. 2023-11-21 21:01:17 -08:00
presence_row.hbs buddy_list: Use hide classname instead of user-with-count. 2024-03-25 16:57:50 -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: Add drodown widget to filter topics. 2023-11-22 23:38:52 -08:00
recent_view_row.hbs recent_view: Drop unread header for spectators. 2023-11-29 21:47:36 -08:00
recent_view_table.hbs recent_view: Drop unread header for spectators. 2023-11-29 21:47:36 -08:00
recipient_row.hbs message_feed: Vertically align link icon in recipient bar. 2023-11-18 05:35:06 -08:00
resolve_topic_time_limit_error_modal.hbs
right_sidebar.hbs right-sidebar: Remove duplicate search people tooltip. 2024-03-12 11:31:42 -07:00
scheduled_message.hbs tooltips: Use tippy tooltips for drafts and schedule message overlays. 2023-06-13 16:49:54 -07:00
scheduled_message_stream_pm_common.hbs scheduled_message: Change tooltip of failure icon. 2023-05-15 14:43:04 -07:00
scheduled_messages_indicator.hbs scheduled_messages: Indicate scheduled messages in conversation views. 2023-10-11 17:53:07 -07:00
scheduled_messages_overlay.hbs overlays: Rename "modal-bg" class to "overlay-container". 2023-10-17 10:28:50 -07:00
search_description.hbs search: Create a template for search descriptions. 2023-07-17 17:19:08 -07:00
search_list_item.hbs
search_operators.hbs overlays: Rename "modal-body" class. 2023-10-17 10:28:50 -07:00
send_later_modal.hbs send_later: Extract send later options to separate template. 2023-05-10 16:14:10 -07:00
send_later_modal_options.hbs send_late: Change the class `send_later_options` to an id. 2023-05-15 14:52:06 -07:00
set_status_overlay.hbs user_status: Fix press enter to open status emoji picker. 2023-11-22 13:36:27 -08:00
settings_overlay.hbs settings: Update the icon of preferences in personal settings. 2024-02-29 15:10:32 -08:00
settings_tab.hbs user_topics: Rename 'muted_topics_settings.hbs'. 2023-04-25 12:46:05 -07:00
single_message.hbs single_message: Use data-message-id instead of zid. 2024-01-18 08:31:48 -08:00
starred_messages_sidebar_actions.hbs left_sidebar: Use custom Zulip star icons. 2023-10-10 16:48:20 -07:00
status_emoji.hbs tooltips: Add a dedicated tooltip for status-emoji. 2024-02-20 18:10:38 -08: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_actions.hbs popovers: Add structural changes and fix CSS overlap. 2023-12-11 12:55:25 -08:00
stream_sidebar_row.hbs left_sidebar: Restructure stream rows to match topics. 2023-09-27 14:06:09 -07:00
stream_topic_widget.hbs
streams_subheader.hbs
subscribe_to_more_streams.hbs i18n: Simplify formatting in subscribe_to_more_streams template. 2023-09-08 09:09:46 -07:00
tooltip_templates.hbs personal_menu: Add theme switcher to personal menu popover. 2024-03-25 16:31:55 -07:00
topic_edit_form.hbs topic_edit: Rename `inline_topic_edit` to `move_messages_edit_topic`. 2023-05-09 13:51:07 -07:00
topic_list_item.hbs left_sidebar: Remove whitespace near follow icon. 2023-09-27 14:06:09 -07:00
topic_muted.hbs
topic_sidebar_actions.hbs left_sidebar: Add mark all messages unread to three dot topic menu. 2024-01-29 16:07:19 -08:00
topic_typeahead_hint.hbs
typeahead_list_item.hbs compose: Show pronouns in compose typeaheads. 2023-10-20 12:30:21 -07:00
typing_notification.hbs
typing_notifications.hbs
user_custom_profile_fields.hbs user_profile_modal: Abbrevate long URLs of custom fields. 2023-09-28 15:15:57 -07:00
user_display_only_pill.hbs stream_settings: Convert name to pills. 2024-03-08 17:33:14 -08:00
user_full_name.hbs users: Add ellipsis only on names and show the indicator always. 2023-10-12 12:06:10 -07:00
user_group_list_item.hbs user_profile: Add links to group settings. 2024-03-04 16:52:57 -08:00
user_profile_modal.hbs user_profile: Add "copy link to profile" button in user_profile_modal. 2024-02-15 17:17:38 -08:00
user_profile_subscribe_widget.hbs bootstrap-btn: Remove bootstrap CSS for ".btn-success" elements. 2023-10-05 09:28:27 -07:00
user_stream_list_item.hbs user_profile: Show tooltip when removing last user from private stream. 2023-10-16 13:37:23 -07:00
user_topic_ui_row.hbs follow_topics: Remove the 'development' guard. 2023-10-22 14:24:22 -07:00
user_with_status_icon.hbs
view_code_in_playground.hbs playground_links: Migrate popover to Tippy. 2023-09-15 12:25:26 -07:00