Skip to content

Add `Beta` badge to customizable analytics dashboards

Alex Pennells requested to merge 452424-add-to-ui into master

What does this MR do and why?

This was branched off of this MR in order to safely deploy the GraphQL changes.

For customizable analytics dashboards, render a Beta badge when status: beta is set in the dashboard YAML config. The badge will appear on both the list view and individual dashboard view.

The Beta badge was also added to the AI impact analytics dashboard.

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

Before After
Screenshot_2024-04-17_at_3.09.34_PM Screenshot_2024-04-17_at_3.04.23_PM
Screenshot_2024-04-17_at_3.09.23_PM Screenshot_2024-04-17_at_3.04.44_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Enable the AI impact analytics dashboard FF
Feature.enable(:ai_impact_analytics_dashboard)
  1. Navigate to the analytics dashboards list for a group
http://gdk.test:3000/groups/flightjs/-/analytics/dashboards/
  1. Verify that the Beta badge renders for the AI impact dashboard, but not the Value Streams Dashboard

Related to #452424 (closed)

Edited by Alex Pennells

Merge request reports