Skip to content

Determine path value during group creation for a smoother purchase UX

Vamsi Vempati requested to merge 470631-handle-path-errors into master

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

  1. Setup Customers Dot
  2. Start GDK in SaaS mode GITLAB_SIMULATE_SAAS=1 gdk start
  3. GitLab.com: Create a group with name test
  4. GitLab: Enable migrate_purchase_flows_for_existing_customers feature flag
  5. GitLab.com: Visit http://localhost:3000/-/subscriptions/groups/new?plan_id=2c92a0ff76f0d5250176f2f8c86f305a
  6. GitLab.com: Choose to create a new group
  7. GitLab.com: Enter the same group name as step 1
  8. GitLab.com: Hit Enter to submit the form immediately
Edited by Vamsi Vempati

Merge request reports