-
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
Fixing leading or trailing whitespace in exception entries #138904
Fixing leading or trailing whitespace in exception entries #138904
Conversation
@elasticmachine merge upstream |
Pinging @elastic/security-solution (Team: SecuritySolution) |
1b74390
to
6a907f3
Compare
@elastic/security-docs the following UI text has been added to this PR and needs review: This will PR will likely be merged in 8.5 or later. @WafaaNasr will confirm the release it's scheduled for :) |
It should be for the 8.5 release :) |
@elasticmachine merge upstream |
1 similar comment
@elasticmachine merge upstream |
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.
Tested on cloud, LGTM!
@WafaaNasr here are some revisions for your consideration:
One thing to note: I think this warning message is appropriate for the exception editor, but I don't think it works for the exceptions list-- especially if multiple values are specified for a field. For the exceptions list, something like the following would be more appropriate:
@joepeeples I could actually use your thoughts on this. Here's some background for the warning: With this message, we're aiming to inform users that a value they’ve entered or selected has one or more empty spaces (whitespaces) at the front/end of it. A major reason we’re sharing this information is because an EUI component visually cuts off extra spaces before/after the value once you enter it. This means the extra spaces will remain present in the exception query after you save it, you just won’t be able to see them when building the exception or viewing it (after you’ve saved it). A couple of other things to note:
Exception editor |
…d_value_wildcard + translations
…d_value_wildcard + translations
…r-trailing-whitespace-exception
@elasticmachine merge upstream |
…ttps://github.com/WafaaNasr/kibana into fix/83645-leading-or-trailing-whitespace-exception
@elasticmachine merge upstream |
💔 Build FailedFailed CI StepsMetrics [docs]Module Count
Public APIs missing comments
Async chunks
History
To update your PR or re-run it, just comment with: cc @WafaaNasr |
@elasticmachine merge upstream |
Addresses #83645
Field, the value doesn't get cleared out=> will create a bug for it
Summary
In Exception screen, showing a helper text message to warn the users when they enter a value(s) contain spaces
Checklist
Testing only two operators
is
andmatches
Screen.Recording.2022-08-16.at.14.43.26.mov
Showing Info Icon in the Exception Viewer
Screen.Recording.2022-08-26.at.18.19.16.mov