-
Notifications
You must be signed in to change notification settings - Fork 8.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
[Security Solution][Detections] fixes various timeline components issues #135907
Conversation
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
@@ -27,11 +27,11 @@ const StyledEuiFieldText = styled(EuiFieldText)` | |||
|
|||
// To match EuiFieldText focus state | |||
&:focus { | |||
background-color: #fff; | |||
background-color: ${({ theme }) => theme.eui.euiFormBackgroundColor}; |
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.
👍🏾
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.
Thanks for making the changes!
...plugins/security_solution/public/timelines/components/timeline/selectable_timeline/index.tsx
Outdated
Show resolved
Hide resolved
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.
Checked out, tested fixes locally, and code LGTM! 👍 Thank you so much for all these fixes @vitaliidm -- this component definitely feels quite a bit better now 🙂
In testing I did end up finding one more bug (see comment), but I think I there's a fix for it too if you want to include it here. 🎉
…imeline/selectable_timeline/index.tsx Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
Thanks for the suggestion @spong. Will include it here, it feels much nicer as in terms of user experience |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @vitaliidm |
Summary
Addresses: #128740
1. Responsiveness
Before
After
2. Focus
Before
After
Screen.Recording.2022-07-08.at.16.57.48.mov
3. Clicking on "favorite star"
Before
After
Screen.Recording.2022-07-08.at.16.57.48.mov
Haven't found way to mitigate this, but anyway it doesn't impact heavily user experience or causes significant impact. So, I left it as it is.
4.Search bar placeholder text
Before
After
More details on trimming of placeholder here
![Screenshot 2022-07-11 at 18 29 01](https://user-images.githubusercontent.com/92328789/178323118-d2c437fd-6027-4ac0-bb42-532d524ac8db.png)
Checklist
Delete any items that are not applicable to this PR.
For maintainers
Release note
fixes multiple small issues with timeline template selector used on rule edit page and bulk edit