[Search][Discover] Restore searchSessionId from URL#81633
[Search][Discover] Restore searchSessionId from URL#81633Dosant merged 7 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/kibana-app-arch (Team:AppArch) |
|
@elasticmachine merge upstream |
|
@kertal could you take a look 🙏 |
sure! will have a look tomorrow, but it might be in the afternoon due to giving a Kibana analyst training |
is it? so when I load Discover with the searchSessionId, it should be removed from the URL? |
|
@kertal, sorry for confusion, that was outdated info. |
kertal
left a comment
There was a problem hiding this comment.
Code LGTM 👍 , tested locally in Chrome, Firefox, Safari, works!
💔 Build Failed
Failed CI Steps
Test FailuresJest Integration Tests.src/core/server/ui_settings/integration_tests.uiSettings/routes doc missing get route creates doc, returns a 200 with settingsStandard OutStack TraceJest Integration Tests.src/core/server/ui_settings/integration_tests.uiSettings/routes doc missing set route creates doc, returns a 200 with value setStandard OutStack TraceJest Integration Tests.src/core/server/ui_settings/integration_tests.uiSettings/routes doc missing setMany route creates doc, returns 200 with updated valuesStandard OutStack Traceand 14 more failures, only showing the first 3. Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Release note
Adds the Search Sessions support to Discover in Kibana
Summary
Build on top of #81297
Part of #61738
Similar merged pr for a dashboard app: #81489
Summary
searchSessionIdfrom URLsearchSessionIdsupport to discover's URL generatorsearchSessionIdinto inspectorAdditional info
searchSessionIdis removed from the URL on subsequent searches (e.g. after refresh or state change). Created a ticket, please see explanation of the problem: [Search][State Management] Restoring background session and back button #82419How to test
You can build a discover URL with fake session id:
Open it.
And you should see
__fake__as session id in inspector.^^ this is what a functional test does
Checklist
Delete any items that are not applicable to this PR.