Skip to content

Cleanup code for AI impact dashboard

Alex Pennells requested to merge 455343-ai-impact-cleanup into master

What does this MR do and why?

Some code cleanup leftover from !148886 (merged), which was merged quickly due to time sensitivity

Changes:

  • Use dasherize
  • Create extractAiMetricsData helper
  • Simplify generateDateRanges helper
  • Remove start/end dates from change column

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.

How to set up and validate locally

yarn jest /Users/pebbz/GitLab/gitlab-development-kit/gitlab/ee/spec/frontend/analytics/dashboards/ai_impact

Related to #455343 (closed)

Merge request reports

Loading