Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an example for creating a new IDrive #215

Open
jtpio opened this issue Dec 21, 2022 · 2 comments
Open

Add an example for creating a new IDrive #215

jtpio opened this issue Dec 21, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@jtpio
Copy link
Member

jtpio commented Dec 21, 2022

Problem

Custom drives are a powerful feature of JupyterLab that allow extensions to provide additional sources of contents.

For example:

Proposed Solution

Creating a new drive consists in implementing the Contents.IDrive interface and should not be too complex depending on where the contents get stored of course.

Maybe there should be new example showing how to do this, for example for storing notebooks and files in the browser local storage (localStorage, IndexedDB).

Additional context

@jtpio jtpio added enhancement New feature or request status:Needs Triage labels Dec 21, 2022
@jtpio
Copy link
Member Author

jtpio commented Dec 21, 2022

Actually even the JupyterLab does not seem to be mentioning it in the common extension points: https://jupyterlab.readthedocs.io/en/latest/extension/extension_points.html

@timkpaine
Copy link
Member

timkpaine commented Dec 21, 2022

Writing examples would also probably be a good opportunity to see if there's any improvements that are immediately relevant to do on the server side, this has been the main impediment of https://github.com/jpmorganchase/jupyter-fs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants