[Discover] Add internal state container #144816
Labels
chore
Feature:Discover
Discover Application
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Part of #140765
Summary
We need to introduce a new state container for the internal state, that's the state used in several components but not synced with the URL (While appState and globalState are synced with the URL). This new container would contain 2 values: dataView & dataViewAdHocList, which are used in several parts of Discover
This new state container would be part of
DiscoverStateContainer
(formerly known asGetStateReturn
), preparing for the consolidation of various state-related code in a central container drafted in #140765.This PR allows us to move forward to enable editing of data views directly in Discover like Lens #142723
The text was updated successfully, but these errors were encountered: