-
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
[Logs UI] [R&D] Investigate EuiDataGrid for log stream #79288
Comments
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
I made a list of features that we have right now in the log stream, and if the
|
@afgomez @weltenwort do you both think the "X" values in this R&D table are deal-breakers? Should we: a) Investigate further and work with EUI to think about addressing the short-comings, or Thanks! |
My gut feeling is that we just need a few more hooks into the rendering process (such as the ability to provider a To determine whether it's worth it we should probably try to predict whether we'll soon add anything to the log stream that would require significant changes anyway. In that case it might be worth investing in the |
ℹ️ We're hoping to start on this very soon. To that end I've updated the description with a task breakdown. |
ℹ️ Progress updateIn the branch https://github.com/weltenwort/eui/tree/data-grid-scrolling-experiment we set up a sandbox to recreate the scenario of incrementally loading log entries when scrolling into either direction. It can be found in the documentation at "Tabular content -> Data grid advanced -> Scrolling and incremental loading". It employs a combination of these mechanisms:
We are working on two follow-up tasks: |
🏁 This specific investigation and follow-up PRs to EUI have been completed. |
Summary
The log stream has been primarily implemented to support infinite scrolling in both the up and down direction. The introduction of the date range selector a few months ago changed some assumptions that guided the initial implementation. In the mean time the
<EuiDataGrid>
was added to EUI and is used in the "document explorer" mode of Kibana Discover. If the log stream was based on<EuiDataGrid>
it could share more code with Discover or even become just a special viewing mode in Discover. The the same time it would benefit from the various new features and usability improvements added to Discover over the years.Task breakdown
react-window
API<EuiDataGrid>
can offer an abstraction over the infinite scrolling / incremental loading.Questions
react-window
API be exposed on the<EuiDataGrid>
to allow for sufficient control over the pagination to emulate a virtualized scrolling until [EuiDataGrid] bi-directional infinite scrolling eui#2981 is solved?Related links
The text was updated successfully, but these errors were encountered: