Improve New Trial flow for edge case scenario
The Problem
While working on code to implement group-only trials (#215852), I realized that we should probably just improve the “New Trial” flow experience for all users for the edge case of when the user’s own namespace is not eligible for a trial nor are any of their groups eligible for a trial (or the user does not have any groups).
See &3583 (closed) for more details about which groups are considered eligible for trials.
Proposed UX Changes
I propose that we make a slight adjustment to the UI for all users:
Current UX | Proposed UX |
---|---|
![]() |
![]() |
Currently we make you click “Create group” and then we show you the “New Group Name” form field. | Taken directly from the Experiment design & implementation section of the group-only trials experiment (#215852) issue. |
Proposed Copy Changes
I also propose that we make a few copy changes. The intro text (that single sentence directly under the Almost there heading) is currently only accurate for one of the four possible scenarios, that of the user’s namespace being eligible but of not having any groups or none of the user’s groups being eligible:
You can apply your Trial to your Personal account or create a New Group.
I propose we update that copy so that it better supports each scenario:
-
All options are available to the user:
You can apply your trial to your personal account, an existing group, or create a new group.
-
No groups exist or are eligible:
You can apply your trial to your personal account or create a new group.
-
No user - the user’s namespace is ineligible:
You can apply your trial to an existing group or create a new group.
-
Neither the user’s namespace nor any groups are eligible:
Create a group to start your GitLab Gold trial.