analytics/assets
Karl-Aksel Puulmann 604dde99fd
APIv2: Regex operations, consistent operators (#4488)
* Rename matches/does_not_match filters internally

These have never been exposed to the frontend/user directly, only via
APIv1 filtering syntax. As such we are free to rename these without
breaking things

* Rename function arguments for consistency, simplify

* Add support for `match`/`not_match` operators for query apiv2

These match the string against a regular expression, as defined in
https://github.com/google/re2/wiki/Syntax

* not_match -> match_not

* does_not_contain -> contains_not

Note that for backwards compatibility:
- Browser handles does_not_contain in URL
- Backend will handle does_not_contain in queries for a day where we will remove it for better autocompletion

* not_matches_wildcard -> matches_wildcard_not

* prettier

* match -> matches

* Fix and test fix for matches_wildcard against prop when prop is missing

* Custom properties support for matches/matches_not

* Restore contains_not

* Test contains and contains_not behavior for custom properties
2024-09-09 10:05:24 +03:00
..
css Add Typescript (#4427) 2024-08-13 11:39:35 +03:00
js APIv2: Regex operations, consistent operators (#4488) 2024-09-09 10:05:24 +03:00
test-utils Add tests for FE date calculations, fix niggles with site context (#4471) 2024-08-28 11:14:29 +03:00
.eslintrc.json Add testing framework (#4440) 2024-08-15 12:27:22 +03:00
.prettierignore 1. Remove the "airbnb" eslint plugin since it conflicts with prettier (#1374) 2021-10-11 14:48:19 +02:00
.prettierrc.json Add Typescript (#4427) 2024-08-13 11:39:35 +03:00
.stylelintrc.json Update assets dev dependencies 2024-08-12 09:39:25 +03:00
jest.config.json Add testing framework (#4440) 2024-08-15 12:27:22 +03:00
package-lock.json Bump micromatch from 4.0.7 to 4.0.8 in /assets 2024-08-26 16:33:32 +03:00
package.json Adds types to dashboard query, makes keybinds route specific 2024-08-26 15:14:02 +03:00
tailwind.config.js Add Typescript (#4427) 2024-08-13 11:39:35 +03:00
tsconfig.json Update Typescript config and add typecheck to CI 2024-08-21 12:40:22 +03:00