Commit Graph
100 Commits
Author SHA1 Message Date
Théo LAGACHEandClaude Sonnet 4.6 8d64376a56 refactor(onboarding): extract useAgentStatus and useGenerateEdgeKey hooks
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 10:56:46 +02:00
Théo LAGACHEandClaude Sonnet 4.6 e044833d20 refactor(onboarding): extract useAddStorage and useRemoveStorage hooks
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 10:54:01 +02:00
Théo LAGACHEandClaude Sonnet 4.6 aed8ecb53d refactor(onboarding): extract useAddNotifier and useRemoveNotifier hooks
Move notification channel add/remove logic from step-notifier.tsx into
dedicated useMutation hooks; step now reads notifiers from context and
delegates UI side-effects via per-call onSuccess callbacks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 10:49:44 +02:00
Théo LAGACHEandClaude Sonnet 4.6 e498aaf920 refactor(onboarding): extract useUpdateAccount hook
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 10:45:15 +02:00
Théo LAGACHE 7b097c95c8 fix(onboarding): use narrowed createData.value in use-create-org 2026-06-19 10:42:21 +02:00
Théo LAGACHEandClaude Sonnet 4.6 1fc04d3b0b fix(onboarding): trim project name, standardize error narrowing in org/project hooks
- use-create-project.ts: Add trimming of project name at mutation start and validate empty name
- use-create-project.ts: Replace all name references with trimmed value in action calls and context updates
- use-create-org.ts: Standardize error narrowing by extracting result.data to local variables instead of using 'as' casts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 10:40:25 +02:00
Théo LAGACHEandClaude Sonnet 4.6 afd0894c24 refactor(onboarding): extract useCreateOrg and useCreateProject hooks
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 10:37:12 +02:00
Théo LAGACHEandClaude Sonnet 4.6 8c1025ece9 refactor(onboarding): extract useCreateAgent and useDeleteAgent hooks
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 10:31:21 +02:00
Théo LAGACHEandClaude Sonnet 4.6 808e60557b refactor(onboarding): move types, constants, schemas to sub-directories
- Rename onboarding.types.ts → types/index.ts
- Create constants/steps.ts with STEP_IDS and STEP_ORDER
- Create schemas/account.schema.ts with BaseSchema and WithPasswordSchema
- Update onboarding-shell.tsx to import STEP_ORDER from constants
- Update step-account-info.tsx to import schemas from schemas/account.schema
- Migrate 14 files from @/features/onboarding/onboarding.types → @/features/onboarding/types
- Fix missed import in app/(welcome)/welcome/onboarding-client.tsx

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 10:25:17 +02:00
Théo LAGACHEandClaude Sonnet 4.6 f07ff1a28c docs: add onboarding refactor implementation plan
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 10:20:19 +02:00
Théo LAGACHEandClaude Sonnet 4.6 352abb8a95 docs: add onboarding refactor design spec
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 10:14:44 +02:00
Théo LAGACHE aef1c7b8fb feat(onboarding): show Next button in shell when navigating backwards 2026-06-18 16:04:39 +02:00
Théo LAGACHE fc63923d85 feat(onboarding): remove org logo upload — orgs have no logo 2026-06-18 16:02:17 +02:00
Théo LAGACHEandClaude Sonnet 4.6 b0e23f336d feat(onboarding): theme applied dynamically via setTheme, avatar saved to user.image
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 16:00:30 +02:00
Théo LAGACHEandClaude Sonnet 4.6 1f3e36ce56 fix(onboarding): verify session after passkey registration, fallback to signIn.passkey()
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 15:57:26 +02:00
Théo LAGACHE 73179e4d0b fix(onboarding): step-login — add next to useEffect deps, default emailPasswordEnabled to false 2026-06-18 15:54:13 +02:00
Théo LAGACHEandClaude Sonnet 4.6 18282ede01 feat(onboarding): login — auto-advance if session, callbackURL on SSO, hide email/pw when disabled, empty state
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 15:52:19 +02:00
Théo LAGACHE a395f15ba5 feat(onboarding): agent-waiting step is now skippable 2026-06-18 15:49:39 +02:00
Théo LAGACHEandClaude Sonnet 4.6 5ac7d86b6d feat(onboarding): DB-driven resume — query notifiers/storages, check agent lastContact
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 15:47:04 +02:00
Théo LAGACHE eaf1391601 feat(onboarding): add emailPasswordEnabled to meta, remove logoDataUrl from org 2026-06-18 15:44:02 +02:00
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
Théo LAGACHE 89bf08ae4b feat(onboarding): add account-info step with real signup 2026-06-16 16:48:18 +02:00
Théo LAGACHE 708b3f3ef5 feat(onboarding): add sso-gate step 2026-06-16 16:44:50 +02:00
Théo LAGACHE 6098c2fe42 feat(onboarding): add stepper, contextual preview and shell 2026-06-16 16:39:54 +02:00
Théo LAGACHE 35654feedd feat(onboarding): add cookie helper, types and mock data 2026-06-16 16:33:48 +02:00
Théo LAGACHE 9d8c6e26f1 Update notification-log-modal.tsx 2026-03-04 15:09:55 +01:00
Théo LAGACHE eb624672e6 Update notification-log-modal.tsx 2026-03-04 14:18:46 +01:00
Théo LAGACHE 1b026b5f08 Update notification-log-modal.tsx 2026-03-04 14:12:23 +01:00
Théo LAGACHE 11c764c2f3 fix 2026-03-04 10:17:37 +01:00
Théo LAGACHE ee31ee225d fix 2026-03-04 09:44:30 +01:00
Théo LAGACHE 2ca818b996 Update auto-release.yml 2026-03-04 09:33:51 +01:00
Théo LAGACHE e644cde514 update: sensible action button confirm 2026-03-02 11:21:20 +01:00
Théo LAGACHE 2350e68f4f update: sensible action button confirm 2026-03-02 11:19:11 +01:00
Théo LAGACHE cce3b681e3 old 2026-03-02 11:18:42 +01:00
Théo LAGACHE 755799f19d remove: old edit page 2026-03-02 11:18:21 +01:00
Théo LAGACHE ec02dc8579 fix: button confirm 2026-03-02 11:17:54 +01:00
Théo LAGACHE 7028982ba1 add: provider validation 2026-03-02 10:30:57 +01:00
Théo LAGACHE f04503e38e add: topic channel id support 2026-03-02 10:27:21 +01:00
Théo LAGACHE 14f48c4a35 Update profile-security.tsx 2026-02-27 15:38:55 +01:00
Théo LAGACHE 88aa4daf74 Update profile-security.tsx 2026-02-27 15:31:37 +01:00
Théo LAGACHE 25326dc9be Update profile-security.tsx 2026-02-27 15:30:55 +01:00
Théo LAGACHE 030cd13f7c fix: passkey, error mapping 2026-02-27 15:17:57 +01:00
Théo LAGACHE d557620c81 fix: passkey table 2026-02-27 14:58:52 +01:00
Théo LAGACHE 646719557c fix: disable register,link/unlink 2026-02-27 11:49:38 +01:00
Théo LAGACHE 1640b326be Update master-realm.json 2026-02-27 11:36:38 +01:00
Théo LAGACHE cc19c9ec19 fix 2026-02-27 11:34:09 +01:00
Théo LAGACHE bb84ab9697 fix: change port 2026-02-27 10:54:10 +01:00
Théo LAGACHE 0f7664201a Update Makefile 2026-02-27 10:07:12 +01:00
Théo LAGACHE 0b8a8213e6 Update Makefile 2026-02-27 10:07:05 +01:00
Théo LAGACHE 476b3da66b fix 2026-02-27 10:03:45 +01:00
Théo LAGACHE 41c632ccfa Update auth.ts 2026-02-27 09:53:24 +01:00