-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make "Details" search case insensitive #4806
Conversation
a0060b8
to
0384cda
Compare
|
1289b1e
to
632f18a
Compare
This is done by introducing `icontains` and `icontains_not` filter variants, so that no unexpected behaviour is accidentally triggered. Dashboard searches for: - top/entry/exit pages - cities - conversions - sources (including UTM) - props - devices use `icontains` explicitly.
632f18a
to
12eef49
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very good to me.
There is a docs PR cross-referenced here |
Yep, good work! Realized as soon as I scrolled up :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the Filters RFC we designed for a case sensitivity modifier (see example nr 3) for filters.
I still think that's the preferred solution because it will prevent the explosion of possible filter operators. If we have case-insensitive contains
and contains_not
then it would also make sense to have a case-insensitive is
, is_not
, matches
, matches_not
, and in the future stuff like starts_with
, starts_with_not
, ends_with
, ends_with_not
, etc.
@ukutaht ah OK, this is much heavier lifting then, potentially involving more URL/linking quirks. I'll drop this for now. |
This is done by introducing
icontains
andicontains_not
filter operator variants, so that no unexpected behaviour is accidentally triggered.Dashboard searches for:
use
icontains
explicitly.Tests
Changelog
Documentation
Dark mode