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] Should store unsaved visualization in session storage and prompt to restore when getting back #100235

Closed
shahzad31 opened this issue May 17, 2021 · 4 comments
Labels
enhancement New value added to drive a business result Feature:Lens impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@shahzad31
Copy link
Contributor

shahzad31 commented May 17, 2021

Describe the feature:

When you are working in lens, often times you only want to explore data and don't want to create new saved object visualisation. In that case if you are working on something and you move to some other kibana app, lens clears the state of the chart.

I propose that in that case, it should prompt the user to restore the previous state similar to how dashboard app is handling it. User should be able to restore the progress by browser back button.

@botelastic botelastic bot added the needs-team Issues missing a team label label May 17, 2021
@shahzad31 shahzad31 added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed needs-team Issues missing a team label labels May 17, 2021
@elasticmachine
Copy link
Contributor

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

@flash1293 flash1293 changed the title [Lens] Should not clear session storage when moving away from app [Lens] Should store unsaved visualization in session storage and prompt to restore when getting back May 18, 2021
@flash1293 flash1293 added the enhancement New value added to drive a business result label May 18, 2021
@flash1293
Copy link
Contributor

@ghudgins We could do something similar to dashboard with an "unsaved draft". It won't give us full undo/redo, but it would probably solve the most pressing needs.

@stratoula
Copy link
Contributor

stratoula commented Feb 15, 2023

In 8.7 lens is going to allow the users to Share a visualizations without saving. This creates a url that has stored the current state and can be used later to restore this state.

@stratoula stratoula added the impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. label Feb 15, 2023
@stratoula
Copy link
Contributor

I am closing this as the new share functionality in Lens can help to keep your state in a url without saving the visualization

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 impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants