Skip to content

Cube Query Rendering Widget - Single Stat

What does this MR do and why?

This is the initial MR that adds the functionality to render cube queries using the single stat component as described in #382909 (closed).

This product analytics feature is in Alpha and hidden behind a default off feature flag. It is not intended for customers so the UX may appear a bit rough, this will be improved in Cube Query Rendering - Improve panel responsive... (#385181 - closed) before we start demoing this to customers.

This MR is needed to build the following internal preview dashboards:

Screenshots or screen recordings

image

How to set up and validate locally

  1. Make sure you are on GitLab Ultimate
  2. You need to set up the Product Analytics DevKit if you haven't already done so. And follow the instructions on Connecting GDK to your devkit.
  3. Visit the Overview dashboard page of the configured project: [GDK_HOST]/gitlab-org/gitlab-shell/-/product_analytics/dashboards/dashboard_overview.
  4. The single-stat widget should render with the pageview count.

MR acceptance checklist

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

Edited by Jiaan Louw

Merge request reports