Skip to content

Improve UI for natural language querying in visualization designer

What does this MR do and why?

Improves the UI for the natural language querying flow within the product analytics visualization designer.

  • Adds "Experiment" badge
  • Add descriptive paragraph
  • Update button styling
  • Change example placeholder prompt
  • Caps textarea at 30% width inline with existing inputs

Note that error handling and form validation will follow in a future MR.

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

Before After
image image
image image (Loading)
image (Experiment badge open. Note: this badge + popup is an existing shared component)
image image (large size display)
responsive-inputs

How to set up and validate locally

Apply setup steps for backend MR this one depends on:

Then:

  1. Follow these instructions to setup Product Analytics in GDK.
  2. Onboard Product Analytics by setting up the feature at Project > Analytics > Analytics dashboards.
  3. Visit the visualization designer at Project > Analytics > Analytics dashboards > Visualization designer.
  4. Enter ai prompts in the new UI

Related to #435786 (closed)

Edited by Elwyn Benson

Merge request reports