-
Notifications
You must be signed in to change notification settings - Fork 1
Feature: Add filters using &&
or ||
in strings.
#105
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
Conversation
&&
or ||
in strings.&&
or ||
in strings.
…ression, not each individual sub-expression.
Ah, the logic was flawed. I was applying the "does containt/does not contain" logic to subclause. Please try again and see if this fixes it. c1ec735
This has been fixed with 5342dec |
&&
or ||
in strings.&&
or ||
in strings.
That works, thanks! Helped me notice another (maybe new?) issue though. If you type a filter for a string, and then switch contains to --, the filter text should be removed, right? It does not. Then if you switch -- back to contains it is not recognizing the text immediately. Though if you add to it by a letter, it then functions as expected. |
I also just noticed that markdown fields do not appear in the filters, but would assume they appear / use the same functionality as strings. Sorry I didn't catch that before. |
…will wrap on narrower screens.
…only used "=" appears first.
…ND values in filters.
… state is retained when expanding or collapsing the FiltersPanel
Sorry about that. We actually had that fixed previously, but then another bug was introduced where the cursor position was being lost with state updates (Kalani's issue from a few weeks ago). This should be fixed now.
Oops. Good catch. Markdown fields just use strings to work. But I had to explicitly add support for filters. Should be fixed with cb3e3d0 In addition:
|
@jdanish Did you want to add help text in the "More...> Help" panel for using |
Debating, so leave it to me. Thanks! |
@benloh looks good - go ahead and merge when you are ready! |
See #83
Adds ability to define string filters that use
&&
or||
in strings.For example:
A few notes:
scuba &&
will return true for any nodes that have "scuba", but typingscuba ||
will match ALL nodes since the blank is always true.