Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
hotspots: Fix misplaced onboarding hotspots.
Sayam Samalbcc58edfda3d
diff --git a/web/src/hotspots.js b/web/src/hotspots.jsindex 2ce62403c97..d37a7d5de9b 100644--- a/web/src/hotspots.js+++ b/web/src/hotspots.js@@ -25,25 +25,25 @@ const HOTSPOT_LOCATIONS = new Map([["intro_streams",{- element: "#streams_header .left-sidebar-title",- offset_x: 1.35,- offset_y: 0.39,+ element: "#streams_header .left-sidebar-title .streams-tooltip-target",+ offset_x: 1.3,+ offset_y: 0.44,},],["intro_topics",{element: ".topic-name",- offset_x: 0.8,- offset_y: 0.39,+ offset_x: 1,+ offset_y: 0.4,},],["intro_gear",{- element: "#settings-dropdown",- offset_x: -0.4,- offset_y: 1.2,+ element: "#personal-menu",+ offset_x: 0.45,+ offset_y: 1.15,popover: LEFT_BOTTOM,},],@@ -51,8 +51,8 @@ const HOTSPOT_LOCATIONS = new Map(["intro_compose",{element: "#new_conversation_button",- offset_x: 0,- offset_y: 0,+ offset_x: 0.5,+ offset_y: -0.7,},],]);diff --git a/zerver/lib/hotspots.py b/zerver/lib/hotspots.pyindex 2a2c267886d..7e324f35c66 100644--- a/zerver/lib/hotspots.py+++ b/zerver/lib/hotspots.py@@ -46,6 +46,9 @@ INTRO_HOTSPOTS: List[Hotspot] = [),),Hotspot(+ # In theory, this should be renamed to intro_personal, since+ # it's no longer attached to the gear menu, but renaming these+ # requires a migration that is not worth doing at this time.name="intro_gear",title=gettext_lazy("Settings"),description=gettext_lazy("Go to Settings to configure your notifications and preferences."),