Commit Graph
1243 Commits
Author SHA1 Message Date
Théo LAGACHE 177455db43 chore(onboarding): delete mock/cookie/preview/sso-gate files — replaced by real implementation 2026-06-18 12:17:42 +02:00
Théo LAGACHE 0fb060e2da feat(onboarding): page.tsx uses resolveOnboardingState — server-driven resume 2026-06-18 12:10:30 +02:00
Théo LAGACHE 4b5367a456 feat(onboarding): wire steps — add login + agent-key, remove sso-gate 2026-06-18 12:08:16 +02:00
Théo LAGACHE 211d69c846 feat(onboarding): step-project-create uses real action + real DBs from flowData 2026-06-18 12:05:42 +02:00
Théo LAGACHE 4e5913b0d9 feat(onboarding): add step-agent-key with edgeKey generation via server action 2026-06-18 12:01:21 +02:00
Théo LAGACHE 32cf64eebe feat(onboarding): step-agent-waiting polls real agent lastContact via useQuery 2026-06-18 11:58:18 +02:00
Théo LAGACHE 3d1b0aa659 feat(onboarding): step-agent-create calls real createAgentAction + findOrCreate 2026-06-18 11:54:38 +02:00
Théo LAGACHE 49924d9dd9 feat(onboarding): notifier + storage steps call real actions + findOrCreate on back 2026-06-18 11:52:12 +02:00
Théo LAGACHE 4ea5babba6 fix(onboarding): step-org-create — simplify error handling, throw on empty name 2026-06-18 11:39:18 +02:00
Théo LAGACHE 19776344a3 feat(onboarding): step-org-create calls real createOrganizationAction 2026-06-18 11:36:54 +02:00
Théo LAGACHE c1b4c04a9a feat(onboarding): step-security reads passkeyEnabled from flowData.meta 2026-06-18 11:33:27 +02:00
Théo LAGACHE 9cdcfb4d3f feat(onboarding): avatar API route (next/og) + AvatarPicker in preferences step 2026-06-18 11:30:59 +02:00
Théo LAGACHE 358b583634 feat(onboarding): step-account-info — firstName/lastName, conditional password, findOrCreate 2026-06-18 11:25:49 +02:00
Théo LAGACHE 17b9d1da02 fix(onboarding): step-login — conform to global mutation pattern, handle SSO errors 2026-06-18 11:22:26 +02:00
Théo LAGACHE 642e6c7fde feat(onboarding): add step-login replacing sso-gate 2026-06-18 11:20:21 +02:00
Théo LAGACHE 082539df12 feat(onboarding): replace preview panel with stepper checklist 2026-06-18 11:05:36 +02:00
Théo LAGACHE 5c1b247ee5 style(onboarding): add branding to shell, fix progress bar full width 2026-06-18 11:05:30 +02:00
Théo LAGACHEandClaude Sonnet 4.6 a50c668db7 fix(onboarding): remove unused imports from onboarding-state.ts
Removed getOrganizationChannels and getOrganizationStorageChannels imports that were never used in the file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 11:03:38 +02:00
Théo LAGACHE b79d039a03 feat(onboarding): add resolveOnboardingState server function 2026-06-18 11:01:53 +02:00
Théo LAGACHEandClaude Sonnet 4.6 9183d6dfcb feat(onboarding): add settings.onboarding column + markOnboardingDoneAction
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 10:57:25 +02:00
Théo LAGACHEandClaude Sonnet 4.6 eade74be6e feat(onboarding): update type system — meta, firstName/lastName, org.id, databases
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 10:53:07 +02:00
Théo LAGACHEandClaude Sonnet 4.6 18e7a96754 feat(onboarding): skip agent-waiting/project-create/db-settings when no agents created
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 10:24:49 +02:00
Théo LAGACHEandClaude Sonnet 4.6 647905da09 style(onboarding): restyle DB toggle buttons in project-create step to org-combobox card style
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 10:24:26 +02:00
Théo LAGACHEandClaude Sonnet 4.6 51317b0d08 style(onboarding): restyle theme toggles in preferences step to org-combobox card style
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 10:24:10 +02:00
Théo LAGACHEandClaude Sonnet 4.6 34cce3b07d style(onboarding): restyle security method choice to org-combobox card style
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 10:23:47 +02:00
Théo LAGACHEandClaude Sonnet 4.6 9dcde769c7 style(onboarding): restyle sso-gate provider buttons to org-combobox card style
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 10:23:30 +02:00
Théo LAGACHEandClaude Sonnet 4.6 acc60f7d69 feat(onboarding): add two-phase config flow and org-combobox style to storage step
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 10:20:25 +02:00
Théo LAGACHEandClaude Sonnet 4.6 b34267ae19 fix(onboarding): prevent duplicate notifier providers and guard Continue button
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 10:18:23 +02:00
Théo LAGACHEandClaude Sonnet 4.6 fa5307c875 feat(onboarding): add two-phase config flow and org-combobox style to notifier step
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 10:10:06 +02:00
Théo LAGACHEandClaude Sonnet 4.6 2d223b72c5 feat(onboarding): extend OnboardingChannel with name and config fields
Add 'name' (user-visible channel name) and 'config' (provider-specific settings)
fields to OnboardingChannel type to support two-phase configuration flow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 10:05:47 +02:00
Théo LAGACHEandClaude Sonnet 4.6 ed3ae9445a docs(onboarding): add implementation plan for channel config flow and style refactor
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 10:03:26 +02:00
Théo LAGACHE ca4b0fed9e docs: add conditional step skip when no agents to spec 2026-06-17 09:56:22 +02:00
Théo LAGACHE 40da44a03d docs: add onboarding channel config + style refactor spec 2026-06-17 09:54:23 +02:00
Théo LAGACHEandClaude Sonnet 4.6 8b97a90fb9 fix(onboarding): call next() in finish step so onFlowComplete fires and cookie is written
StepFinish was calling router.push() directly, bypassing the next() call that
triggers onFlowComplete in OnboardingClient, preventing the onboarding-done
cookie from being written and causing infinite redirect loops.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 09:46:52 +02:00
Théo LAGACHE 6e8a8ca1d7 feat(onboarding): gate landing, auth and dashboard routes behind onboarding cookie 2026-06-17 09:40:59 +02:00
Théo LAGACHE 49a6d6777a feat(onboarding): add /welcome route 2026-06-17 09:39:22 +02:00
Théo LAGACHE d825d5c7aa feat(onboarding): wire full step graph 2026-06-17 09:36:06 +02:00
Théo LAGACHEandClaude Sonnet 4.6 7c1707530d feat(onboarding): add finish step with confetti
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 09:32:56 +02:00
Théo LAGACHEandClaude Sonnet 4.6 4c4f2a4783 feat(onboarding): add db-settings step with per-db repeat
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 09:30:48 +02:00
Théo LAGACHE f2af172f2f feat(onboarding): add project-create step 2026-06-17 09:28:28 +02:00
Théo LAGACHE 8e872a1fbc feat(onboarding): add agent-waiting step with simulated ping 2026-06-17 09:26:51 +02:00
Théo LAGACHEandClaude Sonnet 4.6 34ff1cb73e feat(onboarding): add agent-create step
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 09:25:03 +02:00
Théo LAGACHE ed68d6c72b feat(onboarding): add defaults step 2026-06-17 09:23:13 +02:00
Théo LAGACHEandClaude Sonnet 4.6 af79757ed8 feat(onboarding): add storage step reusing real provider list
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 09:20:43 +02:00
Théo LAGACHEandClaude Sonnet 4.6 1b7ab65aab feat(onboarding): add notifier step reusing real provider list
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 09:17:11 +02:00
Théo LAGACHE cd4364e664 feat(onboarding): add invite-members step 2026-06-17 09:12:49 +02:00
Théo LAGACHE 001d1b0042 feat(onboarding): add org-create step 2026-06-17 09:07:27 +02:00
Théo LAGACHE a02f784c99 fix(onboarding): validate avatar upload size/type and handle FileReader errors 2026-06-16 16:58:07 +02:00
Théo LAGACHE c549f09188 feat(onboarding): add preferences step 2026-06-16 16:55:22 +02:00
Théo LAGACHE 1b977fa74e feat(onboarding): add security step 2026-06-16 16:52:28 +02:00