Skip to content

Move disabled message to helper in LearnGitlab

Hinam Mehra requested to merge add-default-disabled-message-learn-gitlab into master

What does this MR do and why?

  • This is a small code refactor to ensure that different Learn GitLab links can have different disabled messages instead of 1 static one.
  • Resolves #360000 (closed)

Screenshots or screen recordings

No changes visually

How to set up and validate locally

  1. Simulate GitLab SaaS with the following command restart GDK
export GITLAB_SIMULATE_SAAS=1
  1. Sign-up as a new user (http://localhost:3000/users/sign_up). You will be taken through the onboarding flow straight through to the Learn GitLab project.

  2. Invite another user as a Guest to the Learn GitLab project

invite
  1. Log-in as the 2nd user and navigate to the Learn GitLab project.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Hinam Mehra

Merge request reports