Feature flag and scaffolding for product analytics visualization designer filter overhaul
Problem to solve
Initial part of the filtering overhaul for the product analytics visualization designer: Add support for filtering by pre-defined dimens... (&13685)
Add a feature flag to enable development of the new filtering UI.
Add initial component structure to allow collaborating on the next parts of the implementation.
Adds initial "measure" token to demonstrate data binding for token.
Implementation plan
- create new
wip
feature flag:visualization_designer_filtering
- expose the flag to the frontend
- when enabled:
- hide the existing measure selector, dimension selector ui
- render a new filter component (within the
<query-builder>
, so it has access to data and fns from the cube client)- new component should render a minimal
<gl-filtered-search>
- new component has a minimal "measure" token to demonstrate data binding
- new component receives
query
prop, to allow setting filter state from existing query (e.g. generated via Duo). Query is mapped to tokensvalue
structure - when "measure" token is changed, component emits an updated
query
(mapped back from tokensvalue
)
- new component should render a minimal
- add initial tests
Edited by Elwyn Benson