Commit Graph

4192 Commits

Author SHA1 Message Date
Cheena Malhotra
dce130c5af Update application name to Azure Data Studio (#24510) 2023-09-26 10:15:32 -07:00
Kim Santiago
ba3d16b63b fix hyperlink in infoBox not following theming (#24488) 2023-09-21 11:19:48 -10:00
Cheena Malhotra
abf11c36af Support select execution on History Table (#24464) 2023-09-18 23:10:23 -07:00
Christopher Suh
86b3eaee5a Remove deprecated azure graph endpoints (#24460)
* remove deprecated azure graph endpoints

* cleanup enums

* cleanup ProviderSettingsJson: remove graphResource

* change enums back
2023-09-18 15:01:24 -07:00
Charles Gagnon
7e39174f63 Add log message when falling back to default kernel (#24447) 2023-09-15 11:58:22 -07:00
Alex Ma
a7b64c347a added WIP fix to new row revert (#24422) 2023-09-14 11:37:18 -07:00
Benjin Dubishar
d9b5d71148 Adding Chart component (#24357)
* added doughnut chart component

* Changing chart to doughnutChart

* reverting to genreic chart component

* adding more chart supoort

* fix minor errors

* resolve some PR comments

* native chartjs, keyboard navigation and chart options

* fix build errors

* fix chart.js/auto error

* resolve PR comments

* modify chartdataset API

* Refactoring (#24327)

* working - displaying chart data with convert

* working - introduced typed properties

* working, added BarChartConfiguration to type param

* removed ChartProperties type param

* Adding doughnut support

* Correcting number vs. point issue

* including the right changes this time

* commenting out no-longer-used labels prop

* remove hardcoded canvasID, enabled Scatterplot config

* Moved graph testing to sample extension

* Reorganizing types; adding test back to assessment dialog

* Adding example for bubble chart

* Polar area working

* cleanup

* adding draw when options isn't set

* Moving chart example configs to other file

* some cleanup

* added some docstrings

* add multiple datasets to test scatter plot

* update scatter plot example in sample

* Adding height/width support

* swapping to `as` cast

* title working

* Settling chart title and legend display

* Adding comments

* updating data working

* Updating samples

* Typo in comment

* Reverting changes made for development

* Elaborating on color in docstrings

* Separating Data and Options in component payloads

* Removing chartId as an exposed property

* Changing chartType property to TChartType

* Fleshing out types file comments

* fixing scoping of chart component properties; renaming chart canvas ID prop

* correct internal chart options typing

* removing commented-out code

* removing unused ChartClickEvent type until data selection eventing is implemented

* renaming function

* deleted commented-out code

* Adding options setters that went missing after splitting Config to Data + Options

* adding type predicates for data conversion

* Adding back type setting (dropped when chart type conversion moved)

* Narrowing type for 'type'

* Fixing typos in docstring

---------

Co-authored-by: Deepak Saini <deepaksaini@microsoft.com>
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
Co-authored-by: Aasim Khan <aaskhan@microsoft.com>
Co-authored-by: Deepak Saini <deepak.saini1996@gmail.com>
2023-09-13 20:11:09 -07:00
Cory Rivera
51ea238b49 Add comments for openFileBrowser (#24413) 2023-09-13 16:12:45 -07:00
Cory Rivera
08ded51e75 Use remote file dialog for database and server properties dialogs (#24390) 2023-09-13 10:49:10 -07:00
Alan Ren
4f155423dc handle error scenarios for validity check (#24393) 2023-09-13 09:40:50 -07:00
Cheena Malhotra
7e401bfa1a Azure Active Directory (Azure AD) is becoming Microsoft Entra ID (#24385) 2023-09-12 13:41:04 -07:00
Christopher Suh
5f45c000da Fix copy on Linux (#24341)
* add return type for copy results from STS

* fix test error

* change Result type to CopyResultsRequestResult

* remove async

* bump data protocol client

* bump dataprotocol client version

* bump version in yarn.lock

* add async back
2023-09-09 07:16:05 -04:00
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
Lewis Sanchez
863eb00294 Mark carbon edit with begin and end tags (#24336) 2023-09-07 15:13:49 -07:00
Sakshi Sharma
839d8b291c Fix F11 key binding (#24323)
* Fix F11 key binding to non-debug mode

* Disable F11 keybinding completely to toggle between full screen

* Fix compile error
2023-09-07 10:53:53 -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
Kim Santiago
7ec0899784 announce when extension install is finished (#24179) 2023-08-22 07:53:43 -10: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
Aasim Khan
7144703273 Commenting out listener threshold to fix extensions having mem leaks registering more listeners. (#24012)
* Commenting out listener threshold

* Adding SQL carbon edit
2023-07-28 13:52:18 -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