Skip to content

Implement the AI impact analytics dashboard table visualization

Alex Pennells requested to merge 451482-build-ui into master

What does this MR do and why?

The table visualization will now load the relevant data and render the table on completion.

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

Screenshot_2024-04-08_at_3.28.45_PM

How to set up and validate locally

  1. Ensure you have clickhouse configured
  2. Enable the feature flags
# enables the UI table
Feature.enable(:ai_impact_analytics_dashboard) 

# enable clickhouse
Feature.enable(:clickhouse_data_collection)
Feature.enable(:event_sync_worker_for_click_house)

# enable the worker to sync code suggestions events to clickhouse
Feature.enable(:code_suggestion_events_in_click_house)
  1. Seed data for the table, using the seeder in Add fixtures for code suggestion usage (!149042 - merged)
  2. Visit the groups analytics dashboard page: (ex. http://gdk.test:3000/groups/flightjs/-/analytics/dashboards)
  3. Click the AI impact dashboard and validate that the metrics load as expected
  4. Visit the projects analytics dashboard page: (ex. http://gdk.test:3000/flightjs/Flight/-/analytics/dashboards)
  5. Repeat step 3

Some troubleshooting tips available in https://gitlab.com/-/snippets/3697845

Related to #451482 (closed)

Edited by Ezekiel Kigbo

Merge request reports