Determine path value during group creation for a smoother purchase UX
What does this MR do and why?
Determine path value during group creation for a smoother purchase UX
- Use group path provided in the params to create a unique URL for the group
- Uses the same value if its already unique
- Creates a unique path value if path already exists
- Handle path related errors from group creation API response instead of path availability API response
Related to #470631
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
Screen Recording 2024-07-08 at 12.21.20 PM.mov | Screen Recording 2024-07-08 at 12.17.28 PM.mov |
How to set up and validate locally
- Setup Customers Dot
- Start GDK in SaaS mode
GITLAB_SIMULATE_SAAS=1 gdk start
-
GitLab.com: Create a group with name
test
-
GitLab: Enable
migrate_purchase_flows_for_existing_customers
feature flag - GitLab.com: Visit http://localhost:3000/-/subscriptions/groups/new?plan_id=2c92a0ff76f0d5250176f2f8c86f305a
- GitLab.com: Choose to create a new group
- GitLab.com: Enter the same group name as step 1
-
GitLab.com: Hit
Enter
to submit the form immediately
Edited by Vamsi Vempati