diff --git a/src/app/[...skillPath]/page.tsx b/src/app/[...skillPath]/page.tsx index f2ae9bc..45cf122 100644 --- a/src/app/[...skillPath]/page.tsx +++ b/src/app/[...skillPath]/page.tsx @@ -221,6 +221,7 @@ export default function SkillPage({ } }; + // Invalid path if (!isValidPath) { return (
@@ -228,7 +229,7 @@ export default function SkillPage({
-
Invalid skill path
+

Invalid skill path

Expected format: /owner/repo/skill-name
Go home
@@ -248,15 +249,15 @@ export default function SkillPage({
{phase === "config" && !authLoaded && ( -
-
+
+ )} {phase === "config" && authLoaded && !isSignedIn && (
-
- +
+

Sign in to continue

@@ -269,8 +270,8 @@ export default function SkillPage({ )} {phase === "config" && isSignedIn && keysLoading && ( -
-
+
+ )} @@ -289,8 +290,8 @@ export default function SkillPage({ )} {phase === "config" && readyToAutoLaunch && ( -
-
+
+ )} diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index 9cfd34e..b788ea9 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -72,25 +72,27 @@ export default function DashboardPage() { await removeSandbox({ sandboxId }); }; + // Loading state if (!isLoaded) { return (
-
-
+
+
); } + // Not signed in if (!isSignedIn) { return (
-
+

Sign in to view dashboard

Manage your active sandbox sessions.

@@ -143,6 +145,7 @@ export default function DashboardPage() { return "text-yellow-400/70"; }; + // Main dashboard content return (
@@ -158,12 +161,12 @@ export default function DashboardPage() {
{sandboxList === undefined ? ( -
-
+
+ ) : sandboxList.length === 0 ? ( -
- +
+

No active sandboxes

@@ -173,7 +176,7 @@ export default function DashboardPage() {
) : ( -
+
{sandboxList.map((sb) => { const live = liveInfo[sb.sandboxId]; const displayState = live?.state ?? sb.state; @@ -186,11 +189,12 @@ export default function DashboardPage() { return (
-
+