Resolve "Frontend: Add 'New' badge to secrets manager nav item"

What does this MR do and why?

This MR adds a 'New' badge to the Secrets Manager navigation menu item. The requirements are for this badge to show until a user navigates to the page, and then it is dismissed. It should also go away 30 days after release.

Heavily inspired by !222023 (merged)

References

https://gitlab.com/gitlab-org/gitlab/-/work_items/602074 !222023 (merged)

Screenshots or screen recordings

image

How to set up and validate locally

  1. Make sure your gdk is not running on SaaS mode.
  2. Upload a Premium license (or above).
  3. Set up openbao and enable the secrets manager on your gdk.
  4. Enable the following feature flags: secrets_manager, group_secrets_manager, secrets_manager_instance_enrollment, `secrets_manager_paid_experience'
  5. Observe the 'New' badge on the navigation menu item, and that it goes away after navigating to the page (requires a refresh).

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #602074

Merge request reports

Loading