feat: enhance welcome page with organization selection and workspace switching functionality

This commit is contained in:
Usman Baig
2026-02-08 14:21:38 +01:00
parent 58cfb6210b
commit a211193277
2 changed files with 113 additions and 26 deletions

View File

@@ -6,6 +6,7 @@
export type WelcomeEventName =
| 'welcome_step_view'
| 'welcome_workspace_selected'
| 'welcome_workspace_created'
| 'welcome_plan_continue'
| 'welcome_plan_skip'
@@ -47,6 +48,10 @@ export function trackWelcomeStepView(step: number) {
emit('welcome_step_view', { step })
}
export function trackWelcomeWorkspaceSelected() {
emit('welcome_workspace_selected')
}
export function trackWelcomeWorkspaceCreated(hadPendingCheckout: boolean) {
emit('welcome_workspace_created', { had_pending_checkout: hadPendingCheckout })
}