Skip to content

Draft: Reenable tooltips in VSD sparkline chart

Rudy Crespo requested to merge 391739-vsd-add-tooltips-to-sparkline-chart into master

What does this MR do and why?

Reenables pointer events on the table cell containing the sparkline chart in the Value Streams Dashboard so that tooltips can appear on hover.

Screenshots or screen recordings

Before After
Screen_Recording_2023-03-08_at_12.05.11_PM Screen_Recording_2023-03-08_at_12.04.15_PM

How to set up and validate locally

  • Seed cycle analytics data
  • Create an environment from the UI named production
  • Open the rails console
    $ rails c
  • Seed DORA daily metrics in the environment using the new environment
    // Within the rails console
    e = Environment.order(:id)[-1]
    100.times { |i| Dora::DailyMetrics.create(environment_id: e.id, date: (i + 1).days.ago, deployment_frequency: rand(50), incidents_count: rand(5), lead_time_for_changes_in_seconds: rand(50000), time_to_restore_service_in_seconds: rand(100000)) }
  • Enable the Exec dashboard
    Feature.enable(:group_analytics_dashboards_page)
  • Visit the exec dashboard: http://gdk.test:3000/groups/${YOUR_GROUP}/-/analytics/dashboards

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #391739 (closed)

Edited by Rudy Crespo

Merge request reports