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

dataflow library, point to a directory of notebooks #13

Open
asg017 opened this issue May 2, 2021 · 1 comment
Open

dataflow library, point to a directory of notebooks #13

asg017 opened this issue May 2, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@asg017
Copy link
Owner

asg017 commented May 2, 2021

Right now dataflow only runs a single .ojs file, like dataflow run notebook.ojs. this is fairly limiting, if you're working on multiple notebooks at a time, you'd either have to keep killing/restarting dataflow to point to a different file, or run them separately on different ports (which isn't fun at all).

dataflow library (different name?) could instead point to a directory of .ojs files. The dev server would then 1) allow you to view any of the .ojs files in that directory, and 2) offer a UI for navigating through all the notebooks.

This would be similar to jupyterlab, which has a navigation UI for a given directory (and even displays non-notebook files).

  • Most of the dev server logic assumes the same notebookPath, so will need to probably rewrite most of it
  • Detect when notebooks are added/removed
  • What should the navigation UI look like, and how to distinguish it from notebook contents
@asg017 asg017 added this to the v1 milestone May 2, 2021
@asg017 asg017 added the enhancement New feature or request label May 2, 2021
@wizzard0
Copy link

imho the cleanest option would be to still start from a file, but serve an entire directory and simply allow navigating to /other/notebook.ojs from links rendered from markdown or otherwise in a regular cell. This way we can experiment with navigation live :) and avoid baking something into the UI

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

No branches or pull requests

2 participants