Skip to content

Commit 5c1c8bd

Browse files
refactor: simplify onboarding workspace intro (anomalyco#119)
1 parent edaf73b commit 5c1c8bd

2 files changed

Lines changed: 5 additions & 23 deletions

File tree

‎src/components/CreateWorkspaceModal.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export default function CreateWorkspaceModal(props: {
4444
if (pickingFolder()) return;
4545
setPickingFolder(true);
4646
try {
47+
await new Promise((resolve) => setTimeout(resolve, 0));
4748
const next = await props.onPickFolder();
4849
if (next) {
4950
setSelectedFolder(next);

‎src/views/OnboardingView.tsx‎

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -88,41 +88,22 @@ export default function OnboardingView(props: OnboardingViewProps) {
8888
</div>
8989
<h2 class="text-2xl font-bold tracking-tight">Create your first workspace</h2>
9090
<p class="text-zinc-400 text-sm leading-relaxed">
91-
A workspace is a <span class="font-semibold text-white">folder</span> with its own skills, plugins, and templates.
91+
We'll set up a starter folder so you can start working right away.
9292
</p>
9393
</div>
9494

9595
<div class="space-y-4">
9696
<div class="bg-zinc-900/30 border border-zinc-800/60 rounded-2xl p-5 space-y-3">
97-
<div class="text-xs font-semibold text-zinc-500 uppercase tracking-wider">Workspace</div>
98-
9997
<div class="space-y-2">
100-
<div class="text-sm font-medium text-white">Starter Workspace</div>
98+
<div class="text-xs font-medium text-zinc-500">Workspace</div>
99+
<div class="text-sm font-medium text-white">Starter workspace</div>
101100
<div class="text-xs text-zinc-500">
102-
A ready-to-run workspace with starter templates and plugins.
101+
Includes examples for skills, templates, and plugins.
103102
</div>
104103
<div class={`text-xs ${props.developerMode ? "text-zinc-600 font-mono" : "text-zinc-500"} break-all`}>
105104
{props.developerMode ? props.activeWorkspacePath || "(initializing...)" : "A starter workspace will be created for you."}
106105
</div>
107106
</div>
108-
109-
<div class="pt-3 border-t border-zinc-800/60 space-y-2">
110-
<div class="text-xs font-semibold text-zinc-500 uppercase tracking-wider">What you get</div>
111-
<div class="space-y-2">
112-
<div class="flex items-center gap-3 text-sm text-zinc-300">
113-
<div class="w-2 h-2 rounded-full bg-emerald-500" />
114-
Scheduler plugin (workspace-scoped)
115-
</div>
116-
<div class="flex items-center gap-3 text-sm text-zinc-300">
117-
<div class="w-2 h-2 rounded-full bg-emerald-500" />
118-
Starter templates for files, skills, and plugins
119-
</div>
120-
<div class="flex items-center gap-3 text-sm text-zinc-300">
121-
<div class="w-2 h-2 rounded-full bg-emerald-500" />
122-
This workspace is preconfigured to show you how to use plugins, templates, and skills
123-
</div>
124-
</div>
125-
</div>
126107
</div>
127108

128109
<div class="rounded-2xl border border-zinc-800 bg-zinc-950/50 px-4 py-3">

0 commit comments

Comments
 (0)