diff --git a/README.md b/README.md index 26576870..8916b458 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Start with the [Hello World](basics/hello-world) and then jump to the topic you - [Datagrid](basics/datagrid) - [Command Palette](command-palette) - [Commands](commands) +- [Launcher](launcher) - [Main Menu](main-menu) - [Settings](settings) - [State](state) @@ -72,6 +73,12 @@ We have structured the examples based on the [extension points](https://jupyterl | -------------------- | ------- | | [Commands](commands) | | +## Launcher + +| Example | Preview | +| -------------------- | --------------------------------------------- | +| [Launcher](launcher) | [![Launcher](launcher/preview.gif)](launcher) | + ## Menus | Example | Preview | diff --git a/launcher/README.md b/launcher/README.md index b6ab7ae0..c8855964 100644 --- a/launcher/README.md +++ b/launcher/README.md @@ -3,7 +3,7 @@ In this example, you will learn how to start your extension from the launcher and how to have optional dependencies to JupyterLab features. -![Launcher example](preview.png) +![Launcher example](preview.gif) > Acknowledgement: This example is copied from Jeremy Tuloup [Python file extension](https://github.com/jtpio/jupyterlab-python-file). diff --git a/launcher/preview.gif b/launcher/preview.gif new file mode 100644 index 00000000..0f9558a4 Binary files /dev/null and b/launcher/preview.gif differ diff --git a/launcher/src/index.ts b/launcher/src/index.ts index cad376c1..32b96df9 100644 --- a/launcher/src/index.ts +++ b/launcher/src/index.ts @@ -20,7 +20,7 @@ namespace CommandIDs { } const extension: JupyterFrontEndPlugin = { - id: '@jupyterlab-examples/launcher', + id: 'launcher', autoStart: true, optional: [ILauncher, IMainMenu, ICommandPalette], requires: [IFileBrowserFactory],