In-product announcement to support code suggestions beta

We need an in-product solution to announce that code suggestions is available in beta. There is a need to have a solution ready as early as next week as possible.

Note: We previously used a broadcast message to try this and it was a sub-optimal solution. Before we can improve broadcast message as a feature we don't feel confident in using it again. This issue is meant to explore the weight/effort in just developing a one-off banner

Requirements

  • in-app notification should appear on group overview, sub-group and project pages for the parent-level group namespace
  • in-app notification should appear for all roles in-app notification should only appear in parent level namespaces, sub-groups and projects that are located within a group
  • in-app notification should only appear on .com
  • in-app notification should be dismissible
  • in-app notification should be turned off when the beta program ends
  • in-app notification should dismiss once the user has enabled the code suggestions feature at the user level
  • in-app notification should be controlled by a feature flag
  • Clicking notification CTA button directs user to https://gitlab.com/-/profile/preferences (anchored to Code Suggestions)
  • Clicking copy links direct user to https://docs.gitlab.com/ee/user/project/repository/code_suggestions.html#enable-code-suggestions-in-vs-code

Copy

Edited by Gayle Doud