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

Feature request: open a notebook with all cells not auto-running, but wait viewers to click run each cell on-demand? #381

Open
tx0c opened this issue Mar 9, 2022 · 2 comments

Comments

@tx0c
Copy link

tx0c commented Mar 9, 2022

Is your feature request related to a problem? Please describe.
when using Observable with databases, some queries are expensive, so as an editor, I don't want all my future viewers to see all cells running and pending when opening the page, it can take a long while and it's frustrating, sometimes overload the DB server and failing some queries,

Describe the solution you'd like
I want editor has a control to say: all DB cells started with a stop state, then only when viewer click a button to reveal results, only query that specific cell under viewer's request

Describe alternatives you've considered
https://talk.observablehq.com/t/how-to-disable-automatic-execution/3981 mentioned "disable automatic execution" and I am aware /safe mode, but safe mode cannot run any cells and is only editor debugging purpose, not for viewers;

Additional context
To Be Filled under request.

@tx0c
Copy link
Author

tx0c commented Mar 9, 2022

request again for #336 , to change the names of a cell should not trigger re-run; some DB cells are very expensive, that feature is for editors editing;
now for better presenting to viewers, want finer control of

  1. what DB cells to run,
  2. what time to run, and
  3. how many to run concurrently;

would like a setting of how many concurrency at each DB level? e.g. only 5 concurrent queries at same time? for a typical notebook with 30 ~ 60 DB cells, don't want all DB cells to query the server at same time of viewers' opening the notebook, those should be running in a ConcurrencyRateLimitQueue

@tx0c tx0c changed the title Feature request: open a notebook with all cells not auto-run, but user will click each cell on-demand? Feature request: open a notebook with all cells not auto-running, but wait viewers to click run each cell on-demand? Mar 10, 2022
@tomlarkworthy
Copy link

Strongly disagree and you can create manually runnable cell with your own buttons easily

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

No branches or pull requests

3 participants