Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream-settings: Remove unused tooltip for announcement stream.
Lauryn Menardb71f4b9342db
diff --git a/web/src/stream_create.js b/web/src/stream_create.jsindex b2b9d3f68e3..a4003c75a20 100644--- a/web/src/stream_create.js+++ b/web/src/stream_create.js@@ -1,7 +1,5 @@import $ from "jquery";-import tippy from "tippy.js";-import render_announce_stream_docs from "../templates/announce_stream_docs.hbs";import render_subscription_invites_warning_modal from "../templates/confirm_dialog/confirm_subscription_invites_warning.hbs";import * as channel from "./channel";@@ -18,7 +16,6 @@ import * as stream_data from "./stream_data";import * as stream_settings_components from "./stream_settings_components";import * as stream_ui_updates from "./stream_ui_updates";import * as ui_report from "./ui_report";-import {parse_html} from "./ui_util";let created_stream;@@ -454,16 +451,6 @@ export function set_up_handlers() {stream_name_error.pre_validate(stream_name);});- tippy("#announce-stream-docs", {- content: () =>- parse_html(- render_announce_stream_docs({- new_stream_announcements_stream:- stream_data.get_new_stream_announcements_stream(),- }),- ),- });-// Do not allow the user to enter newline characters while typing out the// stream's description during it's creation.$container.on("keydown", "#create_stream_description", (e) => {diff --git a/web/templates/announce_stream_docs.hbs b/web/templates/announce_stream_docs.hbsdeleted file mode 100644index b6fe0a5f65c..00000000000--- a/web/templates/announce_stream_docs.hbs+++ /dev/null@@ -1,9 +0,0 @@-{{! Explanation of what "announce stream" does when creating a stream }}-<div>-- {{#tr}}- <p>Stream will be announced in <b>#{new_stream_announcements_stream}</b>.</p>- {{/tr}}- <p>{{t 'Organization administrators can change the announcement stream in the organization settings.' }}</p>--</div>