Search for notebook imports
Is your feature request related to a problem? Please describe.
As an author of notebooks that expose APIs I often need to know if/how these APIs are used in other notebooks in order to plan enhancements or breaking changes.
Right now I cannot explicitely search for imports, as a search for "@user/slug" will also produce results that only contain the text (e.g. as part of a URL).
Describe the solution you'd like
Add a search prefix import: to match the phrase to notebook imports. Searching for import:@user/slug will only match notebooks that import from the notebook @user/slug.
I would go further and say all imports should create a biderectional link in the other direction with some kind of discovery support (e.g. a see usages menu in notebook)
The biderectional link is quite an important concept in the tools for thought community, I think we should have an analogue in observable which could help a little with discovery
https://twitter.com/tangjeff0/status/1476284523591524352
crosslinking to https://github.com/observablehq/feedback/issues/70. good thing github will make a bidirectional link so that thread shows a link to this one! 😛
We now have a feature in the header of a notebook (for notebook editors) for this!
When you click on it, you get a list of the notebooks that import from the current notebook.