-
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
[Log UI] Replace sourceId with mandatory logView prop in LogStream component #134850
[Log UI] Replace sourceId with mandatory logView prop in LogStream component #134850
Conversation
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
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.
LGTM for Enterprise Search
Pinging @elastic/fleet (Team:Fleet) |
Pinging @elastic/apm-ui (Team:apm) |
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.
Enterprise Search look good
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.
Fleet changes LGTM
@@ -64,8 +64,13 @@ export interface LogStreamProps extends LogStreamContentProps { | |||
height?: string | number; | |||
} | |||
|
|||
interface LogView { | |||
type: 'log-view-reference'; |
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.
What does this 'log-view-reference'
string do?
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.
For now, it does nothing 😄 . This PR is part of this Epic #120920 and just prepares the code for what comes next
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.
Ah. The suspense! 🍿😉
@elasticmachine merge upstream |
@elasticmachine merge upstream |
Can someone from @elastic/apm-ui approve this for merge as codeowner? |
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.
APM changes LGTM 🌟
@elasticmachine merge upstream |
💛 Build succeeded, but was flakyFailed CI StepsMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
…mponent (elastic#134850) * replace sourceId with mandatory logview prop in logstream component * update unit test assert * revert small change on use_log_view Co-authored-by: Kibana Machine <[email protected]>
Summary
Closes #120930
This PR replaces the optional
sourceId
with a mandatorylogView
prop and updates all places that use theLogStream
component to pass this new attribute.For now, usages that didn't explicitly pass the
sourceId
will passdefault
inlogViewId
. This will be changed in follow up PRs