Commit Graph

905 Commits

Author SHA1 Message Date
Aasim Khan
a0c2dc199e Adding Execution Plan Editor to ADS (#18696)
* Pushing Execution Plan Editor

* Renaming class
Handling error

* Awaiting for handlers to be registered

* Addressing some PR comments

* Fixing return type for provider

* Fixing editor id and removing unnecessary overrides

* Adding a namespace

* adding execution plan namespace

* Adding protocol comment

* Fixing if logic

* Fixing error message

* Cleaning up code

* cleanup code

* Adding help comments

* Fixing method call

* Using path.ts to get the base file name

* converting to lambda functions

* Adding comment for run action

* Fixing pr comments

* Fixing editor label

* Fixing doc comments

* Adding some more comments

* Fixign branding in comments
2022-03-16 15:07:29 -07:00
Cory Rivera
95980130c8 Correctly handle creating and saving untitled notebook .dib files. (#18744) 2022-03-16 14:37:21 -07:00
Alan Ren
784a9270c8 fix the issue that chart axis's min/max value can't be zero (#18743)
* fix chart option issue

* pr comment
2022-03-15 17:55:16 -07:00
Alex Ma
26e6cd28c2 Add account loading screen until provider accounts have finished loading (#18692)
* Added wait for accounts to be loaded to prevent premature loading

* revert changes

* WIP loading screen

* added work in progress emitter.

* added test event fire

* added test for accountDialogController emitter

* fixed test

* added event emitters inside accountDialog

* WIP changes to loading

* added fixed filter removed unnecessary emitters

* added working loading page

* fix for spaces

* added improvements

* fixed space

* added loading provider label xlf

* moved spinner = false to show views

* Added loadingSpinner

* removed additional localization

* removed change to css

* removed newline

* small changes

* fixed spaces

* fixed line positions

* removed loadingComplete

* added spinner container (so that account loading spinner appears on top)

* added small fix

* changed wording

* changed wording slightly

* removed comment
2022-03-14 09:44:09 -07:00
Cory Rivera
f013a88163 Only update active cell if the cell isn't currently in edit mode. (#18672) 2022-03-07 17:11:05 -08:00
Cory Rivera
eccb77aca3 Preserve previous code cell's language when creating a new code cell from an existing context. (#18646) 2022-03-06 21:35:57 -08:00
Aditya Bist
a2c39369c9 Add and move editable dropdown (#18589)
* add and move editable dropdown

* merge dropdowns

* merge dropdown cell factories

* add new column and hide in properties

* remove editable property
2022-03-03 20:23:20 -08:00
Barbara Valdez
8b543d1d12 check find widget is not focused (#18506)
* remove logic to check that the find widget is visible
2022-03-02 16:57:37 -08:00
Cory Rivera
79cda5cbe5 Add language picker to notebook cells. (#18601) 2022-03-02 10:25:55 -08:00
Cory Rivera
ffdefd3b52 Add notebook extension support for .NET Interactive. (#18334)
* Also updated kernel dropdown to only include SQL aliased kernels when using SQL notebook provider.
2022-02-25 11:58:59 -08:00
Aasim Khan
02341088eb Renaming query plan to execution plan (#18551) 2022-02-25 00:49:34 -08:00
Aasim Khan
eff847f35a Removing extra toUrl call (#18492) 2022-02-18 14:49:02 -08:00
Alex Ma
1b63fec4e5 removed max_memory as it should be dynamically managed by sqlserver (#18481) 2022-02-18 12:32:57 -08:00
Barbara Valdez
75d9246f5e Fix search experience in notebooks (#18474)
* fix search on notebooks

* keep focus on findwidget
2022-02-18 10:53:45 -08:00
Barbara Valdez
cbaffd0b0d fix section markdown and html link (#18478)
* fix section markdown and html link
2022-02-18 10:08:33 -08:00
Charles Gagnon
a1a1793221 Add timeout delay to Notebook cell connect (#18475) 2022-02-18 09:05:13 -08:00
Lewis Sanchez
3472e229f1 Adds a tooltip title prop to the diagram node. (#18458)
* Adds a tooltip title prop to the diagram node.

* Updates azdataGraph package version to 0.0.16
2022-02-17 16:18:49 -08:00
Alan Ren
28ab7372d2 table designer validation support (#18438)
* table designer validation

* vbump sts
2022-02-17 13:07:19 -08:00
Lewis Sanchez
63cff7a5ab Adds Operational Cost to Query Plan Vertex Labels. (#18435)
* Adds operational cost to graph node labels.

* Code clean up.
2022-02-17 10:09:24 -08:00
Barbara Valdez
ede0937c2b fix holding down key scrolling issue (#18322)
* Stop propagation + debounce scroll

Co-authored-by: chgagnon <chgagnon@microsoft.com>
2022-02-17 00:25:01 -08:00
Barbara Valdez
87d5da00bf Fix on click edit mode states (#18321)
* fix click code cell

* modified editmode when updating active cell
2022-02-16 15:52:05 -08:00
Aasim Khan
678f2e3878 Fixing the height of the query plan (#18409)
* Fixing the height of the query plan

* Fixing layout issues
2022-02-16 15:44:33 -08:00
Aasim Khan
81e8eb9a82 Adding zoom button (#18407)
* Adding zoom button

* Fixing string
2022-02-16 15:26:14 -08:00
Aasim Khan
fe360afec7 Fixing context menu strings (#18404)
* Fixing context menu strings

* Fixing string
2022-02-16 15:21:35 -08:00
Aasim Khan
25f563229f Adding tooltips and fixing spacing (#18400) 2022-02-15 16:24:40 -08:00
Aasim Khan
316c6a536f Fixing graph editing (#18361) 2022-02-14 16:34:30 -08:00
Aasim Khan
4dd59c6b8d Using proper zoom icon (#18338) 2022-02-14 15:38:55 -08:00
Aasim Khan
08815a3c0f Adding save file functionality to query plan (#18337) 2022-02-11 19:53:11 -08:00
Aasim Khan
d76f239ae2 Fixing init value of custom zoom widget (#18331) 2022-02-11 17:32:07 -08:00
Aasim Khan
b25935f8a5 removing feature specific query plan flag (#18330) 2022-02-11 14:17:39 -08:00
Aasim Khan
b65e6d0bab Fixed tooltip not hiding when scrolling through graph control (#18314) 2022-02-11 14:17:26 -08:00
Aasim Khan
066d7a14a3 Fixing icons and styling in Query Plan (#18328)
* Fixing icons and styling

* Fixng some hc styling
2022-02-11 13:41:43 -08:00
Charles Gagnon
e78a95e7d3 Fix Notebook navigation key events triggering incorrectly (#18329) 2022-02-11 13:40:17 -08:00
Aasim Khan
8ac09917ca Adding search, zoom, custom zoom and additional stylings to showplan (#18255)
* Lot of changes
-Updating azdata to 0.0.13
-Updating prop views on node clicks
-Context menu on graphs
-Updating edge color on theme
-Scrolling graph control like ssms
-Zooming in, out and custom zoom on graph
-Custom zoom widget
-Node search widget

* Fixing hygine errors

* Code cleanup

* Fixing action name

* Renaming actions

* equals dropdown

* fixing tooltip

* Code cleanup
Fixing sorting function
Adding functionality for replacement strings

* Removing internal facing props from azdata proposed

* Fixing hygine issue

* Fixing web package hygiene

* Updating yarn lock files

* Fixing initial click
2022-02-10 14:43:35 -08:00
Aasim Khan
424c6e34a4 Removing older show plan from results pane (#18294) 2022-02-10 08:31:22 -08:00
Alan Ren
250532f39d remove preview flag check for ADS welcome page (#18280)
* remove preview flag for welcome page

* remove old welcome page

* remove vscode welcome page
2022-02-09 20:53:58 -08:00
Maddy
f17e70472f check for encoded components (#18231)
* check for encoded components

* address comments

* relocate and simplify test

* move encodeUrl to notebookLinkHandler

* added comments

* add containsEncodedUri to network.ts
2022-02-09 13:36:23 -08:00
Alan Ren
021b7f6e71 add preview flag for table designer (#18253) 2022-02-09 09:38:14 -08:00
Barbara Valdez
8695b463dc Enable keyboard navigation in notebooks (#18176) 2022-02-08 14:30:58 -08:00
Lucy Zhang
94cbae55ca Fix file links not opening in Notebooks on Mac (#18202)
* convert vscode-file to file

* update comment

* check for undefined uri
2022-02-07 12:53:40 -08:00
Charles Gagnon
36b1a5a209 Fix query editor diff compare (#18222) 2022-02-04 12:26:29 -08:00
Chris LaFreniere
230c0f317f Notebooks: Add telemetry event for mime type renderer not found (#18200)
* Add event for mime type renderer not found

* Add back missing return statement
2022-02-03 09:48:06 -08:00
Alan Ren
c535c2dbde table designer improvements (#18206)
* new table experience

* new table info for existing table

* allow delete confirmation

* fix editor lock isue

* vbump sts

* PR feedback
2022-02-02 18:46:09 -08:00
Monica Gupta
8685137c27 TSGops -image (Light version of ADSWeb) (#17768)
* rough changes for adsweb-lite

* commit id of latest quality

* fix for aria label

* distro commit id changes

* merged latest changes distro id

* python path changes + quality name change

* Hide container views/settings/panel for ADSWeb

* undo unintentional change

* No python prompt changes for tsgops-image

* distro id changed for tsgops quality name

* changed quality name to tsgops

* changed name to tsgops-image

* python address change

* unintended changes undo

* correct python installation path for tsgops

* enable preview features tsgops

* no prompt for tsgops-lite image

* revert preview feature change

* Fixes for few comments

* removed extra line

* add deleted line

* Addressed comments

* Addressed final comments

* eslint error fix

* fix

Co-authored-by: Monica Gupta <mogupt@microsoft.com>
2022-02-02 16:57:59 -08:00
Aasim Khan
e40c31559a Adding properties view and action bar to graph and fixing styling. (#18185)
* Adding properties view and action bar to graph.

* Open Graph File

* replacing innerhtml with  innertext

* Fixing floating promises

* Fixed typo

* renaming

* Fixing hardcoded colors and comments

* Removing todo and hardcoded colors

* renaming method

* removed unused contract

* Fixed path in comment

* converting div to button

* adding checks to table width and height setter

* Make method name more meaningful

* adding method return types

* concising repeated logic

* removing unused styling

* better sorting logic

* Fixing graph parsing
Renaming some stuff
Implementing IDisposable

* Fixing bad props logic

* Fixed image loading issue

* Removing hardcoded colors

* Adding comments to localize and handling undefined cases in sort

* Changed ch to px

* moving util function to strings
2022-02-02 14:17:01 -08:00
Charles Gagnon
1c9ba64ee0 check-param-names (#18189) 2022-01-31 12:39:22 -08:00
Charles Gagnon
d23edbb338 Fix welcome page images (#18180) 2022-01-27 16:05:31 -08:00
Charles Gagnon
ad06fc7321 Fix images in Notebook not showing (#18160)
* Fix images in Notebook not showing

* fixes

* more fixes
2022-01-27 15:00:00 -08:00
Charles Gagnon
911c185dcd Fix untitled notebook save opening as JSON (#18156) 2022-01-26 13:25:40 -08:00
Maddy
bf5f18ea72 set mode explicitly to notebook (#18089)
* set mode explicitly to notebook

* move setMode to untitledNotebookInput

* wait until input is resolved for setMode

* invoke only when textInput is undefined

* pass the untitledTextInput in test
2022-01-24 14:17:34 -08:00