Code Suggestions GA alert for owners
What does this MR do and why?
Serve a in-app message to group owners of existing paid namespaces announcing the coming end of the Code Suggestions beta and provide paths to purchase the add-on.
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.
Screenshots or screen recordings
https://gitlab.com/gitlab-org/gitlab/-/issues/430135#design
How to set up and validate locally
Setup feature flags
Feature.enable(:code_suggestions_ga_owner_alert)
Feature.enable(:ai_assist_ui)
Feature.enable(:ai_assist_flag)
- Setup GDK to simulate SaaS.
- Login as Admin and set a public group use EE plan that is not trial with instructions point 3 here
- On the group's admin page:
http://gdk.test:3000/admin/groups/<group_name>
, pick a owner group member to impersonate and view the group and projects in it to interact and observe the alert.
To clear user callout to show alert again, run ::Users::Callout.last.destroy
Related to #430135
Edited by Serhii Yarynovskyi