feedback
feedback copied to clipboard
Add the ability to have a link to instantly fork a notebook
Is your feature request related to a problem? Please describe. I would like to have a way to get into a new notebook with one click, ideally with a couple data input methods already set up. I’ve already created a template notebook I’d like to use.
Describe the solution you'd like
Given a notebook URL, allow appending /fork
to have Observable automatically create a new fork, then redirect to that new fork. For example, https://observablehq.com/@observablehq/stdlib/fork should create a new private fork of https://observablehq.com/@observablehq/stdlib and take me to that, all ready to edit.
Describe alternatives you've considered
Maybe a URL parameter (like ?fork
)? Ideally it would be something I could have in my bookmarks rather than having to be a button in the Observable because having it in the web UI would interrupt my train of thought.
Additional context GitHub has something similar: https://github.com/observablehq/feedback/fork
Would probably also need a username to support users in teams so you can specify who the owner of the new notebook will be (personal account or one of the team accounts)
This would also require user confirmation. Simply clicking on a link shouldn’t create the fork.
This isn’t what you asked for, but note that you can now append ?intent=fork
to get a big green banner prompting someone to click “Fork”. It’s not very keyboard-friendly; idk how you’d tab to it. E.g.: https://observablehq.com/@observablehq/plot-linear-regression-simpson?intent=fork