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

[Console Monaco migration] Autosave to localStorage #180211

Closed
yuliacech opened this issue Apr 5, 2024 · 1 comment · Fixed by #180620
Closed

[Console Monaco migration] Autosave to localStorage #180211

yuliacech opened this issue Apr 5, 2024 · 1 comment · Fixed by #180620
Labels
Feature:Console Dev Tools Console Feature Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@yuliacech
Copy link
Contributor

handle the autosave of the editor text value to localStorage: start on component mount, clear on component unmount

@yuliacech yuliacech added Feature:Console Dev Tools Console Feature Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Apr 5, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-management (Team:Kibana Management)

ElenaStoeva added a commit that referenced this issue Apr 15, 2024
Closes #180211

## Summary

This PR adds support for autosaving the current Console editor value to
local storage.

**How to test:**
1. Create a `config/kibana.dev.yml` file (if one doesn't exist already)
and add the line: `console.dev.enableMonaco: true`
2. Start Es and Kibana
3. Go to Dev Tools -> Console
4. Type in some input in Console
5. Navigate to another page and come back to Console. Verify that the
input is the same as the one you last typed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Console Dev Tools Console Feature Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants