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/assets
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
..
css Improve print dashboard css (#3754) 3 years ago
js Filtering by multiple custom properties (#3719) 3 years ago
.eslintrc.json Prepare base for the funnel PRs merge (#2993) 4 years ago
.prettierignore 1. Remove the "airbnb" eslint plugin since it conflicts with prettier (#1374) 5 years ago
.prettierrc.json Fix svg favicons (#2295) 4 years ago
.stylelintrc.json Add eslint, stylelint, prettier, and pre-commit (#484) 6 years ago
package-lock.json Simplify asset building (#3459) 3 years ago
package.json Simplify asset building (#3459) 3 years ago
tailwind.config.js Simplify asset building (#3459) 3 years ago