Skip to content

First iteration for making duo enterprise in-app trials 1 step

What does this MR do and why?

First iteration for making duo enterprise in-app trials 1 step

  • break up the work into multiple iterations
  • working towards the goal of making the trial submission 1 step instead of 2.
  • introduce new in-app trial form for new only.
  • move names of existing over to legacy_ when necessary as those old 2 step code paths will be going away once rollout is complete.
  • see prior work for ultimate trials at /-/trials/new
  • see https://gitlab.com/gitlab-org/gitlab/-/issues/543764

Screenshots or screen recordings

Click to expand
page Before After
/-/trials/duo_enterprise/new Screenshot_2025-08-05_at_12.56.33_PM Screenshot_2025-08-05_at_12.51.23_PM
/-/trials/duo_enterprise/new mobile Screenshot_2025-08-05_at_12.57.01_PM Screenshot_2025-08-05_at_12.51.48_PM
/-/trials/duo_enterprise/new video Screen_Recording_2025-08-05_at_12.57.36_PM Screen_Recording_2025-08-05_at_12.52.03_PM

How to set up and validate locally

  1. Setup gdk to simulate SaaS - https://docs.gitlab.com/ee/development/ee_features.html#simulate-a-saas-instance and restart GDK

  2. Create new group.

  3. In rails console make it ultimate.

    bin/rails c
    
    Group.last.gitlab_subscription.update(hosted_plan: Plan.find_by(name: 'ultimate'))
  4. In rails console enable the feature flag

    Feature.enable(:duo_enterprise_trial_single_form)
  5. visit /-/trials/duo_enterprise/new path.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #543764

Edited by Doug Stull

Merge request reports

Loading