Skip to content

Improve show/hide conditions for analytics natural language querying UI

What does this MR do and why?

Improves the conditions checked for showing/hiding the product analytics visualization designer natural language querying.

We now use the same project policy rule as the backend to ensure backend/frontend stay in sync.

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

No visual differences.

How to set up and validate locally

  1. Follow these instructions to setup Product Analytics in GDK.
  2. Onboard a project with Product Analytics by setting up the feature at Project > Analytics > Analytics dashboards.
  3. Navigate back to Project > Analytics > Analytics dashboards and click on Visualization designer at the top right.
  4. Verify "Generate with Duo" UI does not show on the visualization designer
  5. Enable cube query generation as per instructions on this MR: !140277 (merged)
  6. Verify that the UI now shows up correctly

Related to #440885 (closed)

Edited by Elwyn Benson

Merge request reports