[169] feat: organization-created acknowledgement page#169
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
🚅 Deployed to the TalkUp.AI-pr-169 environment in talk-up-ai
|
Andriamanampisoa
marked this pull request as ready for review
July 14, 2026 11:32
Andriamanampisoa
marked this pull request as draft
July 14, 2026 11:50
BhuvanArn
marked this pull request as ready for review
July 14, 2026 16:36
Andriamanampisoa
self-requested a review
July 15, 2026 11:52
Andriamanampisoa
approved these changes
Jul 15, 2026
…ion-created-page # Conflicts: # web/src/routeTree.gen.ts
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.
What type of PR is this? (check all applicable)
Description
Adds a post-signup acknowledgement page for self-serve organization creation and upgrades the admin's signup email so it clearly explains what happened.
1. New
/organization-createdpage. Previously org signup redirected straight to/verify-emailwith no confirmation. Now signup routes to an interstitial page that:{organizationName}_admin) and admin email,/organizationredirect) and a "verify later — back to login" link,New flow:
RegisterOrganizationForm→POST /auth/register-organization→/organization-created→ CTA →/verify-email?email=…&redirect=/organization.2. Org-admin welcome email. Org signup no longer sends the generic OTP code.
signUpOrganizationnow passes the org name + admin username throughregister; the OTP event carriesadminUsername, andMailListenersends a dedicated org-admin welcome email: heading "Your organization is ready", what was created (org + admin account) with the admin username, the verification code (15-min expiry), numbered next steps (verify email → sign in as admin to manage the org), and a verify CTA/link. Invited-member emails and ops provisioning are unchanged (they don't passadminUsername). The admin username is HTML-escaped.Confirmed as part of this work that org creation already delivers a verification email to the admin, and that the admin's typed password is honored.
Linked GitHub Ticket
Closes EpitechPromo2027/G-EIP-600-NAN-6-1-eip-tugdual.de-reviers#NNN
Workspace
Screenshots
/organization-created page (light theme, no success-icon per review):
Organization created→ org name intro → Admin username / Admin email card → "verify the admin email and sign in" instructions → Verify admin email & continue CTA + "verify later — back to login".Org-admin welcome email (branded TalkUp shell):
Your organization is ready→ "Your organization Acme School has been created … (username: AcmeSchooladmin)" → "Verify this admin email … Next steps: 1) enter the code … 2) sign in as AcmeSchooladmin to manage Acme School …" → code chip482913(expires in 15 minutes) → Verify admin email & continue button + link → anti-phishing note → sign-off.Both surfaces were driven end-to-end in a real browser during development.
Verification
tsc --noEmit(web + server), oxlint 0/0, prettier — all clean.org-flow.spec.ts) updated for the new interstitial redirect — this is the check that was red before (it still asserted the old direct/verify-emailhandoff).