Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tooltip: Render tooltips for `Not subscribed` and `All channels` tabs.
sujal shahd793cc0f54f7
diff --git a/web/src/tippyjs.ts b/web/src/tippyjs.tsindex 237750f9a95..ec2fae60852 100644--- a/web/src/tippyjs.ts+++ b/web/src/tippyjs.ts@@ -388,6 +388,20 @@ export function initialize(): void {},});+ tippy.delegate("body", {+ target: [+ "[data-tab-key='not-subscribed'].disabled",+ "[data-tab-key='all-streams'].disabled",+ ].join(","),+ content: $t({+ defaultMessage: "You can only view channels that you are subscribed to.",+ }),+ appendTo: () => document.body,+ onHidden(instance) {+ instance.destroy();+ },+ });+tippy.delegate("body", {target: ".default-stream.default_stream_private_tooltip",content: $t({