-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Discover] Extract DiscoverGridFlyout from DiscoverGrid component #144154
Comments
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
@mattkime or @kertal, will the plan to be to turn the entire flyout into a consumable package, or turn the components (i.e., table, json, pagination) into consumable components? We have a similar flyout in security currently, so it would be great to be able to utilize this functionality in security instead of maintaining our own which is behind the current Discover one in the table and json functionality. One thing we currently have in addition to those is the concept of the alert detail view that we'd want to maintain. Being able to combine them on our end would be awesome 😄. With that said, the alert detail view is potentially extensible to any regular event as well, so maybe another option is being able to enhance your component with that information as well. Anyways, just wanted to start a discussion about it! Screen.Recording.2022-11-29.at.10.54.06.AM.mov |
@michaelolo24 yes, this is exactly what we intend to do, it will be the |
Fantastic, thanks for the update! Let me know if there's any way I can help @kertal ! |
…lastic#147403) ## Summary Extract discover grid flyout from discover grid component. Part of effort to turn discover into set of components consumable by other kibana apps. Closes elastic#144154
For our future work to create a
unified_data_table
and beyond that also to provide a unified experience when expanding a document, it is necessary to decoupleDiscoverGridFlyout
kibana/src/plugins/discover/public/components/discover_grid/discover_grid.tsx
Lines 618 to 629 in 5a0e61b
from
DiscoverGrid
:kibana/src/plugins/discover/public/components/discover_grid/discover_grid.tsx
Lines 187 to 195 in 5a0e61b
DiscoverGrid
should get a new param likeonExpandDoc
, which should trigger displaying the expanded document.When extracting
DiscoverGridFlyout
it is also necessary to extract stateful functionality like the document selection. This allows users to select documents and in the flyout, they should be able to use pagination to navigate to the previous/next documentThe text was updated successfully, but these errors were encountered: