-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[TableListView] Listing page search ignores special characters without warning #151120
Comments
Pinging @elastic/kibana-presentation (Team:Presentation) |
Pinging @elastic/appex-sharedux (Team:SharedUX) |
I wonder how much on the EUI side this issue is and what we can actually do in Kibana. I'll have a look 👍
@dej611 I'll look into it. I think we should require that at least 2 or 3 characters be inserted before triggering the search. Would that work? |
As long as the user is hinted about adding more chars it's ok for me |
Looking at this issue to see how we can improve the search experience. From what I understand from this PR elastic/eui#7175 we have a limitation on the chars allowed when doing an EQL query (with filters). |
There has never been a tooltip around error icons in EUI form controls - are you referring to the native browser
That's somewhat inferrable in the Currently, any special character outside This is actually a bit stricter than EQL necessitates, as the only characters that EQL explicitly requires for syntax purposes are If you feel strongly that the increased UX outweighs any potential bugs or crashes we might run into with EQL parsing, we could modify the default syntax parser to parse any character that is not the above characters as a word. It is worth mentioning that the special characters in this issue description do work just fine with double quotes, so Kibana could theoretically also handle double quoting under the hood: |
Thanks for the input @cee-chen ! I ended up fixing this issue by hardcoding the list of forbidden characters and display hint when one is entered (#197307).
That's good to know. Although it seems like that the parsing from the input element is immediately done by the EUI component and we get the error in the listener after. |
Kibana version: 8.7.0 BC1
Describe the bug:
The Listing page seems to support also special characters search, but unsupported chars are not always documented correctly.
Example on unsupported special char and relative warning:
But using
[
or]
leads to no results and no warning ( I've seen the[ some tag ]
convention used something as dashboard names, even on sample data):But there are dashboard with names containing the
[ ... ]
convention:Adding a non-special char to the search box makes the search be performed correctly instead:
The text was updated successfully, but these errors were encountered: