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
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
..
CSVs Add Browser/Version breakdown to CSV (#3599) 3 years ago
api Filtering by multiple custom properties (#3719) 3 years ago
auth_controller Remove custom domains support + update build options (#3559) 3 years ago
site Clean up legacy trials code + displaying limits (#3620) 3 years ago
admin_auth_controller_test.exs Remove custom domains support + update build options (#3559) 3 years ago
admin_controller_test.exs New admin route for displaying usage (#3577) 3 years ago
auth_controller_sync_test.exs Always enable e-mail verification on full build (#3666) 3 years ago
auth_controller_test.exs Rate limit e-mail changes (#3667) 3 years ago
avatar_controller_test.exs Remove custom domains support + update build options (#3559) 3 years ago
billing_controller_test.exs Make `hello@plausible.io` clickable (#3746) 3 years ago
error_report_controller_test.exs Remove custom domains support + update build options (#3559) 3 years ago
invitation_controller_test.exs Move limit enforcement to accepting site ownership transfer (#3612) 3 years ago
page_controller_test.exs Remove custom domains support + update build options (#3559) 3 years ago
site_controller_test.exs Extract Universal Analytics import logic (#3700) 3 years ago
stats_controller_test.exs Add `custom_props.csv` back to CSV export for Growth plans (#3656) 3 years ago
unsubscribe_controller_test.exs Remove custom domains support + update build options (#3559) 3 years ago