Skip to content

Add utils and constants for the AI impact dashboard

Alex Pennells requested to merge 451482-frontend-utils into master

What does this MR do and why?

Adds utils and constants for the currently in-development AI impact dashboard. This MR adds a lot of the files that will be necessary to render the table. I wanted to have them reviewed first to reduce the size of the final MR, which will add the table component.

Items added in this change:

  • GraphQL queries for the table
  • Constants that define the table structure
  • Util functions to generate the table columns, rows and loading skeleton

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

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

yarn jest ee/spec/frontend/analytics/dashboards

Related to #451482 (closed)

Merge request reports