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:
- Internal Preview Dashboard - Behavior (#382916 - closed)
- Internal Preview Dashboard - Audience (#382915 - closed)
Screenshots or screen recordings
How to set up and validate locally
- Make sure you are on GitLab Ultimate
- 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.
- Visit the Overview dashboard page of the configured project:
[GDK_HOST]/gitlab-org/gitlab-shell/-/product_analytics/dashboards/dashboard_overview
. - 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jiaan Louw