feat: improved project onboarding flow, closes #53#54
Merged
jeroenrinzema merged 2 commits intomainfrom Oct 15, 2025
Merged
Conversation
Contributor
jeroenrinzema
commented
Oct 15, 2025
There was a problem hiding this comment.
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.
38450a2 to
ec42696
Compare
ec42696 to
53d147e
Compare
a3db309 to
9385e4c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.