-
Notifications
You must be signed in to change notification settings - Fork 8k
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
[Security Solution] Fix error messages on Rule Details page taking too much space #154555
[Security Solution] Fix error messages on Rule Details page taking too much space #154555
Conversation
❌ Author of the following commits did not sign a Contributor Agreement: Please, read and sign the above mentioned agreement if you want to contribute to this project |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @nikitaindik |
Summary
When a large "last execution" error message is displayed on Rule Details page it takes too much vertical space:
https://user-images.githubusercontent.com/2946766/214444343-dde0d9cd-6bc7-4aca-a6cf-07891d206888.png
This PR sets max-height for the error callout and adds vertical/horizontal scrolling. It also adds a button to copy the error message content to clipboard.
![Screenshot 2023-04-15 at 13 26 55](https://user-images.githubusercontent.com/15949146/232212201-97c4f70e-a5a2-4727-bd46-e7ee8019840a.png)
Another addition is a button to expand a row in the Execution Log to view / copy a full error message.
![Screenshot 2023-04-15 at 12 55 10](https://user-images.githubusercontent.com/15949146/232211578-f8ad02e9-3e4c-41dd-9078-f73306eee487.png)
Checklist
For maintainers