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
- Follow these instructions to setup Product Analytics in GDK.
- Onboard a project with
Product Analytics
by setting up the feature at Project > Analytics > Analytics dashboards. - Navigate back to Project > Analytics > Analytics dashboards and click on
Visualization designer
at the top right. - Verify "Generate with Duo" UI does not show on the visualization designer
- Enable cube query generation as per instructions on this MR: !140277 (merged)
- Verify that the UI now shows up correctly
Related to #440885 (closed)
Edited by Elwyn Benson