New Group page: allow to hide personalization questions
What does this MR do and why?
In !67249 (merged), several personalization questions were added to the New Group page. The description says: "Now, personalize your GitLab experience. We'll use this to help surface the right features and information to you."
This information may be helpful for GitLab on gitlab.com, but less helpful for self-managed instances. In fact, our experience on our instance is that these additional questions confuse the users and complicate the group creation process. That's why it makes sense to give the administrator a way to configure whether these questions should be displayed or not.
So this MR binds the showing/hiding of the personalization questions to the Admin Area > General > Third-party offers
setting.
/cc @bufferoverflow
Screenshots
Create project with unchecked setting | Create project with checked setting |
---|---|
Setting before | Setting after |
---|---|
How to set up and validate locally
- Visit the General settings in the Admin area and uncheck
Do not display offers from third parties
in the Third-party offers section: http://localhost:3000/admin/application_settings/general#js-third-party-offers-settings - Visit New Group page: http://localhost:3000/groups/new#create-group-pane
➡ The personalization questions are displayed. - Visit the General settings in the Admin area and check
Do not display offers from third parties
in the Third-party offers section: http://localhost:3000/admin/application_settings/general#js-third-party-offers-settings - Visit New Group page: http://localhost:3000/groups/new#create-group-pane
➡ The personalization questions are hidden.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #349325 (closed)