altair-viz / jupyterlab_voyager

JupyterLab extension visualize data with Voyager
BSD 3-Clause "New" or "Revised" License
298 stars 35 forks source link

set isDirty() function #45

Open zzhangjii opened 6 years ago

zzhangjii commented 6 years ago

When working on Voyager with a .vl.json as source file, we should set isDirty when we made changes in Voyager, to indicate to JupyterLab that it should style the tab appropriately (with a dot rather than a cross), and will pop up dialog if you try to close Voyager when it has unsaved work.