jupyterlab / jupyterlab-plugin-playground

A dynamic extension loader for JupyterLab
BSD 3-Clause "New" or "Revised" License
48 stars 15 forks source link

Integrate with jupyterlab/extension-examples #25

Open krassowski opened 3 years ago

krassowski commented 3 years ago

Problem

Finding out what token to use is not be trivial. It could benefit newcomers to have examples close at hand when first visiting the playground. https://github.com/jupyterlab/extension-examples is a terrific resource which could be re-used here.

Proposed Solution

Either:

Additional context

The TypeScript playground includes a set of pre-defined examples: https://www.typescriptlang.org/play?q=415#example/tuples

krassowski commented 2 years ago

With https://github.com/jupyterlab/jupyterlab-plugin-playground/pull/28 the extensions from https://github.com/jupyterlab/extension-examples now just "work". Regarding the delivery, jupyterlab-github is still looking good. An alternative would be to use git submodule which would freeze the examples (and after testing we can be confident that the examples will work with playground) - we only have a single version of @jupyterlab and lumino packages available at runtime anyways, so we don't need any dynamic capabilities of jupyterlab-github, and having a dedicated UI would be better UX-wise.

jtpio commented 2 years ago

Very exciting, thanks a lot @krassowski for pushing on this!