Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tooltip: Change tooltip content for `.channel-new-topic-button`.
Pratik Chanda91202365da98
diff --git a/starlight_help/src/content/docs/general-chat-topic.mdx b/starlight_help/src/content/docs/general-chat-topic.mdxindex 77a502e64a9..15367fdd2db 100644--- a/starlight_help/src/content/docs/general-chat-topic.mdx+++ b/starlight_help/src/content/docs/general-chat-topic.mdx@@ -31,7 +31,7 @@ topic, or follow the instructions below.<Tabs><TabItem label="Via left sidebar"><FlattenedSteps>- 1. Click the **new topic** (<SquarePlusIcon />)+ 1. Click the **Start a new topic** (<SquarePlusIcon />)button next to the name of the channel where you'd like to send a message.<ComposeAndSendMessage />diff --git a/starlight_help/src/content/include/_StartTopicViaLeftSidebar.mdx b/starlight_help/src/content/include/_StartTopicViaLeftSidebar.mdxindex 88f536b3788..5e46c4101af 100644--- a/starlight_help/src/content/include/_StartTopicViaLeftSidebar.mdx+++ b/starlight_help/src/content/include/_StartTopicViaLeftSidebar.mdx@@ -5,7 +5,7 @@ import ComposeAndSendMessage from "../include/_ComposeAndSendMessage.mdx";import SquarePlusIcon from "~icons/zulip-icon/square-plus";<FlattenedSteps>- 1. Click the **new topic** (<SquarePlusIcon />) button+ 1. Click the **Start a new topic** (<SquarePlusIcon />) buttonnext to the name of the channel where you'd like to start a conversation.1. Enter a topic name. Think about finishing the sentence: “Hey, can we chat about… ?”diff --git a/web/src/left_sidebar_tooltips.ts b/web/src/left_sidebar_tooltips.tsindex 8a333b72714..eca36d2e3ad 100644--- a/web/src/left_sidebar_tooltips.ts+++ b/web/src/left_sidebar_tooltips.ts@@ -138,7 +138,7 @@ export function initialize(): void {});tippy.delegate("body", {- target: ".stream-list-section-container .add-stream-tooltip",+ target: ".stream-list-section-container .add-stream-tooltip, .left-sidebar-controls .channel-new-topic-button",appendTo: () => document.body,});diff --git a/web/templates/stream_sidebar_row.hbs b/web/templates/stream_sidebar_row.hbsindex 5e816a50dd9..0110b0bf120 100644--- a/web/templates/stream_sidebar_row.hbs+++ b/web/templates/stream_sidebar_row.hbs@@ -12,7 +12,7 @@<div class="left-sidebar-controls">{{#if can_post_messages}}- <div class="channel-new-topic-button tippy-zulip-tooltip hidden-for-spectators auto-hide-left-sidebar-overlay" data-tippy-content="{{#if (or is_empty_topic_only_channel cannot_create_topics_in_channel)}}{{t 'New message'}}{{else}}{{t 'New topic'}}{{/if}}" data-stream-id="{{id}}">+ <div class="channel-new-topic-button hidden-for-spectators auto-hide-left-sidebar-overlay" data-tippy-content="{{#if (or is_empty_topic_only_channel cannot_create_topics_in_channel)}}{{t 'New message'}}{{else}}{{t 'Start a new topic'}}{{/if}}" data-stream-id="{{id}}"><i class="channel-new-topic-icon zulip-icon zulip-icon-square-plus" aria-hidden="true"></i></div>{{/if}}