Skip to content

[Discover Tabs] Use openInNewTab in Background search flyout #235303

@kertal

Description

@kertal

Follow up of #234912

We extended discover locator to allow opening in a new tab in #234912. This was the first step. The next step would be to optimize the Discover <-> Tabs flyout interaction by making use of the openInNewTab functionality in the flyout.

@jughosta wrote in #234912

Additionally, this PR adds openInNewTab redux action. I think we should use it from Background Search flyout as it would append to tabs without the mentioned problems.

The flyout already has a callback allowing to provide custom callback that are triggered when a background search should be opened

https://github.com/jughosta/kibana/blob/6256d4de748f9269c1bd80fbe0de5b100fde2d35/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/flyout/flyout.tsx#L48

so we would need to wire this up via UnifiedSearch connecting it to Discover state management

Metadata

Metadata

Labels

Feature:DiscoverDiscover ApplicationProject:AsyncSearchBackground search, partial results, async search services.Team:DataDiscoveryDiscover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//enhancementNew value added to drive a business resultimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions