Add required yAxis `type` to visualization designer
What does this MR do and why?
This MR updates the visualization designer, so it adds the required type
field to the yAxis
options.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
Set up
- Follow these instructions to setup Product Analytics in GDK.
- You will need to make sure to enable the
combined_analytics_visualization_editor
andcombined_analytics_dashboards_editor
feature flags from the instructions.
- You will need to make sure to enable the
- Onboard
Product Analytics
by setting up the feature at Project > Analytics > Analytics dashboards. - Follow the custom dashboards banner instructions to enable custom dashboards.
- View the dashboard listing at Project > Analytics > Analytics dashboards.
Testing the visualization designer
- Click the Visualization Designer button.
- Select various measures and visualization types, and each time confirm that:
- The visualization renders under the Data and Visualization tabs.
- The visualization query has
"type": "value"
under theyAxis
options in the Code tab.
- Enter a visualization name and save the visualization.
Testing the dashboard
- Go back to the dashboard listing.
- Click the New dashboard button.
- Enter a dashboard name and select your custom-made visualization.
- Verify it renders without errors and save your dashboard.
- Verify the custom-made visualization renders on the saved dashboard and works with the date range filter as expected.
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.
Related to #423050 (closed)
Edited by Robert Hunt