diff --git a/src/components/InstallationWizard/InstallStep/index.tsx b/src/components/InstallationWizard/InstallStep/index.tsx index 7e4fb4cff..1e7ff2f6c 100644 --- a/src/components/InstallationWizard/InstallStep/index.tsx +++ b/src/components/InstallationWizard/InstallStep/index.tsx @@ -49,7 +49,7 @@ export const InstallStep = (props: InstallStepProps) => { const [isAutoInstallationFinished, setIsAutoInstallationFinished] = useState(false); const [areTabsVisible, setAreTabsVisible] = useState( - !config.isDockerInstalled || !config.isDockerComposeInstalled + !config.isDigmaEngineInstalled && !isAutoInstallationFlow ); const [isAutoInstallTabVisible, setIsAutoInstallTabVisible] = useState(false); const [isEngineOperationInProgress, setIsEngineOperationInProgress] = @@ -228,28 +228,31 @@ export const InstallStep = (props: InstallStepProps) => { ] : []), { - icon: DockerLogoIcon, - title: "Docker Desktop", + icon: CodeIcon, + title: "Docker Compose", content: ( <> - - Install Digma Docker extension + Run the following from the terminal/command line to start the + Digma backend: (You'll need{" "} - openURLInDefaultBrowser(DOCKER_DESKTOP_URL)}> - Docker Desktop + openURLInDefaultBrowser(DOCKER_URL)}> + Docker {" "} - 4.10.0 or higher installed) + and{" "} + openURLInDefaultBrowser(DOCKER_COMPOSE_URL)}> + Docker Compose + {" "} + installed) - - Get Digma Docker Extension - + {renderLoader()} @@ -259,31 +262,28 @@ export const InstallStep = (props: InstallStepProps) => { ) }, { - icon: CodeIcon, - title: "Docker Compose", + icon: DockerLogoIcon, + title: "Docker Desktop", content: ( <> - Run the following from the terminal/command line to start the - Digma backend: + + Install Digma Docker extension (You'll need{" "} - openURLInDefaultBrowser(DOCKER_URL)}> - Docker - {" "} - and{" "} - openURLInDefaultBrowser(DOCKER_COMPOSE_URL)}> - Docker Compose + openURLInDefaultBrowser(DOCKER_DESKTOP_URL)}> + Docker Desktop {" "} - installed) + 4.10.0 or higher installed) - + + Get Digma Docker Extension + {renderLoader()} diff --git a/src/components/InstallationWizard/index.tsx b/src/components/InstallationWizard/index.tsx index 151fbad17..43ced1007 100644 --- a/src/components/InstallationWizard/index.tsx +++ b/src/components/InstallationWizard/index.tsx @@ -116,6 +116,8 @@ export const InstallationWizard = () => { InstallationType | undefined >(preselectedInstallationType); + const isStartAutoInstall = true; + const theme = useTheme(); const themeKind = getThemeKind(theme); const [email, setEmail] = useState(config.userEmail); @@ -338,7 +340,7 @@ export const InstallationWizard = () => { return ( - {installationType ? ( + {isStartAutoInstall || installationType ? ( Install Digma @@ -440,7 +442,7 @@ export const InstallationWizard = () => { )} - {installationType && + {(isStartAutoInstall || installationType) && steps.map((step, i) => ( { ))} - {installationType && ( + {(isStartAutoInstall || installationType) && (