feat(onboarding): add confirmation screen before organization creation - #2847
Conversation
New signups with 0 organizations now land on /onboarding/confirm before entering the personalize/use-cases/project funnel. It surfaces the SSO provider and email just used (plus the previously used provider on this browser, when different) so users who clicked the wrong SSO button catch it before creating a duplicate "shadow" organization. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Qovery can create a Preview Environment for this PR.
This comment has been generated from Qovery AI 🤖.
|
…m screen copy There's no feature to link or manage additional sign-in providers on an existing account, so the reassurance microcopy shouldn't promise it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
View your CI Pipeline Execution ↗ for commit e54495e
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
- Use Heading and Section instead of raw h1/div for the confirm screen title - Fold provider-display helpers into step-confirm.tsx instead of a separate file - Move data-fetching (auth0, user sign-up, local storage) into StepConfirm itself instead of threading props from the route - Add unit tests for StepConfirm - Only show the confirm screen when this browser previously signed in with a different provider than the one just used, instead of on every new signup — avoids adding friction for genuinely new users while still catching the wrong-SSO-button mistake, using the existing lastUsedLogin signal already captured on the login page (no backend change needed) - Fix yarn nx format:check failure flagged by CI Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…ep wording Remove the dedicated /onboarding/confirm screen and its signal-based gating (only reached a subset of users on the same browser/device). Instead, revise the wording of the existing personalize step, seen by every new signup: - Breadcrumb and heading now say plainly that this creates a new organization - Subtitle tells users with an existing team to get an invitation instead - A new inline link lets users who signed up with the wrong provider log out and sign in again, right where the mistake is most likely to be noticed This reaches 100% of new signups without adding an extra screen or step, and drops the previousUsedLogin/localStorage tracking that only covered users staying on the same browser. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…nalize step The breadcrumb and h1 were both action phrases saying nearly the same thing stacked on screen. Shorten the breadcrumb to a noun phrase, matching the style already used for the later Organization and Project Creation step. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…into subtitle Keep "To tailor your experience" as the h1 since it accurately describes what the form fields are for, and fold the new-organization notice into the subtitle instead of replacing the heading outright. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The h1 is what users actually read; the breadcrumb is peripheral. Put the new-organization message where it has the most chance of being noticed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…n is gone auth0-callback.tsx, login/index.tsx, and auth.enum.ts only changed to support the dedicated confirm screen and its previousUsedLogin signal, both now removed. Restore them to their staging state so the PR only touches container.tsx and step-personalize.tsx, the actual wording change. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## staging #2847 +/- ##
===========================================
+ Coverage 47.64% 48.29% +0.64%
===========================================
Files 1197 1276 +79
Lines 25952 27340 +1388
Branches 7774 7970 +196
===========================================
+ Hits 12366 13205 +839
- Misses 11468 11884 +416
- Partials 2118 2251 +133
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Issue: QOV-2119
Rather than adding a dedicated confirmation screen (which would only reach users on the same browser/device as their previous login — anyone on a new device, incognito window, or with cleared storage would still slip through), this revises the wording of the existing first onboarding step (/onboarding/personalize), seen by every single new signup:
This reaches 100% of new signups without adding an extra screen or step to the funnel.
Screenshots / Recordings
Testing
yarn testoryarn test -u(if you need to regenerate snapshots)yarn formatyarn lintPR Checklist
.cursor/rules)feat(service): add new Terraform service) - required for semantic-release