Add invite realtime update to get started page
What does this MR do and why?
Additions
- adds realtime update once invite is finished to mark the task, progress bar and sidebar percentage as update
- adds invite success alert
Fixes
-
sidebar realtime update for learn gitlab sidebar fixed
- Fix super sidebar update for learn gitlab when ... (!133495 - merged) was original feature
- Unselected advanced search facets not loading a... (!134401 - merged) caused a regression
- this restores that functionality for learn gitlab and adds for get started with enhanced tests to ensure we don't risk regression again.
-
resolves a few rubocop exceptions in related files
-
see https://gitlab.com/gitlab-org/gitlab/-/issues/537653 and specifically https://gitlab.com/gitlab-org/gitlab/-/work_items/540437
Screenshots or screen recordings
| invite alert | invite alert mobile | invite video |
|---|---|---|
![]() |
![]() |
Screen_Recording_2025-05-08_at_1.03.22_PM |
How to set up and validate locally
- Setup gdk to simulate SaaS - https://docs.gitlab.com/ee/development/ee_features.html#simulate-a-saas-instance and restart GDK
- In rails console enable the feature flag
Feature.enable(:learn_gitlab_redesign) - Create a new group and project.
- In rails console, onboard that group that was just created
::Onboarding::Progress.onboard(Group.last) - In the gitlab admin UI, edit the group to be on an ultimate trial plan(edit button from
http://gdk.test:3000/admin/groups) - In rails console(
bundle exec rails c), change the trial, trial start and end date for the groupGroup.last.gitlab_subscription.update_columns(trial_starts_on: Date.today, trial_ends_on: 30.days.from_now, trial: true) - Go to the get started path for the group/project: For instance,
http://gdk.test:3000/logan225-group/logan225-project/-/get_started - Expand
Configure a project - Click
Invite your colleaguesand invite a user.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #537653
Edited by Doug Stull

