diff --git a/package.json b/package.json index 5321f9bc86..3d3b59ec40 100644 --- a/package.json +++ b/package.json @@ -728,9 +728,30 @@ { "id": "editor.interactiveWindow.context", "label": "%jupyter.command.editor.interactiveWindow.context.label%" + }, + { + "id": "deepnote.explorer.context", + "label": "Deepnote" } ], "menus": { + "view/title": [ + { + "command": "deepnote.newProject", + "when": "view == deepnoteExplorer", + "group": "navigation@1" + }, + { + "command": "deepnote.importNotebook", + "when": "view == deepnoteExplorer", + "group": "navigation@2" + }, + { + "command": "deepnote.refreshExplorer", + "when": "view == deepnoteExplorer", + "group": "navigation@3" + } + ], "editor/context": [ { "submenu": "editor.interactiveWindow.context", @@ -779,6 +800,14 @@ "when": "editorFocus && editorLangId == python && !notebookEditorFocused && isWorkspaceTrusted" } ], + "deepnote.explorer.context": [ + { + "command": "deepnote.newProject" + }, + { + "command": "deepnote.importNotebook" + } + ], "editor/title": [ { "command": "jupyter.restartkernel", @@ -951,6 +980,11 @@ } ], "explorer/context": [ + { + "submenu": "deepnote.explorer.context", + "when": "isWorkspaceTrusted", + "group": "navigation@10" + }, { "when": "resourceLangId == python && !notebookEditorFocused && isWorkspaceTrusted", "command": "jupyter.runFileInteractive",