From f3889806a4006487e2b319b11c1fdc4933128329 Mon Sep 17 00:00:00 2001 From: Sreeram Sreedhar Date: Tue, 23 Jun 2026 22:16:39 -0700 Subject: [PATCH] Simplify onboarding filesystem step --- apps/desktop/app/onboarding/page.tsx | 155 ++++++++++++++++----------- 1 file changed, 93 insertions(+), 62 deletions(-) diff --git a/apps/desktop/app/onboarding/page.tsx b/apps/desktop/app/onboarding/page.tsx index d6bb965a..52476453 100644 --- a/apps/desktop/app/onboarding/page.tsx +++ b/apps/desktop/app/onboarding/page.tsx @@ -381,43 +381,73 @@ function FilesystemStep({ return (
- -
-
-
- - - -
-

Filesystem space

-

- {status?.tag ?? tag} -

+ +
+
+
+
+
-
- - - + +
+

+ Filesystem space +

+

+ Local Supermemory folder for editors and command-line tools +

+
+ +
+ +

+ {status?.tag ?? tag} +

{error ?

{error}

: null}
-
-

Recommended

-

- Mount now if you want a local memory folder. You can also do this - later from Settings. -

- +
+ + Checking +
+ ) + } + + if (mounted) { + return ( +
+ + Mounted +
+ ) + } + + return ( +
+ + Unmounted +
+ ) +} + function DoneStep({ connectedCount, onBack, @@ -751,19 +814,6 @@ function StepIndicator({ step }: { step: DesktopOnboardingStep }) { ) } -function InfoRow({ label, value }: { label: string; value: string }) { - return ( -
-

- {label} -

-

- {value} -

-
- ) -} - function NovaBackground() { return ( <> @@ -792,25 +842,6 @@ function NovaBackground() { ) } -function formatSmfsState(state?: SmfsStatus["state"]) { - switch (state) { - case "degraded": - return "Mounted with warnings" - case "external": - return "External mount" - case "error": - return "Error" - case "missing-binary": - return "Missing binary" - case "mounted": - return "Mounted" - case "unmounted": - return "Unmounted" - default: - return "Loading" - } -} - function formatUnknownError(error: unknown, fallback: string) { return error instanceof Error ? error.message