Skip to content

Extract experiment check from helper

What does this MR do?

In !53089 (merged) we introduced a helper & a helper method which checks if the learn gitlab experiment is active. However, this shouldn't be in a helper. This MR extracts the code as part of the follow-up from the MR, there is no functional change.

If you're interested in the experiment and want to try it out locally, you can follow the steps:

  • Enable one of the feature flags: Feature.enable_percentage_of_time(:learn_gitlab_b_experiment_percentage, 100)
  • Signup with a new user
  • Go to the "Learn Gitlab" or any other project
  • Click on "Learn Gitlab"

Part of: #321239 (closed)

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Nicolas Dular

Merge request reports

Loading