Skip to content

Add alert for trial owner indicating they can have unlimited users

What does this MR do and why?

Related to #395129

This MR modifies the alert for trial namespace owner on the Group and Project members page (implemented here: !110748 (merged)) to display on all pages in the context of group and project.

A button to trigger invite member modal is also added to the alert when it is showing on pages other than the members page.

Screenshots or screen recordings

Members page
Screenshot_2023-04-03_at_3.07.35_PM
Other pages
Screenshot_2023-04-05_at_5.19.30_PM

How to set up and validate locally

  1. Launch local GDK to simulate saas
  2. Navigate to any group and project under the namespace owned by the signed-in user

Note: To skip setting up trial for a namespace locally, go to the file ee/app/helpers/ee/users/group_callouts_helper.rb and replace group.trial_active? with true.

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 Roy Liu

Merge request reports