-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed as not planned
Labels
Feature:SearchQuerying infrastructure in KibanaQuerying infrastructure in KibanaFeature:Search SessionsIceboxTeam:DataDiscoveryDiscover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//enhancementNew value added to drive a business resultNew value added to drive a business resultimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.Addressing this issue will have a medium level of impact on the quality/strength of our product.loe:mediumMedium Level of EffortMedium Level of Effort
Description
Part of #83640
Problem
Initial version of search session restores state from the URL.
The URL contains both serialized app + searchSessionId:
kibana/app/discover/#/?_a={discover_state}&_g={discover_state}&searchSessionId={id}
If state in the URL changes and searchSessionId stays untouched most likely session restoration would fail because search requests during restoration wouldn't match original search requests saved within the session:
- User manually changes URL
- Something else changes the URL and leaves
searchSesssionId. e.g. [Search][Send to background] Restoration URL conflicts with global time sync with chrome's URLs #87149
Solution
By searchSessionId we can restore the application state from search session SO.
Instead of relying on rest of the app state when searchSessionId is present in the URL we could try to get the state stored in SO, so searchSessionId becomes single state source of truth.
Related
Metadata
Metadata
Assignees
Labels
Feature:SearchQuerying infrastructure in KibanaQuerying infrastructure in KibanaFeature:Search SessionsIceboxTeam:DataDiscoveryDiscover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//enhancementNew value added to drive a business resultNew value added to drive a business resultimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.Addressing this issue will have a medium level of impact on the quality/strength of our product.loe:mediumMedium Level of EffortMedium Level of Effort