Add free access end date to Code Suggestions non-owner banner
What does this MR do and why?
Related to #434194
Add final sentence to banner copy: (Code Suggestions transitions to a paid feature on February 15, 2024.)
behind a feature flag to have exact control of when to show it.
Also take care of minor copy update from #435411 (closed)
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
Setup feature flags
Feature.enable(:code_suggestions_ga_non_owner_alert)
Feature.enable(:code_suggestions_ga_non_owner_alert_end_date)
Feature.enable(:ai_assist_ui)
Feature.enable(:ai_assist_flag)
- Setup GDK to simulate SaaS.
- Login as Admin and set a public group to 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 non-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
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Roy Liu