Skip to content

feat: improved project onboarding flow, closes #53#54

Merged
jeroenrinzema merged 2 commits intomainfrom
feat/project-onboarding
Oct 15, 2025
Merged

feat: improved project onboarding flow, closes #53#54
jeroenrinzema merged 2 commits intomainfrom
feat/project-onboarding

Conversation

@jeroenrinzema
Copy link
Copy Markdown
Contributor

image image

@jeroenrinzema jeroenrinzema requested a review from Copilot October 15, 2025 20:54
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements an improved project onboarding flow that guides new users through initial setup. The onboarding introduces users to connecting their user base and creating their first journey with a pre-configured template.

Key Changes:

  • Added project metadata aggregation (campaign, journey, and user counts) to determine onboarding eligibility
  • Implemented journey template webhook endpoint for fetching pre-configured journey structures
  • Created onboarding UI flow with user connection and journey creation steps

Reviewed Changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
services/platform/src/projects/ProjectService.ts Adds count aggregation for campaigns, journeys, and users to Project retrieval
services/platform/src/projects/Project.ts Extends Project model with count fields
services/platform/src/journey/JourneyRepository.ts Adds template fetching logic and refactors transaction handling for journey creation
services/platform/src/journey/JourneyController.ts Adds template_id parameter to journey creation schema
services/platform/src/journey/Journey.ts Extends JourneyParams type with optional template_id
services/platform/src/config/env.ts Adds journeyTemplate webhook configuration
services/platform/oapi/webhooks.generated.ts Generated types for new journey template webhook endpoint
services/console/src/views/router.tsx Adds onboarding routes and conditional redirect logic
services/console/src/views/project/ProjectOnboardingUsers.tsx First onboarding step for user connection
services/console/src/views/project/ProjectOnboardingJourney.tsx Second onboarding step for journey creation
services/console/src/views/project/ProjectOnboarding.tsx Layout wrapper for onboarding flow
services/console/src/views/project/Onboarding.css Styling for onboarding UI components
services/console/src/views/journey/JourneyEditor.tsx Reorders import statements
services/console/src/views/journey/JourneyEditor.css Adds styling for info/sticky journey step nodes
services/console/src/ui/form/TextInput.tsx Adds readOnly prop support
services/console/src/types.ts Adds count fields to Project and template_id to Journey types
services/console/public/locales/en.json Adds onboarding text translations
oapi/webhooks.yml Defines journey template webhook specification

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread services/platform/src/projects/ProjectService.ts
Comment thread services/platform/src/journey/JourneyRepository.ts Outdated
@jeroenrinzema jeroenrinzema force-pushed the feat/project-onboarding branch from 38450a2 to ec42696 Compare October 15, 2025 20:56
@jeroenrinzema jeroenrinzema force-pushed the feat/project-onboarding branch from ec42696 to 53d147e Compare October 15, 2025 20:59
@jeroenrinzema jeroenrinzema force-pushed the feat/project-onboarding branch from a3db309 to 9385e4c Compare October 15, 2025 21:01
@jeroenrinzema jeroenrinzema merged commit b6c3221 into main Oct 15, 2025
2 checks passed
@jeroenrinzema jeroenrinzema deleted the feat/project-onboarding branch October 15, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants