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

[DRAFT] .ipynb model #122

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

cameron-toy
Copy link
Collaborator

@cameron-toy cameron-toy commented Apr 1, 2021

TL;DR: Dashboards will now exist embedded in notebook metadata and be openable directly from the file menu. This means they're fully self-contained, have their own kernel, and don't require a notebook from the same .ipynb file to be open. .dashboard files still exist for now but that may change.

What's new

User-facing changes

  • Dashboards with their own kernel can be saved to and opened from .ipynb files. Embedded dashboard functionality is currently very limited (can basically just add and move widgets).
  • Multiple dashboards can be embedded in one notebook. If multiple embedded dashboards are present, the user will be prompted to pick one when opening the notebook as a dashboard.

Code changes

  • New dashboard widget, output widget, dashboard layout, dashboard model--almost everything has been re-written to support embedded dashboards.
  • Undo/redo now handled by a much lighter UndoManager instead of the modified CRDT datastore.

Todo

End goal is that embedded dashboards have all the functionality dashboards from .dashboard files do. This includes:

  • Adding, removing, moving, and resizing outputs.
  • Grid-based and absolute positioning of outputs.
  • Edit and preview/present modes.
  • The ability to change the grid and dashboard size.
  • Toolbar.
  • Overlap resolution.
  • Undo/redo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant