()
| 437 | // The connect dialog became the full-page picker; the sidebar affordance |
| 438 | // navigates instead of opening a modal. |
| 439 | const openIntegrationBrowse = () => { |
| 440 | trackEvent("integration_browse_opened", { via: "sidebar" }); |
| 441 | void navigate({ to: "/{-$orgSlug}/integrations/browse" }); |
| 442 | }; |
| 443 | if (lastPathname.current !== pathname) { |
| 444 | lastPathname.current = pathname; |
| 445 | if (mobileSidebarOpen) setMobileSidebarOpen(false); |