Skip to content

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.

🛠 with at Siemens

/cc @bufferoverflow

Screenshots

Create project with unchecked setting Create project with checked setting
image image
Setting before Setting after
image image

How to set up and validate locally

  1. 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
  2. Visit New Group page: http://localhost:3000/groups/new#create-group-pane
    The personalization questions are displayed.
  3. 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
  4. 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.

Related to #349325 (closed)

Edited by Jonas Wälter

Merge request reports