Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typeahead: Don't show channel name in topic link typeaheads.
Aman Agrawal017e1ec55d75
diff --git a/web/shared/icons/corner-down-right.svg b/web/shared/icons/corner-down-right.svgnew file mode 100644index 00000000000..e51402becd3--- /dev/null+++ b/web/shared/icons/corner-down-right.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">+ <path fill="#000" d="M3.333 2.667v4.666a2 2 0 0 0 2 2h6.39L9.53 7.138a.667.667 0 0 1 .942-.943l3.333 3.333.005.005a.664.664 0 0 1 0 .934l-.005.005-3.333 3.333a.667.667 0 1 1-.942-.943l2.195-2.195h-6.39A3.333 3.333 0 0 1 2 7.333V2.667a.667.667 0 0 1 1.333 0Z"/>+</svg>diff --git a/web/styles/typeahead.css b/web/styles/typeahead.cssindex ce03a4e200d..6de2d59e13a 100644--- a/web/styles/typeahead.css+++ b/web/styles/typeahead.css@@ -95,6 +95,7 @@}.stream-to-topic-arrow {+ margin-left: 0.375em; /* 6px at 16px em */cursor: default;color: var(--color-compose-chevron-arrow);text-decoration: none;diff --git a/web/templates/typeahead_list_item.hbs b/web/templates/typeahead_list_item.hbsindex eba7f4bf975..df085ed5d24 100644--- a/web/templates/typeahead_list_item.hbs+++ b/web/templates/typeahead_list_item.hbs@@ -17,13 +17,8 @@<i class="typeahead-image zulip-icon zulip-icon-triple-users no-presence-circle" aria-hidden="true"></i>{{/if}}{{#if is_stream_topic}}-<div class="typeahead-text-container compose-stream-name">- <strong class="typeahead-strong-section">- {{~> inline_decorated_stream_name stream=stream_data ~}}- </strong>- <span role="button" class="conversation-arrow zulip-icon zulip-icon-chevron-right stream-to-topic-arrow"></span>-</div><div class="typeahead-text-container">+ <span role="button" class="zulip-icon zulip-icon-corner-down-right stream-to-topic-arrow"></span><strong class="typeahead-strong-section{{#if is_empty_string_topic}} empty-topic-display{{/if}}">{{~ topic_display_name ~}}</strong>