Skip to content

Commit c557541

Browse files
authored
Merge branch 'main' into snyk-fix-90310829e6ee5fd96a43674b86d6dc46
2 parents 7b36be6 + 71dffde commit c557541

File tree

13 files changed

+1442
-1
lines changed

13 files changed

+1442
-1
lines changed

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"blockgroup",
2525
"channeldef",
2626
"dataframe",
27+
"datascience",
2728
"deepnote",
2829
"deepnoteserver",
2930
"dntk",

package.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,72 @@
109109
"category": "Deepnote",
110110
"icon": "$(notebook)"
111111
},
112+
{
113+
"command": "deepnote.addSqlBlock",
114+
"title": "%deepnote.commands.addSqlBlock.title%",
115+
"category": "Deepnote",
116+
"icon": "$(database)"
117+
},
118+
{
119+
"command": "deepnote.addBigNumberChartBlock",
120+
"title": "%deepnote.commands.addBigNumberChartBlock.title%",
121+
"category": "Deepnote",
122+
"icon": "$(graph)"
123+
},
124+
{
125+
"command": "deepnote.addInputTextBlock",
126+
"title": "%deepnote.commands.addInputTextBlock.title%",
127+
"category": "Deepnote",
128+
"icon": "$(symbol-text)"
129+
},
130+
{
131+
"command": "deepnote.addInputTextareaBlock",
132+
"title": "%deepnote.commands.addInputTextareaBlock.title%",
133+
"category": "Deepnote",
134+
"icon": "$(note)"
135+
},
136+
{
137+
"command": "deepnote.addInputSelectBlock",
138+
"title": "%deepnote.commands.addInputSelectBlock.title%",
139+
"category": "Deepnote",
140+
"icon": "$(list-selection)"
141+
},
142+
{
143+
"command": "deepnote.addInputSliderBlock",
144+
"title": "%deepnote.commands.addInputSliderBlock.title%",
145+
"category": "Deepnote",
146+
"icon": "$(settings-more-action)"
147+
},
148+
{
149+
"command": "deepnote.addInputCheckboxBlock",
150+
"title": "%deepnote.commands.addInputCheckboxBlock.title%",
151+
"category": "Deepnote",
152+
"icon": "$(check)"
153+
},
154+
{
155+
"command": "deepnote.addInputDateBlock",
156+
"title": "%deepnote.commands.addInputDateBlock.title%",
157+
"category": "Deepnote",
158+
"icon": "$(calendar)"
159+
},
160+
{
161+
"command": "deepnote.addInputDateRangeBlock",
162+
"title": "%deepnote.commands.addInputDateRangeBlock.title%",
163+
"category": "Deepnote",
164+
"icon": "$(calendar)"
165+
},
166+
{
167+
"command": "deepnote.addInputFileBlock",
168+
"title": "%deepnote.commands.addInputFileBlock.title%",
169+
"category": "Deepnote",
170+
"icon": "$(file)"
171+
},
172+
{
173+
"command": "deepnote.addButtonBlock",
174+
"title": "%deepnote.commands.addButtonBlock.title%",
175+
"category": "Deepnote",
176+
"icon": "$(add)"
177+
},
112178
{
113179
"command": "dataScience.ClearCache",
114180
"title": "%jupyter.command.dataScience.clearCache.title%",
@@ -736,6 +802,11 @@
736802
"group": "navigation@0",
737803
"when": "notebookType == 'deepnote'"
738804
},
805+
{
806+
"command": "deepnote.addSqlBlock",
807+
"group": "navigation@1",
808+
"when": "notebookType == 'deepnote'"
809+
},
739810
{
740811
"command": "jupyter.restartkernel",
741812
"group": "navigation/execute@5",

package.nls.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,17 @@
253253
"deepnote.commands.newProject.title": "New Project",
254254
"deepnote.commands.importNotebook.title": "Import Notebook",
255255
"deepnote.commands.importJupyterNotebook.title": "Import Jupyter Notebook",
256+
"deepnote.commands.addSqlBlock.title": "Add SQL Block",
257+
"deepnote.commands.addBigNumberChartBlock.title": "Add Big Number Chart Block",
258+
"deepnote.commands.addInputTextBlock.title": "Add Input Text Block",
259+
"deepnote.commands.addInputTextareaBlock.title": "Add Input Textarea Block",
260+
"deepnote.commands.addInputSelectBlock.title": "Add Input Select Block",
261+
"deepnote.commands.addInputSliderBlock.title": "Add Input Slider Block",
262+
"deepnote.commands.addInputCheckboxBlock.title": "Add Input Checkbox Block",
263+
"deepnote.commands.addInputDateBlock.title": "Add Input Date Block",
264+
"deepnote.commands.addInputDateRangeBlock.title": "Add Input Date Range Block",
265+
"deepnote.commands.addInputFileBlock.title": "Add Input File Block",
266+
"deepnote.commands.addButtonBlock.title": "Add Button Block",
256267
"deepnote.views.explorer.name": "Explorer",
257268
"deepnote.views.explorer.welcome": "No Deepnote notebooks found in this workspace.",
258269
"deepnote.command.selectNotebook.title": "Select Notebook"

src/commands.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,4 +185,15 @@ export interface ICommandNameArgumentTypeMapping {
185185
[DSCommands.InstallPythonExtensionViaKernelPicker]: [];
186186
[DSCommands.InstallPythonViaKernelPicker]: [];
187187
[DSCommands.ContinueEditSessionInCodespace]: [];
188+
[DSCommands.AddSqlBlock]: [];
189+
[DSCommands.AddBigNumberChartBlock]: [];
190+
[DSCommands.AddInputTextBlock]: [];
191+
[DSCommands.AddInputTextareaBlock]: [];
192+
[DSCommands.AddInputSelectBlock]: [];
193+
[DSCommands.AddInputSliderBlock]: [];
194+
[DSCommands.AddInputCheckboxBlock]: [];
195+
[DSCommands.AddInputDateBlock]: [];
196+
[DSCommands.AddInputDateRangeBlock]: [];
197+
[DSCommands.AddInputFileBlock]: [];
198+
[DSCommands.AddButtonBlock]: [];
188199
}

0 commit comments

Comments
 (0)