From 480d5ee18c0c2e73eb01224d5c50144176a93cc3 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Wed, 3 Sep 2025 08:28:51 +0200 Subject: [PATCH 1/2] ui/install: vars fix loading screen --- .../InstallMachine/steps/installSteps.tsx | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/pkgs/clan-app/ui/src/workflows/InstallMachine/steps/installSteps.tsx b/pkgs/clan-app/ui/src/workflows/InstallMachine/steps/installSteps.tsx index 9ba0a74a7..79e86f08d 100644 --- a/pkgs/clan-app/ui/src/workflows/InstallMachine/steps/installSteps.tsx +++ b/pkgs/clan-app/ui/src/workflows/InstallMachine/steps/installSteps.tsx @@ -34,6 +34,7 @@ import { import { useClanURI } from "@/src/hooks/clan"; import { useApiClient } from "@/src/hooks/ApiClient"; import { ProcessMessage, useNotifyOrigin } from "@/src/hooks/notify"; +import { Loader } from "@/src/components/Loader/Loader"; export const InstallHeader = (props: { machineName: string }) => { return ( @@ -431,7 +432,22 @@ export const ConfigureData = () => { return ( <> - Checking credentials & data... +
+
+ + + Credentials & Data + + + Loading Machine Generators ... + +
+
{(generators) => } From f169a40c6980ddf70d64a58dc7eaf7d747e9ee90 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Wed, 3 Sep 2025 08:30:57 +0200 Subject: [PATCH 2/2] ui/install: fix onClose not called --- .../clan-app/ui/src/workflows/InstallMachine/InstallMachine.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/clan-app/ui/src/workflows/InstallMachine/InstallMachine.tsx b/pkgs/clan-app/ui/src/workflows/InstallMachine/InstallMachine.tsx index c48434a44..dc73de69d 100644 --- a/pkgs/clan-app/ui/src/workflows/InstallMachine/InstallMachine.tsx +++ b/pkgs/clan-app/ui/src/workflows/InstallMachine/InstallMachine.tsx @@ -122,7 +122,7 @@ export const InstallModal = (props: InstallModalProps) => { // @ts-expect-error some steps might not have disablePadding={stepper.currentStep()?.isSplash} > - props.onClose} /> + props.onClose?.()} /> );