jrus
May 27, 2018, 9:36pm
1
It’s awesome that we can see forks of a notebook (by appending /forks
to the URL). But sometimes related notebooks are created by importing one into another, rather than by forking and editing.
It might be fun to expose some navigation of the dependency graph between notebooks, showing which public notebooks import any particular one.
10 Likes
Something like this https://beta.observablehq.com/@magjac/notebook-dependencies ?
It’s incredibly slow. Partly because I had to use cors-anywhere and also because I don’t (yet) use asynchronous iteration .
Suggestions are welcome!
2 Likes
jrus
May 28, 2018, 5:56pm
3
I’m thinking about a view of which notebooks import the current one, i.e. looking down the dependency tree, not up.
It also doesn’t need to be a tree view. Just a list of notebooks in the style of .../forks
would be great.
3 Likes
Oh, I see. Obtaining that data seems significantly more difficult.
jrus
April 9, 2021, 3:18am
5
This has also been suggested on github:
opened 03:09PM - 08 Apr 21 UTC
Is your feature request related to a problem? Please describe.
As a notebook author, I have no easy way of knowing if...
bcrock
August 6, 2022, 11:18am
6
Has there been any progress on this topic? I have three reasons to want to understand the dependencies and show a list in my notebook:
so that we know if/ which notebooks could be impacted if we change the interface/behavior of our functions
so that we can track it as a success measure for our project (we aim to create re-usable functions and cells)
so that users who like the notebook can link through to examples where it is used.
upvote this issue and maybe my comment within it
ttps://github.com/observablehq/feedback/issues/384#issuecomment-1173455313
and
opened 03:09PM - 08 Apr 21 UTC
Feature Request
Notebook
**Is your feature request related to a problem? Please describe.**
As a noteboo… k author, I have no easy way of knowing if any other notebooks are importing any code from my notebooks. I would love to be able to see things that other folks are doing with some of my code.
also
As a notebook reader, I have no easy way of knowing if the notebook I'm reading gets imported by others. It might help me understand the use-cases for this notebook If I can easily see that 1000 other notebooks import this code.
**Describe the solution you'd like**
![image](https://user-images.githubusercontent.com/6321009/114050814-35115280-9852-11eb-86c1-360d81485d27.png)
**Describe alternatives you've considered**
I suppose an alternative could be some sort of notification in my email when a notebook that imports me is published - but i think i would prefer approach that allows ALL READERS to see when a notebook has been imported.
**Additional context**
Bonus points for finding a way to link to WHICH NOTEBOOKS are doing the importing.