New Project page: allow to hide deployment target question
What does this MR do and why?
Introduced in !79873 (merged), there's a 'Project deployment target' question on the Create Project page. That's very similar to the 'personalization questions' on the Create Group page. As the 'personalization questions' can be hidden (implemented in !76920 (merged), this should also be possible for the 'Project deployment target' question on the Create Project page
So this MR binds the showing/hiding of the 'Project deployment target' questions to the Admin Area > General > Customer experience improvement and third-party offers
setting.
/cc @bufferoverflow
Screenshots
Setting: disabled | Setting: enabled |
---|---|
How to set up and validate locally
- Visit the General settings in the Admin area and uncheck
Do not display content for customer experience improvement and offers from third parties
in the Customer experience improvement and third-party offers section: http://localhost:3000/admin/application_settings/general#js-third-party-offers-settings - Visit New Project page: http://localhost:3000/projects/new#blank_project
➡ The deployment question is displayed. - Visit the General settings in the Admin area and check
Do not display content for customer experience improvement and offers from third parties
in the Customer experience improvement and third-party offers section: http://localhost:3000/admin/application_settings/general#js-third-party-offers-settings - Visit New Project page: http://localhost:3000/projects/new#blank_project
➡ The deployment question is 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.
Edited by Jonas Wälter