Skip to content
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

[Lens] Integrate search session id #85517

Closed
flash1293 opened this issue Dec 10, 2020 · 1 comment · Fixed by #86297
Closed

[Lens] Integrate search session id #85517

flash1293 opened this issue Dec 10, 2020 · 1 comment · Fixed by #86297
Assignees
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects

Comments

@flash1293
Copy link
Contributor

Related to #84908

To enable client side request caching and the "send to background" feature, an important piece of the puzzle is to manage a "search session id". It's created by const searchSessionId = searchService.session.start();. This id has to be kept around in the state and be passed to the currently running expression. Every time the user hits refresh, changes the filters or the search, a new session id has to be generated.

The state should be handled on frame level if possible and be passed down from there.

The session id doesn't have to be persisted.

@flash1293 flash1293 added enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Dec 10, 2020
@flash1293 flash1293 added this to Long-term goals in Lens via automation Dec 10, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@flash1293 flash1293 changed the title [Lens] Integrate session id [Lens] Integrate search session id Dec 10, 2020
@flash1293 flash1293 moved this from Long-term goals to 7.12 in Lens Dec 14, 2020
@dej611 dej611 self-assigned this Dec 16, 2020
Lens automation moved this from 7.12 to Done Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
No open projects
Lens
  
Done
Development

Successfully merging a pull request may close this issue.

3 participants