-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Search][Discover] Restore searchSessionId from URL #81633
Conversation
Pinging @elastic/kibana-app-arch (Team:AppArch) |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 Out
Stack Trace
Jest Integration Tests.src/core/server/ui_settings/integration_tests.uiSettings/routes doc missing set route creates doc, returns a 200 with value setStandard Out
Stack Trace
Jest Integration Tests.src/core/server/ui_settings/integration_tests.uiSettings/routes doc missing setMany route creates doc, returns 200 with updated valuesStandard Out
Stack Trace
and 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
searchSessionId
from URLsearchSessionId
support to discover's URL generatorsearchSessionId
into inspectorAdditional info
searchSessionId
is 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.