Part of the project "Adding onboarding for new workspaces being created"
Main issue: #48591
Doc section: https://docs.google.com/document/d/19u6ZQbNuF-v5oovIkQlmwYV4SXeAgey50pymsj5QHRY/edit?tab=t.0#heading=h.vwt3yefp8jmh (External only)
Feature Description
When a user who didn't choose the option "Manage my team's expenses" during the initial onboarding eventually creates a workspace, create onboarding tasks to teach them what to do next.
Implementation steps
-
Prep work:
- Add new constant
newDotTrackWorkspace to backendOnboardingChoices - Design doc section
- Extract the logic to generate the request and optimistic data for onboarding tasks out of
completeOnboarding(), for clarity and reusability – Design doc section
-
Create new setup tasks when users create a workspace
- Design doc section ('External' section only)
- Update
CategorizeTrackedExpense, ShareTrackedExpense, and CreateWorkspace to generate and pass the new onboarding task data to the API if the user doesn't already have a createWorkspace onboarding task
Issue Owner
Current Issue Owner: @francoisl
Part of the project "Adding onboarding for new workspaces being created"
Main issue: #48591
Doc section: https://docs.google.com/document/d/19u6ZQbNuF-v5oovIkQlmwYV4SXeAgey50pymsj5QHRY/edit?tab=t.0#heading=h.vwt3yefp8jmh (External only)
Feature Description
When a user who didn't choose the option "Manage my team's expenses" during the initial onboarding eventually creates a workspace, create onboarding tasks to teach them what to do next.
Implementation steps
Prep work:
newDotTrackWorkspacetobackendOnboardingChoices- Design doc sectioncompleteOnboarding(), for clarity and reusability – Design doc sectionCreate new setup tasks when users create a workspace
CategorizeTrackedExpense,ShareTrackedExpense, andCreateWorkspaceto generate and pass the new onboarding task data to the API if the user doesn't already have acreateWorkspaceonboarding taskIssue Owner
Current Issue Owner: @francoisl