From 218b3f0e8527555c6e852918e64fe17e5a649a1a Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Mon, 17 Jul 2023 13:08:30 +0000 Subject: [PATCH] Add the JupyterLab resources plugin --- app/package.json | 4 ++++ packages/help-extension/src/index.tsx | 2 +- yarn.lock | 21 +++++++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/app/package.json b/app/package.json index ac2e4b66777..9d2a94540eb 100644 --- a/app/package.json +++ b/app/package.json @@ -144,6 +144,7 @@ "@jupyterlab/extensionmanager-extension": "^4.0.3", "@jupyterlab/filebrowser-extension": "^4.0.3", "@jupyterlab/fileeditor-extension": "^4.0.3", + "@jupyterlab/help-extension": "^4.0.3", "@jupyterlab/htmlviewer-extension": "^4.0.3", "@jupyterlab/hub-extension": "^4.0.3", "@jupyterlab/imageviewer-extension": "^4.0.3", @@ -256,6 +257,9 @@ "@jupyterlab/fileeditor-extension": [ "@jupyterlab/fileeditor-extension:plugin" ], + "@jupyterlab/help-extension": [ + "@jupyterlab/help-extension:resources" + ], "@jupyterlab/htmlviewer-extension": true, "@jupyterlab/imageviewer-extension": true, "@jupyterlab/lsp-extension": true, diff --git a/packages/help-extension/src/index.tsx b/packages/help-extension/src/index.tsx index e3c52e415d0..20284ffc924 100644 --- a/packages/help-extension/src/index.tsx +++ b/packages/help-extension/src/index.tsx @@ -34,7 +34,7 @@ const RESOURCES = [ * The command IDs used by the help plugin. */ namespace CommandIDs { - export const open = 'help:open'; + export const open = 'help:open-tab'; export const about = 'help:about'; } diff --git a/yarn.lock b/yarn.lock index d21491937fe..4c72aa8d13a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2078,6 +2078,7 @@ __metadata: "@jupyterlab/extensionmanager-extension": ^4.0.3 "@jupyterlab/filebrowser-extension": ^4.0.3 "@jupyterlab/fileeditor-extension": ^4.0.3 + "@jupyterlab/help-extension": ^4.0.3 "@jupyterlab/htmlviewer-extension": ^4.0.3 "@jupyterlab/hub-extension": ^4.0.3 "@jupyterlab/imageviewer-extension": ^4.0.3 @@ -3243,6 +3244,26 @@ __metadata: languageName: node linkType: hard +"@jupyterlab/help-extension@npm:^4.0.3": + version: 4.0.3 + resolution: "@jupyterlab/help-extension@npm:4.0.3" + dependencies: + "@jupyterlab/application": ^4.0.3 + "@jupyterlab/apputils": ^4.1.3 + "@jupyterlab/coreutils": ^6.0.3 + "@jupyterlab/mainmenu": ^4.0.3 + "@jupyterlab/services": ^7.0.3 + "@jupyterlab/translation": ^4.0.3 + "@jupyterlab/ui-components": ^4.0.3 + "@lumino/coreutils": ^2.1.1 + "@lumino/signaling": ^2.1.1 + "@lumino/virtualdom": ^2.0.0 + "@lumino/widgets": ^2.1.1 + react: ^18.2.0 + checksum: a1dcbed4399c60b40d90255da890f8254387ea065ff9aea79d030f9b126e1afdda31aeb4f3a4e4864f2d3a6624a5c5440f67c4ea3efab20a68a5809f405d0ee5 + languageName: node + linkType: hard + "@jupyterlab/htmlviewer-extension@npm:^4.0.3": version: 4.0.3 resolution: "@jupyterlab/htmlviewer-extension@npm:4.0.3"