Skip to content

Update logic calculation for 'Add code' step on Learn GitLab

What does this MR do and why?

With a new column of code_added_at added to the onboarding_progresses table, the logic to register and check for Add code task completion in Learn GitLab is updated.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

To land in Learn GitLab:

  1. Setup to simulate SaaS and restart GDK.
  2. Register as a new user
  3. Select any 'role' and 'Just me' in the welcome form after sign up step
  4. Choose 'Create a new project'
  5. Click 'Continue'
  6. Fill out fields to create a group and project on the next page.
  7. Click 'Create project'
  8. Verify you get to the onboarding and page refreshes to provide a "Ok, let's go" button.
  9. Click on "Ok, let's go" and verify you are dropped into the learn gitlab project and the celebrate modal pops up with confetti

To verify the Add code task completion, create a branch in the project or commit something like editing the README file or commit a .gitlab-ci.yml using pipeline editor.

Related to #434516 (closed)

Edited by Roy Liu

Merge request reports