Commit 2cf42fd
feat: Add support for project notebook management (create, rename, delete) (#88)
* feat: Set up a custom renderer for data frames.
* wip
* feat: Implement deepnote big number chart support and renderer
* refactor: Clean up debug logs and improve big number block conversion handling
* feat: Pass block metadata to cell outputs for renderer to access
* feat: Set up a custom renderer for data frames.
* wip
* add the table state.
* page size handling
* add page navigation
* Generate Python code before executing the cell.
* clean up
* pr feedback.
* Update build/esbuild/build.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* feat: Support Deepnote input blocks
* feat: Move DEEPNOTE_VSCODE_RAW_CONTENT_KEY into constants file
* feedback
* feat: Add Deepnote input blocks converters
* refactor: Remove debug logs and refine metadata parsing in Deepnote converters
* feat: Add chart big number converter tests
* Reformat test code
* Refactor ChartBigNumberBlockConverter tests to use deepStrictEqual for assertions
* Remove debug console.log
* docs and metadata changes.
* fix: Spread operator object fallback
* Merge remote-tracking branch 'origin/chris/display-data-frames' into tomaskislan/grn-4762-support-big-number-blocks
* use the latest blocks package.
* add the packages permission
* simplify execution flow.
* remove copyright header
* clean up the code
* revert controller changes
* pr feedback
* pr feedback
* fix the tests
* guard metadata spread against undefined.
* fix: Merge cleanup
* More merge cleanup
* Fix test
* feat: Add big number chart json config execution support
* feat: Add commands to add Deepnote SQL block and big number chart
* fix: Enhance error handling for big number metadata parsing and improve chart big number renderer logic
* refactor: Simplify chart big number renderer by directly rendering to the element and improve cleanup logic for unmounting components
* Fix import
* fix: Change deepnote_big_number_comparison_type to string type for better flexibility
* fix: Remove constants, accidentaly added to wrong branch
* Update package.json
* feat: Add new commands for SQL and Big Number Chart blocks
* feat: Update command titles and add SQL block functionality
* Fix imports
* fix: Fix imports
* fix: Remove unused code
* feat: Add support for new input blocks in Deepnote, including text, textarea, select, slider, checkbox, date, date range, file, and button blocks
* feat(big-number): Integrate react-error-boundary for error handling and enhance big number output rendering
* Update test snapshots
* feat: Update input create default values to match those in deepnote app
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* feat: Add support for project notebook management (create, rename, delete)
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* feat: Localize commands, extract notebook creation logic to reuse in methods
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* feat: Extract command ids into separate config files
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* refactor: Improve notebook renaming logic in DeepnoteExplorerView
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* refactor: Remove lowercase logic from notebook names checks
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* test: Implement DeepnoteExplorerView tests
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* fix: Fix spell check
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* test: Change assertion
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Revert "fix: Fix spell check"
This reverts commit 8becf4e.
* Revert "test: Change assertion"
This reverts commit fe81891.
* fix: Fix spellcheck
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* fix: Fix test yaml
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* test: Update assertions
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* fix: Change version assertion from string to number
* fix: Fix version type in deepnote project unit test
* refactor: Reuse promptForNotebookName in rename command, simplify createAndAddNotebookToProject function
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* fix: Exclude current name from validation when renaming notebook
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* fix: Sort imports
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
* feat(open-in-deepnote): button in toolbar (#153)
* feat(open-in-deepnote): button in toolbar
* chore: fix tests
* fix(warn-on-startup): move `jupyterViewVariables` view into the existing deepnote container (#148)
* feat: Order projects and notebooks alphabetically.
* fix: Don't recreate the tree.
* fix test
* fix dumb tests.
* coderabbit feedback
* more feedback
---------
Signed-off-by: Tomas Kislan <tomas@kislan.sk>
Co-authored-by: Christoffer Artmann <artgaard@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Lukas Šaltėnas <lukas.saltenas@gmail.com>1 parent 53be9e5 commit 2cf42fd
File tree
12 files changed
+2264
-64
lines changed- src
- notebooks/deepnote
- platform/common
12 files changed
+2264
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
198 | 240 | | |
199 | 241 | | |
200 | 242 | | |
| |||
868 | 910 | | |
869 | 911 | | |
870 | 912 | | |
871 | | - | |
| 913 | + | |
872 | 914 | | |
873 | 915 | | |
874 | 916 | | |
875 | 917 | | |
876 | | - | |
| 918 | + | |
877 | 919 | | |
878 | 920 | | |
879 | 921 | | |
880 | 922 | | |
881 | | - | |
| 923 | + | |
882 | 924 | | |
883 | 925 | | |
884 | 926 | | |
885 | 927 | | |
886 | | - | |
| 928 | + | |
887 | 929 | | |
888 | 930 | | |
889 | 931 | | |
890 | 932 | | |
891 | | - | |
| 933 | + | |
892 | 934 | | |
893 | 935 | | |
894 | 936 | | |
895 | 937 | | |
896 | | - | |
| 938 | + | |
897 | 939 | | |
898 | 940 | | |
899 | 941 | | |
900 | 942 | | |
901 | | - | |
| 943 | + | |
902 | 944 | | |
903 | 945 | | |
904 | 946 | | |
905 | 947 | | |
906 | | - | |
| 948 | + | |
907 | 949 | | |
908 | 950 | | |
909 | 951 | | |
910 | 952 | | |
911 | | - | |
| 953 | + | |
912 | 954 | | |
913 | 955 | | |
914 | 956 | | |
915 | 957 | | |
916 | | - | |
| 958 | + | |
917 | 959 | | |
918 | 960 | | |
919 | 961 | | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
920 | 967 | | |
921 | 968 | | |
922 | 969 | | |
| |||
1446 | 1493 | | |
1447 | 1494 | | |
1448 | 1495 | | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
1449 | 1526 | | |
1450 | 1527 | | |
1451 | 1528 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
269 | 276 | | |
270 | 277 | | |
271 | 278 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
201 | 211 | | |
202 | 212 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments