|
@@ -167,32 +167,32 @@ const about: JupyterFrontEndPlugin<void> = {
|
|
|
/**
|
|
|
* A plugin to add a command to open the Classic Notebook interface.
|
|
|
*/
|
|
|
-const launchClassic: JupyterFrontEndPlugin<void> = {
|
|
|
- id: '@jupyterlab/help-extension:launch-classic',
|
|
|
- autoStart: true,
|
|
|
- requires: [ITranslator],
|
|
|
- optional: [ICommandPalette],
|
|
|
- activate: (
|
|
|
- app: JupyterFrontEnd,
|
|
|
- translator: ITranslator,
|
|
|
- palette: ICommandPalette | null
|
|
|
- ): void => {
|
|
|
- const { commands } = app;
|
|
|
- const trans = translator.load('jupyterlab');
|
|
|
- const category = trans.__('Help');
|
|
|
-
|
|
|
- commands.addCommand(CommandIDs.launchClassic, {
|
|
|
- label: trans.__('Launch Classic Notebook'),
|
|
|
- execute: () => {
|
|
|
- window.open(PageConfig.getBaseUrl() + 'tree');
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
- if (palette) {
|
|
|
- palette.addItem({ command: CommandIDs.launchClassic, category });
|
|
|
- }
|
|
|
- }
|
|
|
-};
|
|
|
+// const launchClassic: JupyterFrontEndPlugin<void> = {
|
|
|
+// id: '@jupyterlab/help-extension:launch-classic',
|
|
|
+// autoStart: true,
|
|
|
+// requires: [ITranslator],
|
|
|
+// optional: [ICommandPalette],
|
|
|
+// activate: (
|
|
|
+// app: JupyterFrontEnd,
|
|
|
+// translator: ITranslator,
|
|
|
+// palette: ICommandPalette | null
|
|
|
+// ): void => {
|
|
|
+// const { commands } = app;
|
|
|
+// const trans = translator.load('jupyterlab');
|
|
|
+// const category = trans.__('Help');
|
|
|
+
|
|
|
+// commands.addCommand(CommandIDs.launchClassic, {
|
|
|
+// label: trans.__('Launch Classic Notebook'),
|
|
|
+// execute: () => {
|
|
|
+// window.open(PageConfig.getBaseUrl() + 'tree');
|
|
|
+// }
|
|
|
+// });
|
|
|
+
|
|
|
+// if (palette) {
|
|
|
+// palette.addItem({ command: CommandIDs.launchClassic, category });
|
|
|
+// }
|
|
|
+// }
|
|
|
+// };
|
|
|
|
|
|
/**
|
|
|
* A plugin to add a command to open the Jupyter Forum.
|
|
@@ -636,7 +636,7 @@ const licenses: JupyterFrontEndPlugin<void> = {
|
|
|
|
|
|
const plugins: JupyterFrontEndPlugin<any>[] = [
|
|
|
about,
|
|
|
- launchClassic,
|
|
|
+ // launchClassic,
|
|
|
jupyterForum,
|
|
|
resources,
|
|
|
licenses
|