[Logs UI] Add single phrase highlighting#39569
Conversation
|
Pinging @elastic/infra-logs-ui |
💚 Build Succeeded |
💚 Build Succeeded |
💚 Build Succeeded |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
This comment has been minimized.
This comment has been minimized.
💚 Build Succeeded |
|
We're now using the EUI accent color for the button indicator as well as the highlights. @formgeist @jasonrhodes any further thoughts on your reviews? |
|
I'm good with leaving the notification badge for when we support multiple terms. And the accent for the indicator and highlights looks amazing 😍Thanks for getting this in! |
|
@weltenwort one question: I notice that |
|
Unless I made a mistake, the search query should be a conjunction of the filter and the highlight query. But within that result set we only want to apply the highlight query, because we don't want to highlight the filter terms. |
👍 I added a filter in the query bar and now I see the difference. Thanks! |
jasonrhodes
left a comment
There was a problem hiding this comment.
Great work here and great job paring this down to a useful MVP! 👏
|
Does it stay that way when you clear and re-enter the highlighting term? |
Yes, if I click the trash can and re-enter the term, the same thing happens. |
💔 Build Failed |
|
carried on winds |
|
since when is jenkins haiku immune? jenkins, test this again |
💚 Build Succeeded |
This PR adds the ability to highlight a phrase in the logs displayed in the Logs UI. The "Highlights" button in the toolbar opens a popover that allows changing and clearing of a single phrase for now. partly implements elastic#22916
💚 Build Succeeded |


Summary
This PR adds the ability to highlight a phrase in the logs displayed in the Logs UI. The "Highlights" button in the toolbar opens a popover that allows changing and clearing of a single phrase for now.
partly implements #22916
Known Limitations
Screenshots
Checklist
Documentation was added for features that require explanation or tutorialsthis will be handled in a separate PRUnit or functional tests were updated or added to match the most common scenariosfunctional tests will be added in a separate PR