analytics/test/plausible_web/controllers/api
RobertJoonas caeff41932
Prop filter modal (#2841)
* Add PropFilterModal (only UI)

* small variable refactor

* allow selecting prop value filter type

* allow selecting only one prop_key

* allow selecting many prop_values only when prop_key selected

* handle submitting filter

* get applied filters from query + remove option

* change prop filter label format

* support member and not_member filter types for pageview props

* show (none) value in filter suggestions

* refactor zip_results/4 and remove unused code

* fix displaying (none) values in goals section prop breakdown

* remove unnecessary functionality

* fix bug: returning prop names for goal :member filter

* fix bug: submitting regular filter modal with Enter key

* bugfix: disallow opening prop filter modal when feature flag disabled

* mix format

* break selected combobox values into multiple lines

* fix useEffect behavior for focusing on prop_key field

* support submitting prop filter with Enter key

* refactor getFormState in PropFilterModal

* separate fetchPropKey and fetchPropValue functions

* Allow querying props for pageview goals

* Make the internal props API only return a list of props (not map)
* Separate function for fetching all props in Stats API goal breakdown (this returns a map as before)

* ditch state for keeping search bar visible

* group by event_name in db query
2023-04-27 14:09:33 +03:00
..
external_stats_controller Prop filter modal (#2841) 2023-04-27 14:09:33 +03:00
stats_controller Prop filter modal (#2841) 2023-04-27 14:09:33 +03:00
external_controller_test.exs Clean up after V2 migration (#2868) 2023-04-24 12:17:57 +02:00
external_sites_controller_test.exs Clean up after V2 migration (#2868) 2023-04-24 12:17:57 +02:00
internal_controller_test.exs Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 2023-03-27 13:52:42 +02:00
paddle_controller_test.exs Run tests in async mode where applicable (#2542) 2022-12-26 10:20:29 -03:00