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

Canvas #2048

Closed
josevalim opened this issue Jul 10, 2023 · 4 comments
Closed

Canvas #2048

josevalim opened this issue Jul 10, 2023 · 4 comments
Labels
area:frontend Related to UI/UX contributions welcome Ready to implement (contributions welcome) feature New feature or request

Comments

@josevalim
Copy link
Contributor

We want to build a canvas where we can freely place outputs. This can be useful for data exploration (for example, the canvas can run in a separate monitor) and also for deployed apps (we can deploy the canvas). This is explorer in the B2 paper and some projects, such as Count, rely heavily on this idea.

@josevalim josevalim added feature New feature or request discussion Needs to be discussed before moving forward area:frontend Related to UI/UX labels Jul 10, 2023
@josevalim josevalim added contributions welcome Ready to implement (contributions welcome) and removed discussion Needs to be discussed before moving forward labels Jul 19, 2023
@jannikbecher
Copy link
Contributor

livebook_canvas_idea

The canvas view mode could be visualizing a complete notebook, so there are two main modes: "notebook" and "canvas".
Notebook mode has its own subviews (Normal, Code Zen and Presentation).
Canvas has Normal and App-UI.
Each section is a saved view port where you can easily zoom into.
When declaring new variables in a cell, they are outputs and are connected to each cell where the variable is used.
When selecting App-UI the outputs of the cells are shown in the foreground and can be moved to the wanted location.

This are just some thoughts which came to my mind while on vacation. Is this something worth exploring?

@josevalim
Copy link
Contributor Author

Maybe but I think we need to go with baby steps. The important is to have the canvas for visualization and app-UI. Maybe other needs will arise in the future, but we need to use the basic versions first, otherwise we may end up cluttering the UI for features that no one needs or use. So I would remain focused on the current proof of concept.

@jonatanklosko
Copy link
Member

I wouldn't make the notebook itself non-linear. The linearity of cells gives an intuition about the evaluation order, and I think spreading cells across the screen would easily lead to confusion.

@josevalim
Copy link
Contributor Author

Closing in favor of #2109.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:frontend Related to UI/UX contributions welcome Ready to implement (contributions welcome) feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants