Skip to content

Commit 1ff6293

Browse files
Dilip-Jainaditya9110jtpio
authored
Added Lumino Plugin Description (#7008) (#7127)
* Added Lumino Plugin Description * Added Lumino Plugin Description * Added Lumino Plugin Description * Added Lumino Plugin Description * Added Lumino Description * Added Lumino Description * Added Lumino Description * Added Lumino Description * Added Lumino Description * Fixed test checks * Fixed test checks * Fixed test checks * Fixed test checks --------- Co-authored-by: Aditya Mahimkar <[email protected]> Co-authored-by: Jeremy Tuloup <[email protected]>
1 parent e73d410 commit 1ff6293

File tree

9 files changed

+55
-1
lines changed

9 files changed

+55
-1
lines changed

packages/application-extension/src/index.ts

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ namespace CommandIDs {
129129
*/
130130
const dirty: JupyterFrontEndPlugin<void> = {
131131
id: '@jupyter-notebook/application-extension:dirty',
132+
description:
133+
'Check if the application is dirty before closing the browser tab.',
132134
autoStart: true,
133135
requires: [ILabStatus, ITranslator],
134136
activate: (
@@ -157,6 +159,7 @@ const dirty: JupyterFrontEndPlugin<void> = {
157159
*/
158160
const logo: JupyterFrontEndPlugin<void> = {
159161
id: '@jupyter-notebook/application-extension:logo',
162+
description: 'The logo plugin.',
160163
autoStart: true,
161164
activate: (app: JupyterFrontEnd) => {
162165
const baseUrl = PageConfig.getBaseUrl();
@@ -185,6 +188,7 @@ const logo: JupyterFrontEndPlugin<void> = {
185188
*/
186189
const opener: JupyterFrontEndPlugin<void> = {
187190
id: '@jupyter-notebook/application-extension:opener',
191+
description: 'A plugin to open documents in the main area.',
188192
autoStart: true,
189193
requires: [IRouter, IDocumentManager],
190194
optional: [ISettingRegistry],
@@ -253,6 +257,7 @@ const opener: JupyterFrontEndPlugin<void> = {
253257
*/
254258
const menus: JupyterFrontEndPlugin<void> = {
255259
id: '@jupyter-notebook/application-extension:menus',
260+
description: 'A plugin to customize menus.',
256261
requires: [IMainMenu],
257262
autoStart: true,
258263
activate: (app: JupyterFrontEnd, menu: IMainMenu) => {
@@ -283,6 +288,7 @@ const menus: JupyterFrontEndPlugin<void> = {
283288
*/
284289
const menuSpacer: JupyterFrontEndPlugin<void> = {
285290
id: '@jupyter-notebook/application-extension:menu-spacer',
291+
description: 'A plugin to provide a spacer at rank 900 in the menu area.',
286292
autoStart: true,
287293
activate: (app: JupyterFrontEnd) => {
288294
const menu = new Widget();
@@ -297,6 +303,7 @@ const menuSpacer: JupyterFrontEndPlugin<void> = {
297303
*/
298304
const pages: JupyterFrontEndPlugin<void> = {
299305
id: '@jupyter-notebook/application-extension:pages',
306+
description: 'Add commands to open the tree and running pages.',
300307
autoStart: true,
301308
requires: [ITranslator],
302309
optional: [ICommandPalette],
@@ -339,6 +346,7 @@ const pages: JupyterFrontEndPlugin<void> = {
339346
*/
340347
const pathOpener: JupyterFrontEndPlugin<INotebookPathOpener> = {
341348
id: '@jupyter-notebook/application-extension:path-opener',
349+
description: 'A plugin to open paths in new browser tabs.',
342350
autoStart: true,
343351
provides: INotebookPathOpener,
344352
activate: (app: JupyterFrontEnd): INotebookPathOpener => {
@@ -351,6 +359,7 @@ const pathOpener: JupyterFrontEndPlugin<INotebookPathOpener> = {
351359
*/
352360
const paths: JupyterFrontEndPlugin<JupyterFrontEnd.IPaths> = {
353361
id: '@jupyter-notebook/application-extension:paths',
362+
description: 'The default paths for a Jupyter Notebook app.',
354363
autoStart: true,
355364
provides: JupyterFrontEnd.IPaths,
356365
activate: (app: JupyterFrontEnd): JupyterFrontEnd.IPaths => {
@@ -366,9 +375,9 @@ const paths: JupyterFrontEndPlugin<JupyterFrontEnd.IPaths> = {
366375
*/
367376
const rendermime: JupyterFrontEndPlugin<IRenderMimeRegistry> = {
368377
id: '@jupyter-notebook/application-extension:rendermime',
378+
description: 'A plugin providing a rendermime registry.',
369379
autoStart: true,
370380
provides: IRenderMimeRegistry,
371-
description: 'Provides the render mime registry.',
372381
optional: [
373382
IDocumentManager,
374383
ILatexTypesetter,
@@ -439,6 +448,7 @@ const rendermime: JupyterFrontEndPlugin<IRenderMimeRegistry> = {
439448
*/
440449
const shell: JupyterFrontEndPlugin<INotebookShell> = {
441450
id: '@jupyter-notebook/application-extension:shell',
451+
description: 'The default Jupyter Notebook application shell.',
442452
autoStart: true,
443453
provides: INotebookShell,
444454
optional: [ISettingRegistry],
@@ -505,6 +515,7 @@ const splash: JupyterFrontEndPlugin<ISplashScreen> = {
505515
*/
506516
const status: JupyterFrontEndPlugin<ILabStatus> = {
507517
id: '@jupyter-notebook/application-extension:status',
518+
description: 'The default JupyterLab application status provider.',
508519
autoStart: true,
509520
provides: ILabStatus,
510521
activate: (app: JupyterFrontEnd) => {
@@ -520,6 +531,8 @@ const status: JupyterFrontEndPlugin<ILabStatus> = {
520531
*/
521532
const tabTitle: JupyterFrontEndPlugin<void> = {
522533
id: '@jupyter-notebook/application-extension:tab-title',
534+
description:
535+
'A plugin to display the document title in the browser tab title.',
523536
autoStart: true,
524537
requires: [INotebookShell],
525538
activate: (app: JupyterFrontEnd, shell: INotebookShell) => {
@@ -556,6 +569,7 @@ const tabTitle: JupyterFrontEndPlugin<void> = {
556569
*/
557570
const title: JupyterFrontEndPlugin<void> = {
558571
id: '@jupyter-notebook/application-extension:title',
572+
description: 'A plugin to display and rename the title of a file.',
559573
autoStart: true,
560574
requires: [INotebookShell, ITranslator],
561575
optional: [IDocumentManager, IRouter, IToolbarWidgetRegistry],
@@ -654,6 +668,7 @@ const title: JupyterFrontEndPlugin<void> = {
654668
*/
655669
const topVisibility: JupyterFrontEndPlugin<void> = {
656670
id: '@jupyter-notebook/application-extension:top',
671+
description: 'Plugin to toggle the top header visibility.',
657672
requires: [INotebookShell, ITranslator],
658673
optional: [ISettingRegistry, ICommandPalette],
659674
activate: (
@@ -735,6 +750,7 @@ const topVisibility: JupyterFrontEndPlugin<void> = {
735750
*/
736751
const sidePanelVisibility: JupyterFrontEndPlugin<void> = {
737752
id: '@jupyter-notebook/application-extension:sidepanel',
753+
description: 'Plugin to toggle the visibility of left or right side panel.',
738754
requires: [INotebookShell, ITranslator],
739755
optional: [IMainMenu, ICommandPalette],
740756
autoStart: true,
@@ -950,6 +966,7 @@ const sidePanelVisibility: JupyterFrontEndPlugin<void> = {
950966
*/
951967
const tree: JupyterFrontEndPlugin<JupyterFrontEnd.ITreeResolver> = {
952968
id: '@jupyter-notebook/application-extension:tree-resolver',
969+
description: 'The default tree route resolver plugin.',
953970
autoStart: true,
954971
requires: [IRouter],
955972
provides: JupyterFrontEnd.ITreeResolver,
@@ -1007,8 +1024,12 @@ const tree: JupyterFrontEndPlugin<JupyterFrontEnd.ITreeResolver> = {
10071024
},
10081025
};
10091026

1027+
/**
1028+
* Plugin to update tree path.
1029+
*/
10101030
const treePathUpdater: JupyterFrontEndPlugin<ITreePathUpdater> = {
10111031
id: '@jupyter-notebook/application-extension:tree-updater',
1032+
description: 'Plugin to update tree path.',
10121033
requires: [IRouter],
10131034
provides: ITreePathUpdater,
10141035
activate: (app: JupyterFrontEnd, router: IRouter) => {
@@ -1029,8 +1050,12 @@ const treePathUpdater: JupyterFrontEndPlugin<ITreePathUpdater> = {
10291050
autoStart: true,
10301051
};
10311052

1053+
/**
1054+
* Translator plugin
1055+
*/
10321056
const translator: JupyterFrontEndPlugin<void> = {
10331057
id: '@jupyter-notebook/application-extension:translator',
1058+
description: 'Translator plugin',
10341059
requires: [INotebookShell, ITranslator],
10351060
autoStart: true,
10361061
activate: (
@@ -1047,6 +1072,7 @@ const translator: JupyterFrontEndPlugin<void> = {
10471072
*/
10481073
const zen: JupyterFrontEndPlugin<void> = {
10491074
id: '@jupyter-notebook/application-extension:zen',
1075+
description: 'Zen mode plugin.',
10501076
autoStart: true,
10511077
requires: [ITranslator],
10521078
optional: [ICommandPalette, INotebookShell],

packages/console-extension/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const opener: JupyterFrontEndPlugin<void> = {
2525
id: '@jupyter-notebook/console-extension:opener',
2626
requires: [IRouter],
2727
autoStart: true,
28+
description: 'A plugin to open consoles in a new tab',
2829
activate: (app: JupyterFrontEnd, router: IRouter) => {
2930
const { commands } = app;
3031
const consolePattern = new RegExp('/consoles/(.*)');
@@ -59,6 +60,7 @@ const redirect: JupyterFrontEndPlugin<void> = {
5960
requires: [IConsoleTracker],
6061
optional: [INotebookPathOpener],
6162
autoStart: true,
63+
description: 'Open consoles in a new tab',
6264
activate: (
6365
app: JupyterFrontEnd,
6466
tracker: IConsoleTracker,

packages/docmanager-extension/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const opener: JupyterFrontEndPlugin<IDocumentWidgetOpener> = {
2929
autoStart: true,
3030
optional: [INotebookPathOpener, INotebookShell],
3131
provides: IDocumentWidgetOpener,
32+
description: 'Open documents in a new browser tab',
3233
activate: (
3334
app: JupyterFrontEnd,
3435
notebookPathOpener: INotebookPathOpener,

packages/documentsearch-extension/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const notebookShellWidgetListener: JupyterFrontEndPlugin<void> = {
1818
id: '@jupyter-notebook/documentsearch-extension:notebookShellWidgetListener',
1919
requires: [INotebookShell, ISearchProviderRegistry],
2020
autoStart: true,
21+
description: 'A plugin to add document search functionalities',
2122
activate: (
2223
app: JupyterFrontEnd,
2324
notebookShell: INotebookShell,

packages/help-extension/src/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ namespace CommandIDs {
4949
const open: JupyterFrontEndPlugin<void> = {
5050
id: '@jupyter-notebook/help-extension:open',
5151
autoStart: true,
52+
description: 'A plugin to open the about section with resources',
5253
activate: (app: JupyterFrontEnd): void => {
5354
const { commands } = app;
5455

@@ -70,6 +71,8 @@ const about: JupyterFrontEndPlugin<void> = {
7071
autoStart: true,
7172
requires: [ITranslator],
7273
optional: [IMainMenu, ICommandPalette],
74+
description:
75+
'Plugin to add a command to show an About Jupyter Notebook and Markdown Reference',
7376
activate: (
7477
app: JupyterFrontEnd,
7578
translator: ITranslator,

packages/lab-extension/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ interface ISwitcherChoice {
6767
*/
6868
const interfaceSwitcher: JupyterFrontEndPlugin<void> = {
6969
id: '@jupyter-notebook/lab-extension:interface-switcher',
70+
description: 'A plugin to add custom toolbar items to the notebook page.',
7071
autoStart: true,
7172
requires: [ITranslator, INotebookTracker],
7273
optional: [
@@ -218,6 +219,7 @@ const interfaceSwitcher: JupyterFrontEndPlugin<void> = {
218219
*/
219220
const launchNotebookTree: JupyterFrontEndPlugin<void> = {
220221
id: '@jupyter-notebook/lab-extension:launch-tree',
222+
description: 'A plugin to add a command to open the Jupyter Notebook Tree.',
221223
autoStart: true,
222224
requires: [ITranslator],
223225
optional: [ICommandPalette],

packages/notebook-extension/src/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ const SCROLLED_OUTPUTS_CLASS = 'jp-mod-outputsScrolled';
6868
*/
6969
const checkpoints: JupyterFrontEndPlugin<void> = {
7070
id: '@jupyter-notebook/notebook-extension:checkpoints',
71+
description: 'A plugin for the checkpoint indicator.',
7172
autoStart: true,
7273
requires: [IDocumentManager, ITranslator],
7374
optional: [INotebookShell, IToolbarWidgetRegistry],
@@ -133,6 +134,8 @@ const checkpoints: JupyterFrontEndPlugin<void> = {
133134
*/
134135
const closeTab: JupyterFrontEndPlugin<void> = {
135136
id: '@jupyter-notebook/notebook-extension:close-tab',
137+
description:
138+
'Add a command to close the browser tab when clicking on "Close and Shut Down".',
136139
autoStart: true,
137140
requires: [IMainMenu],
138141
optional: [ITranslator],
@@ -167,6 +170,7 @@ const closeTab: JupyterFrontEndPlugin<void> = {
167170
*/
168171
const kernelLogo: JupyterFrontEndPlugin<void> = {
169172
id: '@jupyter-notebook/notebook-extension:kernel-logo',
173+
description: 'The kernel logo plugin.',
170174
autoStart: true,
171175
requires: [INotebookShell],
172176
optional: [IToolbarWidgetRegistry],
@@ -230,6 +234,7 @@ const kernelLogo: JupyterFrontEndPlugin<void> = {
230234
*/
231235
const kernelStatus: JupyterFrontEndPlugin<void> = {
232236
id: '@jupyter-notebook/notebook-extension:kernel-status',
237+
description: 'A plugin to display the kernel status.',
233238
autoStart: true,
234239
requires: [INotebookShell, ITranslator],
235240
activate: (
@@ -294,6 +299,7 @@ const kernelStatus: JupyterFrontEndPlugin<void> = {
294299
*/
295300
const scrollOutput: JupyterFrontEndPlugin<void> = {
296301
id: '@jupyter-notebook/notebook-extension:scroll-output',
302+
description: 'A plugin to enable scrolling for outputs by default.',
297303
autoStart: true,
298304
requires: [INotebookTracker],
299305
optional: [ISettingRegistry],
@@ -379,6 +385,7 @@ const scrollOutput: JupyterFrontEndPlugin<void> = {
379385
*/
380386
const notebookToolsWidget: JupyterFrontEndPlugin<void> = {
381387
id: '@jupyter-notebook/notebook-extension:notebook-tools',
388+
description: 'A plugin to add the NotebookTools to the side panel.',
382389
autoStart: true,
383390
requires: [INotebookShell],
384391
optional: [INotebookTools],
@@ -407,6 +414,7 @@ const notebookToolsWidget: JupyterFrontEndPlugin<void> = {
407414
*/
408415
const tabIcon: JupyterFrontEndPlugin<void> = {
409416
id: '@jupyter-notebook/notebook-extension:tab-icon',
417+
description: 'A plugin to update the tab icon based on the kernel status.',
410418
autoStart: true,
411419
requires: [INotebookTracker],
412420
activate: (app: JupyterFrontEnd, tracker: INotebookTracker) => {
@@ -456,6 +464,7 @@ const tabIcon: JupyterFrontEndPlugin<void> = {
456464
*/
457465
const trusted: JupyterFrontEndPlugin<void> = {
458466
id: '@jupyter-notebook/notebook-extension:trusted',
467+
description: 'A plugin that adds a Trusted indicator to the menu area.',
459468
autoStart: true,
460469
requires: [INotebookShell, ITranslator],
461470
activate: (

packages/terminal-extension/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { find } from '@lumino/algorithm';
2323
*/
2424
const opener: JupyterFrontEndPlugin<void> = {
2525
id: '@jupyter-notebook/terminal-extension:opener',
26+
description: 'A plugin to open terminals in a new tab.',
2627
requires: [IRouter, ITerminalTracker],
2728
autoStart: true,
2829
activate: (
@@ -62,6 +63,7 @@ const opener: JupyterFrontEndPlugin<void> = {
6263
*/
6364
const redirect: JupyterFrontEndPlugin<void> = {
6465
id: '@jupyter-notebook/terminal-extension:redirect',
66+
description: 'Open terminals in a new tab.',
6567
requires: [ITerminalTracker],
6668
optional: [INotebookPathOpener],
6769
autoStart: true,

packages/tree-extension/src/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ namespace CommandIDs {
7676
*/
7777
const createNew: JupyterFrontEndPlugin<void> = {
7878
id: '@jupyter-notebook/tree-extension:new',
79+
description:
80+
'Plugin to add extra commands to the file browser to create new notebooks, files, consoles and terminals.',
7981
requires: [ITranslator],
8082
optional: [IToolbarWidgetRegistry],
8183
autoStart: true,
@@ -128,6 +130,8 @@ const createNew: JupyterFrontEndPlugin<void> = {
128130
*/
129131
const fileActions: JupyterFrontEndPlugin<void> = {
130132
id: '@jupyter-notebook/tree-extension:file-actions',
133+
description:
134+
'A plugin to add file browser actions to the file browser toolbar.',
131135
autoStart: true,
132136
requires: [IDefaultFileBrowser, IToolbarWidgetRegistry, ITranslator],
133137
activate: (
@@ -177,6 +181,8 @@ const fileActions: JupyterFrontEndPlugin<void> = {
177181
*/
178182
const loadPlugins: JupyterFrontEndPlugin<void> = {
179183
id: '@jupyter-notebook/tree-extension:load-plugins',
184+
description:
185+
'Plugin to load the default plugins that are loaded on all the Notebook pages (tree, edit, view, etc.) so they are visible in the settings editor.',
180186
autoStart: true,
181187
requires: [ISettingRegistry],
182188
activate(app: JupyterFrontEnd, settingRegistry: ISettingRegistry) {
@@ -233,6 +239,7 @@ const loadPlugins: JupyterFrontEndPlugin<void> = {
233239
*/
234240
const openFileBrowser: JupyterFrontEndPlugin<void> = {
235241
id: '@jupyter-notebook/tree-extension:open-file-browser',
242+
description: 'A plugin to add file browser commands for the tree view.',
236243
requires: [INotebookTree, IDefaultFileBrowser],
237244
autoStart: true,
238245
activate: (
@@ -254,6 +261,7 @@ const openFileBrowser: JupyterFrontEndPlugin<void> = {
254261
*/
255262
const notebookTreeWidget: JupyterFrontEndPlugin<INotebookTree> = {
256263
id: '@jupyter-notebook/tree-extension:widget',
264+
description: 'A plugin to add the file browser widget to an INotebookShell.',
257265
requires: [
258266
IDefaultFileBrowser,
259267
ITranslator,

0 commit comments

Comments
 (0)