Problem: We want a way to allow datasets to be shared between notebooks.
Proposal
Add a PUBLISH cell with 2 options: (i) "Dataset" (the dataset to publish) and (ii) "Mode" (pop-up currently with just one option "Publish Locally"; although see #269). When called, the cell simply prints out the internal reference details for the indicated dataset in some sort of pretty URL-like format. e.g., vizier://ds/[notebook_id]/[dataset_id]
Add a "Annotated Dataset" option to the LOAD DATASET cell. When called in "From the Internet" mode, this cell grabs the URL produced by a publish dataset cell and simply redirects references to the loaded dataset to that dataset.
Add a 'import_dataset' method to the notebook that takes an export URL.
In FS, copy the dataset details over from the referenced notebook
In MIMIR, add a new dataset referencing the dataset with the specified ID
This isn't entirely clean, but provides a proof-of-concept
it breaks import/export (but see #128 , #249 , etc... Import/Export need to be rewritten anyway)
it could break if the original notebook is deleted (we need a way to preserve uploaded files even if their parent notebook goes away)
It only works locally
It does however lay the groundwork for new things in the future:
Problem: We want a way to allow datasets to be shared between notebooks.
Proposal
vizier://ds/[notebook_id]/[dataset_id]
This isn't entirely clean, but provides a proof-of-concept
It does however lay the groundwork for new things in the future: