You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test/plausible_web/controllers/api/stats_controller
Karl-Aksel Puulmann 1cb7982cd9
Filtering by multiple custom properties (#3719)
* WIP: PropFilterRow

* Get multi-behavior working

* Render multiple prop filters in one

* Modal reads from query string correctly

* Backend support for multiple custom property filters

* Add backend tests for multiple custom property filters

* Disable already selected options in property keys

We can't allow choosing the same property multiple times without changing the request
params, which we decided against

* Allow choosing any property under Behaviors > Custom props even if custom prop filter applied

This was a limitation (I believe) introduced by using ARRAY JOINs to query custom properties

* CHANGELOG.md

* Solve credo warning about too deep nesting

* Update assets/js/dashboard/stats/modals/prop-filter-modal.js

Co-authored-by: RobertJoonas <56999674+RobertJoonas@users.noreply.github.com>

* Refactor internal function for clarity

* Add another step -> Add another

* Solve 500 error

* Separate boxes per property filter

* Retain other filters in props table

* removeFilter behavior for props

* matches_member support for custom props

* filter_suggestions for prop keys should account for prop filter

* find over filter

* refactor appliedFilters

* FILTER_TYPES => FILTER_OPERATIONS

* Make add another link not wrap the whole page

* Unique keys

---------

Co-authored-by: RobertJoonas <56999674+RobertJoonas@users.noreply.github.com>
3 years ago
..
authorization_test.exs Google APIs integration improvements (#2358) 4 years ago
browsers_test.exs Add Browser/Version breakdown to CSV (#3599) 3 years ago
cities_test.exs Reject unknown imported cities from queries (#2675) 4 years ago
conversions_test.exs Escape special regex characters (#3634) 3 years ago
countries_test.exs Props details view (#3196) 3 years ago
current_visitors_test.exs Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 4 years ago
custom_prop_breakdown_test.exs Filtering by multiple custom properties (#3719) 3 years ago
funnels_test.exs Add small build option (#3536) 3 years ago
main_graph_test.exs Fix weekly interval bug (#3686) 3 years ago
operating_systems_test.exs Props details view (#3196) 3 years ago
pages_test.exs Filtering by multiple custom properties (#3719) 3 years ago
regions_test.exs Prevent crashes on ambiguity when casting timezones (#3663) 3 years ago
screen_sizes_test.exs Props details view (#3196) 3 years ago
sources_test.exs Parse referrer filter value when passed separately (#3742) 3 years ago
suggestions_test.exs Filtering by multiple custom properties (#3719) 3 years ago
top_stats_test.exs Small build updates (#3546) 3 years ago