diff --git a/src/components/RecentActivity/EnvironmentInstructionsPanel/index.tsx b/src/components/RecentActivity/EnvironmentInstructionsPanel/index.tsx index 6999d7729..844571abc 100644 --- a/src/components/RecentActivity/EnvironmentInstructionsPanel/index.tsx +++ b/src/components/RecentActivity/EnvironmentInstructionsPanel/index.tsx @@ -1,7 +1,9 @@ import { useContext, useState } from "react"; import { useTheme } from "styled-components"; import { actions as globalActions } from "../../../actions"; +import { CENTRAL_ON_PREM_INSTALLATION_GUIDE_URL } from "../../../constants"; import { getHostnameFromURL } from "../../../utils/getHostNameFromURL"; +import { openURLInDefaultBrowser } from "../../../utils/openURLInDefaultBrowser"; import { ConfigContext } from "../../common/App/ConfigContext"; import { getThemeKind } from "../../common/App/styles"; import { EnvironmentType } from "../../common/App/types"; @@ -42,7 +44,8 @@ export const EnvironmentInstructionsPanel = ( ); const handleOrgDigmaSetupGuideLinkClick = () => { - setIsOrgDigmaSetupGuideVisible(true); + // setIsOrgDigmaSetupGuideVisible(true); + openURLInDefaultBrowser(CENTRAL_ON_PREM_INSTALLATION_GUIDE_URL); }; const handleAddToRunConfigLinkClick = () => { diff --git a/src/constants.ts b/src/constants.ts index 9cad7d133..ce8e8a9ce 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -12,6 +12,9 @@ export const INSTALL_DIGMA_IN_ORGANIZATION_DOCUMENTATION_URL = export const SETUP_PLUGIN_TO_ORGANIZATION_DIGMA_URL = "https://digma.ai/installing-digma-in-your-organization/#Connecting"; +export const CENTRAL_ON_PREM_INSTALLATION_GUIDE_URL = + "https://docs.digma.ai/digma-developer-guide/installation/central-on-prem-install"; + export const PERCENTILES: { label: string; percentile: number;