[IPython-dev] Hierarchical notebook listing
Tue Feb 26 04:47:00 CST 2013
Le 26 févr. 2013 à 01:49, Brian Granger a écrit :
> Some of the questions we need to think about:
> * What does the web service look like to move around and query directories.
> * Do we map directory paths onto notebook URLS? If so, how?
> * How do we build a UI/UX that is extremely simple, but functional
> enough to get the job done.
> * How do we want to abstract these things for different notebook backend stores?
IMHO, the "backend" should return a notebook "document name" ( not the one store in the json metadata)
and a UUID when asked to "list" notebook
The actual content of the notebook when asked.
The actual "mapping" filesystem/url would be using uuid that are generated from hmac and path, so unique, and persistent.
This also work for database
| uuid | document_name | content |
For the UI,
I can see "breadcrumbs" to navigate in parents directory.
We could also do something like github, where you show both ipynb and folder and you can enter a folder.
This would require some "custom" data structure that could be exchange from dashboard and backend.
> * How do notebook directories get mapped to kernel cwds?
> On Mon, Feb 25, 2013 at 2:03 AM, Robert Young <firstname.lastname@example.org> wrote:
>> This email is intended to start a conversation around hierarchical notebook
>> listings. I submitted a pull request  and it was pointed out that
>> supporting directories deserves some thought and discussion.
>>  https://github.com/ipython/ipython/pull/2977
>> IPython-dev mailing list
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> email@example.com and firstname.lastname@example.org
> IPython-dev mailing list
More information about the IPython-dev