jupytercalpoly / jupyterlab-interactive-dashboard-editor

A drag-and-drop dashboard editor for JupyterLab
https://github.com/jupytercalpoly/jupyterlab-interactive-dashboard-editor
BSD 3-Clause "New" or "Revised" License
218 stars 26 forks source link

Re-link missing notebooks #73

Open cameron-toy opened 4 years ago

cameron-toy commented 4 years ago

Currently, loading a dashboard when a required notebook is missing causes the outputs from the missing notebook to be red, and attempting to load a cell that doesn't exist from a valid notebook causes the output to be yellow. This isn't very useful except to show that something is wrong, and doesn't offer any solutions.

A more useful solution would be to store the Base64 encoding of the output when the dashboard is saved (similar to how notebooks save the last output of each cell) so that the user can see a preview of the missing outputs. Also, dragging a notebook from the JupyterLab file browser on to a missing widget could re-link the notebook to the dashboard, updating its path.

Mock up:

Screen Shot 2020-09-21 at 4 11 26 PM
juliahuynh commented 4 years ago

Flows for user relinking missing notebooks

User chooses to relink when warning dialog appears missingNotebookUserRelink

User chooses to ignore when warning dialog appears missingNotebookUserIgnore