Feature/data explorer surroundings #4740
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Separate context application and discover state. Discover application now has two applications states:
Allow view to register multiple redux slices
Slices is now an Slice array and views can register multiple slices
For defaults, modify the logic. To minimize the impact, check
if (view.id in defaultResult) {
. Previously, Discover only has one slicediscover
. If an application wants to have multiple slices, one slice should be named as view.id. For example, if Discover want to register multiple slices, one slice should be named asdiscover
. This would make sure that the change won't affect current usage and provide us a simple check clause.Add surrounding flyout
SurrondingDocumentFlyout
. This component will be render if there is an clicked document (expandedHit
) andsurroundingFlyoutOpen
is true. ThissurroundingFlyoutOpen
is controlled by clickingView Surrouding documents
.Restore original context application to surrounding flyout
Restore and simplify the fetch logic from context application (use_query_actions.ts)
Issues Resolved
#4231
#4230
Screenshot
ToDo
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr