Commit Graph

3796 Commits

Author SHA1 Message Date
Cheena Malhotra
a5d3833ffb Fixes a typo in headerfilter plugin (#24342) 2023-09-08 09:30:06 -07:00
Alex Ma
22d31afc4a Add visible newlines to display value for Edit Data cells (#24334) 2023-09-07 21:55:09 -07:00
Sakshi Sharma
b70f6ad7f2 Add Open file location as an option after an excel file is saved (#24331)
* Add Open file location as an option after an excel file is saved

* Fix test failure
2023-09-07 15:19:39 -07:00
Alex Ma
dfc0ce638c Added fix to drag and drop (#24252)
* Added fix to drag and drop by updating check and adding notification upon failed drag

* update to connectionConfig test
2023-09-06 09:40:39 -07:00
Lewis Sanchez
306af5645b Consolidate 2 context endpoints to just one (#24276) 2023-09-05 20:20:21 -07:00
Sakshi Sharma
cceb0bafe2 Add loading indicator when an XEL File is opened (#24274)
* Add loading indicator when an XEL File is opened

* Remove custom loading message
2023-09-05 13:03:54 -07:00
Lewis Sanchez
2d3b4a55e2 Adds logging to contextualization service (#24269)
* Adds logging to contextualization service

* Code review changes
2023-09-01 15:09:29 -07:00
Lewis Sanchez
5152823306 Send server contextualization to Copilot extension (#24230)
* Send server contextualization to Copilot extension

* Keep context in editor input

* Remove unnecessary server context and extension service

* Send context when connecting from open editor

* Remove contextualization complete event

* Contextualize editor after connection success

* Minor clean up

* Remove nested then and use async/await

* Create helper function

* Remove unneeded async and add comment

* Encapsulate all context logic in service

* Use void operator to fix floating promise

* Correct return comment
2023-09-01 09:26:29 -07:00
Cheena Malhotra
f0f4f32a69 Part 3 - Make base browser components disposable (#24244) 2023-08-29 14:19:22 -07:00
Kim Santiago
7640a7b4a3 Add back "Install" text on welcome page button and remove tooltip (#24214)
* remove tooltip from install button on welcome page

* fix missing Install text
2023-08-28 15:43:43 -10:00
Alex Ma
bf6701dbdf [Loc] update to editDataActions close SQL button (#24231) 2023-08-26 01:54:33 -07:00
Erin Stellato
76642a2b73 Revert "Remove SQLCMD button from preview (#24224)" (#24228)
This reverts commit d3b84a3646.
2023-08-25 23:59:57 -04:00
Erin Stellato
d3b84a3646 Remove SQLCMD button from preview (#24224) 2023-08-25 15:09:50 -07:00
Cheena Malhotra
6c6464e772 Part 2 - Make Model view components disposable + dispose all emitters (#24097) 2023-08-23 12:46:09 -07:00
Lewis Sanchez
d5a9c172d1 Integrate Contextualization API into Azure Data Studio to get better query recommendations from Copilot (#24044)
* Boilerplate for new metadata API endpoint

* Register all server metadata provider

* Fully registers data provider

* Registers metadata provider

* Instantiate metadata service

* Generates server metadata when connection is established

* Allow queryEditorInput to get server metadata

* Minor clean up

* Renames metadata provider and request endpoint

* Corrects documentation block

* Integrates get server metadata request endpoint

* Adjusts GetServerMetadataResult scripts type

* Add back Cargo.toml file

* Fix SQL hygiene error

* reflect changes made in in STS for table metadata

* Adds feature toggle to serverMetadataService

* Places toggle before request to get create scripts

* Fix build check issues

* Minor review changes

* Improves contextualization setting label

* Generalize contextualization service names

* Additional code review changes

* Update extensions/mssql/src/contracts.ts

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

* Update src/sql/azdata.proposed.d.ts

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

* Code reivew changes

* Capitalize c in contextualization

* Additional review changes

* Update provider type

* Simplify type and method names

* Unregister MSSQL ServerContextualization provider

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-08-21 19:54:44 -07:00
Kim Santiago
959c2f14ba Resize splitview when window is resized (#24168)
* resize splitview when window is resized

* address comments
2023-08-18 10:16:28 -10:00
Cory Rivera
a2336a2617 Add extension API for using the same file browser dialog that's used for Restore (#24151)
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-08-17 14:39:55 -07:00
Alex Ma
abae1f500a Add correct edit data background and content colors for edited cell (#24048) 2023-08-16 21:23:33 -07:00
Alex Ma
f4a459f508 Fix servername in breadcrumb service and dashboard tab (#24150) 2023-08-16 21:23:14 -07:00
Charles Gagnon
59fb8d6ddd Fix Notebook results being out of order (#24102)
* Fix Notebook results being out of order

* deprecated

* Fix tests
2023-08-08 14:59:29 -07:00
Cheena Malhotra
7a417f01ed Register disposables for cleanup - Part 1 (#24092) 2023-08-07 16:44:23 -07:00
Cheena Malhotra
13c65b7d8d Convert values to string when selecting in selectbox (#24079) 2023-08-04 14:05:30 -07:00
Cheena Malhotra
72873f7628 Fixes reset of group name when not saving profile (#24000) 2023-08-01 23:29:09 -07:00
Cheena Malhotra
e0120356cb Auto-close copy notification after 3 seconds + configuration support (#24037) 2023-08-01 10:58:41 -07:00
Cheena Malhotra
85f3cbc751 Add null checks for server tree view (#24038) 2023-07-31 17:28:15 -07:00
Alex Ma
c034eb7df1 Fix to connectionDialogService recent connections (#24018) 2023-07-31 10:29:32 -07:00
Charles Gagnon
5b70fd1afe More layering movement (#24023)
* finish layering

* undo eslint changes

* undo

* restore -> backup

* fix paths

* Skip commandLine layers check

* fix path

* fix tsec path
2023-07-31 10:17:43 -07:00
Sakshi Sharma
9043998bfd Update session dropdown and fix running state info (#24019)
* Update session dropdown and fix running state info

* Update comment
2023-07-31 10:02:16 -07:00
Alex Ma
2254e9caa6 Added working cell revert for invalid submissions in edit data. (#23981) 2023-07-27 19:59:28 -07:00
Cory Rivera
cc778ad69f Use faster, editable dropdown for Collations in database dialogs (#23974)
* Also fixed an issue where a manually edited text field doesn't get updated when selecting the same dropdown value from before the manual edit.
---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-07-26 10:04:29 -07:00
Charles Gagnon
a182b852b1 Temporary fix for Data Explorer context menus (#23957)
* Temporary fix for Data Explorer context menus

* Fix scripting actions

* better fix

* remove unused
2023-07-21 16:23:10 -07:00
Christopher Suh
f5bed289af Expand account picker support to multiple providers (#23952)
* fix dropdown behavior

* expand account picker support to multiple providers

* fix tests

* fixed unresolved promise issue
2023-07-21 08:43:18 -07:00
Cheena Malhotra
8c895cb71d Fix context menu in treeViews (#23948) 2023-07-20 13:50:44 -07:00
Christopher Suh
91359a32c9 Remove ADAL Code (#23360)
* initial commit, removed all adal code

* remove all authLibrary references in extension/azurecore

* removed authLibrary references from src/sql

* remove MSAL/ADAL setting option

* wip fixing tests and removing Msal from method names

* fixed tests

* create accountInfo mock

* fix tests

* fix clientApplication mock

* remove clientapplication

* fix compile

* add typing

* wip

* wip

* wip

* fix tree provider

* remove SimpleTokenCache, FileDatabase & tests

* remove remaining adal / authentication library references:

* remove comma from package.nls.json

* fix error fetching subscriptions

* fix tests

* remove getAzureAuthenticationLibraryConfig

* remove adal check

* fix build

* remove test

* undo remove customProviderSettings

* fix bracket
2023-07-20 10:37:38 -07:00
Christopher Suh
a2b1c2cfc5 pass provider ID info to runAddAccountAction (#23938) 2023-07-20 10:16:28 -07:00
Karl Burtram
1addfae2e8 Remove some TODOs mostly for styling (#23934)
* Remove some TODOs mostly for styling

* Remove unused
2023-07-19 17:56:49 -07:00
Aasim Khan
760ccfdef3 Removing unnecessary tree expansions causing errors to popup again (#23932) 2023-07-19 15:42:56 -07:00
Aasim Khan
38312de87b Fixing issue that caused moving connections from one group to other to throw (#23933) 2023-07-19 15:33:26 -07:00
Cheena Malhotra
a833ae7b79 Allow empty username + fix profiles on read (#23924) 2023-07-18 16:03:10 -07:00
Alex Ma
a0a685bbcf Remove/comment out connection title generation from all areas. (#23873) 2023-07-18 10:47:50 -07:00
Kim Santiago
eeab2b4abe Fix horizontal split view not working (#23889)
* Horizontal splitview sorta working

* remove the old element

* support getting size from model view container

* cleanup

* make splitViewHeight optional

* Update src/sql/azdata.proposed.d.ts

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

* fix test

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-07-17 12:31:04 -10:00
Charles Gagnon
a81181108d More file moves for layering fixes (#23893) 2023-07-15 14:26:15 -07:00
Charles Gagnon
4cc916314b Move some test files (#23892) 2023-07-15 11:10:43 -07:00
Cheena Malhotra
62f123af67 Fix serverInfo undefined due to wrong connection URI set on connection. (#23884) 2023-07-14 18:33:24 -07:00
Charles Gagnon
6c37ba6c21 Better fix for file browser race condition (#23879) 2023-07-14 12:34:48 -07:00
Sakshi Sharma
7bc05e507d Add limit on the file size that can be opened with Open XEL feature (#23841)
* Add limit on the file size that can be opened with Open XEL feature

* Add limit on the file size that can be opened and post a notification for large files

* Update wording

* Use FileService interface instead of fs to fix layering rules
2023-07-13 20:32:55 -07:00
Lucy Zhang
9c43a373f8 fix dropdown alignment (#23870) 2023-07-13 17:56:45 -07:00
Charles Gagnon
4ba2c6c5af Fix file browser opening race condition (#23867) 2023-07-13 15:35:07 -07:00
Aasim Khan
99bf9f20e6 Setting right options of command based new connections (#23849) 2023-07-12 23:58:45 -07:00
Maddy
4d6b657e5d update ITreeElement with ICompressedTreeElement (#23839) 2023-07-12 23:34:52 -07:00