Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tooltips: Add new tippy tooltip class for left sidebar elements.
Hardik Dharmanide6bca9fc5c1
diff --git a/web/src/tippyjs.js b/web/src/tippyjs.jsindex d04f922c14a..d92bcaa782c 100644--- a/web/src/tippyjs.js+++ b/web/src/tippyjs.js@@ -116,6 +116,23 @@ export function initialize() {target: ".tippy-zulip-tooltip",});+ delegate("body", {+ target: ".tippy-left-sidebar-tooltip",+ placement: "right",+ delay: EXTRA_LONG_HOVER_DELAY,+ appendTo: () => document.body,+ popperOptions: {+ modifiers: [+ {+ name: "flip",+ options: {+ fallbackPlacements: "bottom",+ },+ },+ ],+ },+ });+// The below definitions are for specific tooltips that require// custom JavaScript code or configuration. Note that since the// below specify the target directly, elements using those should