Cory Rivera
8e04d3992a
Register additional editor overrides when adding new notebook file types ( #17708 )
...
* Also standardized file extension contributions to always start with a period, and to always do lower case string comparisons for file extensions.
2021-11-19 09:14:41 -08:00
Maddy
6b226de450
refactor deltaDecorations logic ( #17630 )
2021-11-10 13:38:30 -08:00
Maddy
1d3debb897
Maddy/edit mode events cleanup ( #17636 )
...
* remove multiple events
* correct preview check
* add test
2021-11-10 10:59:29 -08:00
Cory Rivera
329ea4103c
Make various enhancements to Notebook Provider registration. ( #17609 )
...
* Use built-in SQL ExecuteProvider by default if no other provider exists.
* Gracefully handle case where standardKernels are not defined for a provider.
* Standardize on just using arrays for various provider registration details.
2021-11-09 16:00:34 -08:00
Charles Gagnon
84ae306d57
Fix not being able to type in code cell after switching from text ( #17590 )
...
* Fix not being able to type in code cell after switching from text
* comment
2021-11-03 19:48:04 -07:00
Daniel Grajeda
6200a61382
Notebook Views initialization fix ( #17109 )
...
Separate the Views load from the initialization. This way we can load previously created views, and only add the new views data to the document when needed. For now, this happens only when a view is created.
2021-10-22 14:50:21 -07:00
Cory Rivera
0bc8e54568
Fix quoted link failures by removing quotes from unescaped paths, rather than just the escaped paths. ( #17419 )
2021-10-20 18:12:39 -07:00
Lucy Zhang
8212eecec7
add listener for celltype change ( #17414 )
2021-10-20 13:51:27 -07:00
Lucy Zhang
9a05d81215
use setContent instead of addElement ( #17386 )
2021-10-18 18:32:05 -07:00
Vasu Bhog
a8ee26ed89
Move split cell icon ( #17383 )
...
* move split cell icon before delete icon
2021-10-18 16:43:25 -07:00
Vasu Bhog
c368fcab25
Add Markdown Keybindings ( #17359 )
...
* add markdown keybindings
* remove add link keybinding
* move files
* fix layering
2021-10-15 11:40:19 -07:00
Lucy Zhang
e315115f00
Hide notebook toolbar icons in diff editor ( #17303 )
...
* hide notebook toolbar icons in diff editor
* move showActions to notebookInput
* make showActions readonly
2021-10-15 05:19:14 -07:00
Maddy
53ab99761f
save lastEditMode and use that as default ( #17206 )
...
* save lastEditMode
* change style to active
* addActiveClassFromEditMode
* add undefined to declaration
* remove from public interface
* private
* lastEditMode to last selected mode
* comments
* set active in one place
* rename method
2021-10-14 11:01:54 -07:00
Alan Ren
156f8f1d5f
only show new query when query is supported ( #17346 )
...
* only show new query when query is supported
* test case fix and pr comments
* rename context key
2021-10-13 13:01:31 -07:00
rajeshka
f5331e3d69
Added code to enable disable split cell icon ( #17331 )
...
* Added code to enable diable split cell icon
* adding back the deleted code
* refactored
* minimized lines
* simplified code
* minor change
* minor change
* Addressed PR
* Addressed PR
* removing unused enum value
2021-10-11 09:47:25 -07:00
Vasu Bhog
faa29945a3
Fix Link Callout Dialog consistency in split/md ( #17313 )
...
* fix consistency with space and %20 files in split/md
* add a test
2021-10-08 15:24:00 -07:00
Vasu Bhog
c35cd3e48f
Fixes Encoding / Decoding issues with Notebook Linking ( #17304 )
...
* fixes encoding / decoding issues with %20 files
* fix windows test
* address PR comments and absolute path setting
2021-10-08 15:22:10 -07:00
Maddy
f88bef8b4c
save richTextCursorPosition/markdownCursorPosition ( #17180 )
...
* save richTextCursorPosition/markdownCursorPosition
* rename variables
* check to see if the nodes exist
* added comments
* add comments
* check if valid offset
* pr comments
* sqllint error fix
2021-10-06 23:24:22 -07:00
rajeshka
671c062e59
Split notebookcell ( #17185 )
...
* Initial Split code
* minor change
* minor changes
* Added split cell button to initActionBar, created split cell class to pss cell context.
* added changes
* fixed index
* Split Cell Working in markdown mode
* Fixed highlighting
* Preserve the edit state
* Added new icon and updated styles and cellToolbar component with new icon name.
* Addressed PR
* Addressed PR
* Added back isEditMode flag
* Moved split action to after edit toggle.
* Fixed typo
* Addressed PR
* Addressed PR
* Removed deletion of the cell
* fixed the comments
Co-authored-by: Hale Rankin <harankin@microsoft.com >
2021-10-06 18:18:22 -07:00
Vasu Bhog
a0576456b6
Add Keybindings for some Markdown Toolbar Actions ( #17198 )
...
* Add Keybindings for some markdown toolbar
* add extension registry
* when in text cell stopPropagation to only trigger one command
2021-09-30 15:20:45 -07:00
Cory Rivera
14904bb671
Split up NotebookProvider into separate providers for handling file serialization and cell execution. ( #17176 )
2021-09-29 16:15:28 -07:00
Barbara Valdez
dfc2635aa7
Add vertical scroll bar to Preview in Split View ( #17164 )
...
* reset max height
* add editor height
* set md editor height
2021-09-29 15:29:03 -07:00
Daniel Grajeda
08acd6aadc
Notebook Views grid fixes ( #17170 )
2021-09-28 14:52:00 -07:00
Vasu Bhog
db1d3cc517
Markdown Horizontal Scrollbar Fix ( #17083 )
...
* dynamically change horizontal scrollbar
* working horizontal scrollbar
* created new event to handle both scrollbar and mouse wheel
* only show scrollbar when needed
2021-09-27 16:54:43 -07:00
Daniel Grajeda
4a715e473a
Add guids to RunAll and RunCell events ( #17123 )
...
Add guids to RunAll and RunCell events
2021-09-21 20:56:46 -07:00
Charles Gagnon
8d3b57cb76
Add no-cond-assign rule ( #17039 )
2021-09-09 16:23:18 -07:00
Chris LaFreniere
d32f25425b
Use updated markdown renderer from vscode ( #16988 )
2021-09-03 10:43:25 -07:00
Chris LaFreniere
b27bdb0027
Add tooltip for WYSIWYG callout link ( #16967 )
2021-09-01 17:24:06 -07:00
Chris LaFreniere
502feba76d
Hide suggest widget on cell execution ( #16895 )
...
* Hide suggest widget on cell execution
* Also hide for query editor
* Fix compile issue with tests
2021-09-01 16:27:08 -07:00
Charles Gagnon
45e251c0d6
Add test ( #16953 )
2021-08-31 15:58:19 -07:00
Daniel Grajeda
e02ae0865a
Notebook Views Insert Cells Modal ( #16836 )
...
* Add html-to-image package
* Add image card type
2021-08-31 13:11:21 -07:00
Cory Rivera
0082031f97
Replace deprecated assert functions in test files. ( #16945 )
2021-08-31 09:04:17 -07:00
Vasu Bhog
529e4fe0de
Fix ADS Web notebook cross linking ( #16926 )
...
* fix cross linking files
* use host location instead
2021-08-30 15:43:16 -07:00
Lucy Zhang
ea5f9091d1
add horizontal scroll bar to output ( #16918 )
2021-08-27 11:42:02 -07:00
Charles Gagnon
0aede16aaa
Fix duplicate editor windows on reload ( #16893 )
2021-08-25 20:07:58 -07:00
Cory Rivera
cb7b7da0a4
Merge from vscode e3c4990c67c40213af168300d1cfeb71d680f877 ( #16569 )
2021-08-25 16:28:29 -07:00
Charles Gagnon
fe1f8fb2f3
Add setting for enabling using new markdown renderer ( #16864 )
...
* Add setting for enabling using new markdown renderer
* Use const
* Fix circular dependency
* Default setting to false
2021-08-25 12:43:32 -07:00
Daniel Grajeda
ed280cb003
Add html-to-image library ( #16845 )
...
For use by the Notebook Views insert cells modal
2021-08-20 17:18:23 -07:00
Daniel Grajeda
640c6f30f4
Notebook views UI 2 ( #15865 )
...
Provide access to the Notebook Views UI. Feature is hidden behind a feature flag.
Co-authored-by: rkselfhost <rkselfhost@outlook.com >
2021-08-17 14:15:28 -07:00
Charles Gagnon
82576e54a4
Add more marked.js tests ( #16800 )
2021-08-17 14:02:18 -07:00
Daniel Grajeda
10ee4f2d7c
Notebook Views Actions fix for ADS Web ( #16707 )
2021-08-11 13:19:02 -07:00
Lucy Zhang
9f761c44c4
Add incremental grid loading option to notebooks ( #16577 )
...
* render grids incrementally
* add loading spinner
* fix loading animation
* move rendergrids to notebook editor component
* add setting for incremental grid loading
* check configuration
* just use setTimeout to queue grids
* remove extra line
* add setter/getter for isloading
* add comment
2021-08-05 13:44:26 -07:00
Charles Gagnon
d189805bcc
Add marked.js parse differences tests ( #16554 )
...
* Add marked.js parse differences tests
* cleanup
2021-08-04 09:07:24 -07:00
Daniel Grajeda
0567141bc4
Notebook Views Actions ( #16207 )
...
This adds the actions currently needed by the views
2021-08-03 22:52:27 -07:00
Daniel Grajeda
e2dd257fa9
Add Notebook Views dropdown ( #16228 )
...
This adds the entry point to NVs. It is currently hidden behind a feature flag, which can be enabled in the settings.
2021-08-03 21:15:11 -07:00
Vasu Bhog
179678b495
Refactor Notebook Link Handling ( #16473 )
...
* add keep absolute paths instead convert setting
* update tests/config
* refactor links in NotebookLinkHandler
2021-07-30 19:20:38 -07:00
Vasu Bhog
788c84a1ee
fix email else condition ( #16491 )
2021-07-29 18:37:06 -07:00
Cory Rivera
63a65f5821
Remove quotes from inserted markdown links ( #16457 )
2021-07-27 16:40:20 -07:00
Charles Gagnon
2d8e0d648a
Fix SQL/Notebook editors opening as plaintext ( #16442 )
...
* Register overrides at startup
* Always wait for extensions
* Fix compile errors
2021-07-27 13:46:16 -07:00
Vasu Bhog
151522013f
Notebook Markdown email rendering fix ( #16417 )
...
* fix email WYSIWYG rendering
2021-07-23 15:24:34 -07:00