Skip to content

Commit

Permalink
Add launcher preview
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Dec 23, 2019
1 parent be84853 commit ef1013b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 |
Expand Down
2 changes: 1 addition & 1 deletion launcher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
Binary file added launcher/preview.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion launcher/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace CommandIDs {
}

const extension: JupyterFrontEndPlugin<void> = {
id: '@jupyterlab-examples/launcher',
id: 'launcher',
autoStart: true,
optional: [ILauncher, IMainMenu, ICommandPalette],
requires: [IFileBrowserFactory],
Expand Down

0 comments on commit ef1013b

Please sign in to comment.