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/js/dashboard
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
..
components Filtering by multiple custom properties (#3719) 3 years ago
extra Partially revert #3661 - just keep the real errors wrapped, but don't display anything to the user (#3677) 3 years ago
stats Filtering by multiple custom properties (#3719) 3 years ago
util Filtering by multiple custom properties (#3719) 3 years ago
api.js Partially revert #3661 - just keep the real errors wrapped, but don't display anything to the user (#3677) 3 years ago
comparison-consumer-hoc.js Adds Main Graph Metric Selection (#1364) 5 years ago
comparison-context.js Adds Main Graph Metric Selection (#1364) 5 years ago
comparison-input.js Fix calendar picker for comparisons on small screens (#3669) 3 years ago
comparison-provider-hoc.js Adds Main Graph Metric Selection (#1364) 5 years ago
datepicker.js Update Tailwind to latest v3.3.3 (#3320) 3 years ago
error-boundary.js Adds dark mode to entire dashboard (#467) 6 years ago
fade-in.js Additional pre-commit hooks (#1428) 5 years ago
filters.js Filtering by multiple custom properties (#3719) 3 years ago
historical.js Simplify asset building (#3459) 3 years ago
index.js Make the ListReport component more flexible (#3078) 3 years ago
keybinding.js Support multiple filters - frontend (#2773) 4 years ago
pinned-header-hoc.js Add fallback if InteractionObserver is unavailable 5 years ago
query.js Filtering by multiple custom properties (#3719) 3 years ago
realtime.js Simplify asset building (#3459) 3 years ago
router.js Fix filter labels when filtering on clicks from ModalTable (#3247) 3 years ago
site-switcher.js Fix domains that start with UTF character (#3560) 3 years ago