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
- Header: Get started with Code Suggestions, available for free during the beta period.
- Body: Code faster and more efficiently with AI-powered code suggestions in VS Code. 13 languages are supported, including Javascript, Python, Go, Java, and Kotlin. Enable Code Suggestions in your [user profile preferences](https://gitlab.com/-/profile/preferences) or [see the documentation] to learn more.
- Primary CTA button: Enable Code Suggestions
- CTA directs user to: https://gitlab.com/-/profile/preferences
- links in body:
Edited by Gayle Doud