[Discover] Improve doc viewer table performance #104339
Labels
enhancement
New value added to drive a business result
Feature:Discover
Discover Application
performance
Team:DataDiscovery
Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)
Follow up of #97649
When doc viewer table has to deal with lots of fields this leads to UI performance issues. Opening a doc in this view is no longer snappy. We initially intended to improve this by migrating to
EuiInMemoryTable
in #102149. But using the build in pagination leads to jumping UI issues when used in classic table (Because e.g. the page 2 can have a different height than page 1, and it's displayed inline in the doc table). It works better in the new table, which is using a flyout to display this view. So there are 2 ways to deal with this1.) Wait for classic table to be deprecated, and use Pagination of EuiInMemoryTable
2.) Render e.g. 100 fields, display a "Show more fields" button at the end of the table, render more when the user clicks the button
The text was updated successfully, but these errors were encountered: