Comments (8)
I prefer showing a warning in all cases in which we actually might lose the work.
from editor.
Another option would be to save the undo history in local storage (at least some of it).
from editor.
We can give a save button (or Ctrl+S shortcut) so that one can save whenever required and show a warning in cases like closing tab/navigating without saving, same as a normal editor does. It is the more intuitive.
from editor.
@domoritz We currently lose the work only when we switch editors and that will probably solve after #12 is fixed.
from editor.
Well, in manual mode, you could also lose work, right? We could add a warning for that case.
from editor.
@domoritz I switched to manual mode and did some changes. I refreshed the page and my changes were still there. Am I misunderstanding something?
from editor.
Did you run
after making changes?
from editor.
@domoritz No, I did not. The changes are preserved I guess.
from editor.
Related Issues (20)
- Initialize editor using query parameter HOT 1
- Get parse errors and warnings directly from the Monaco editor. HOT 1
- Data dependencies are not shown in dataflow viewer HOT 3
- Docker Compose is missing HOT 3
- Access to CSV has been blocked by CORS policy HOT 1
- Usage Instructions Fail for Local Installation on Windows HOT 3
- Support 2x resolution in the PNG export HOT 1
- Not able to run editor locally following instructions in Readme HOT 1
- Exporting to png adds grid lines.
- Feature Request - Add Detailed Tooltips in Data Viewer HOT 2
- 'Commands' does no longer work - 'TypeError: undefined is not an object' HOT 4
- Label Transform is not positioning the labels properly (anymore) HOT 5
- Specs keeps loading forever - 'TypeError: cannot read properties of undefined' HOT 3
- Line Comment shortcut ctrl+/ does not work on Windows HOT 6
- [bug] Vega editor online demo is not available. HOT 3
- Make sure the Vega editor with Vite works with linked Vega and Vega-Lite packages HOT 4
- Public Facing Vega Editor Not Loading HOT 1
- Feature: Formal URL API HOT 7
- Link issue when developing vega-lite and testing local changes in vega editor HOT 7
- Can't use local version of `vega-transforms` in editor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from editor.