diff --git a/pkgs/clan-app/ui/src/workflows/Install/steps/installSteps.tsx b/pkgs/clan-app/ui/src/workflows/Install/steps/installSteps.tsx index 1f94c759c..2a5b78f1b 100644 --- a/pkgs/clan-app/ui/src/workflows/Install/steps/installSteps.tsx +++ b/pkgs/clan-app/ui/src/workflows/Install/steps/installSteps.tsx @@ -17,6 +17,8 @@ import { Divider } from "@/src/components/Divider/Divider"; import { Orienter } from "@/src/components/Form/Orienter"; import { Button } from "@/src/components/Button/Button"; import { Select } from "@/src/components/Select/Select"; +import { LoadingBar } from "@/src/components/LoadingBar/LoadingBar"; +import Icon from "@/src/components/Icon/Icon"; export const InstallHeader = (props: { machineName: string }) => { return ( @@ -103,10 +105,10 @@ const CheckHardware = () => {
- Check hardware + Hardware Report @@ -123,7 +125,9 @@ const CheckHardware = () => { footer={
- Next + + Next +
} /> @@ -214,7 +218,7 @@ const ConfigureData = () => { { ); }; +const InstallProgress = () => { + return ( +
+
+ + Machine is beeing installed + + + +
+
+ ); +}; + +const FlashDone = () => { + const stepSignal = useStepper(); + return ( +
+
+
+ +
+ + Machine installation finished! + +
+ +
+
+
+ ); +}; + export const installSteps = [ { id: "install:address", @@ -351,11 +407,6 @@ export const installSteps = [ title: InstallHeader, content: CheckHardware, }, - { - id: "install:check-hardware", - title: InstallHeader, - content: CheckHardware, - }, { id: "install:disk", title: InstallHeader, @@ -377,17 +428,12 @@ export const installSteps = [ }, { id: "install:progress", - title: InstallHeader, - content: () => ( -
-

Installation in progress...

-

Please wait while we set up your machine.

-
- ), + content: InstallProgress, + isSplash: true, }, { id: "install:done", - title: InstallHeader, - content: () =>
Done
, + content: FlashDone, + isSplash: true, }, ] as const;