Commit Graph

909 Commits

Author SHA1 Message Date
Alan Ren
58082402aa enable provider/extension side copy to clipboard support (#23363)
* improve copy data experience

* add copy result handler

* refactoring

* updates

* add thirdparty notice for TextCopy nuget package

* add await

* comments
2023-06-09 14:24:45 -07:00
Cheena Malhotra
50db8578b9 Hide tenant dropdown until account is refreshed (#23346) 2023-06-08 09:46:35 -07:00
Alan Ren
8c2c38c859 improve copy data experience (#23345)
* improve copy data experience

* Update src/sql/workbench/services/query/common/gridDataProvider.ts

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

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-06-07 18:30:29 -07:00
Vsevolod Kukol
e0d5cd18b9 Support for MongoDB clusters / vCore (#22512)
* Initial support for MongoDB clusters / vCore

* Get cluster connection string from arm

* Preserve Azure account for any auth type

When a service has been selected through the Azure
browser, we want to preserve the Azure account
information even if a different authentication has
been selected. This allows doing ARM operations
using the signed in Azure account for any resources
including those with a different login types such
as clusters.
2023-06-07 15:38:35 -07:00
Aasim Khan
9b94f82b2e Adding status message for connection and connection group deletion. (#23325) 2023-06-06 20:35:10 -07:00
Cheena Malhotra
85dcec51ac Handle error cases properly (#23322) 2023-06-06 08:18:49 -07:00
Aasim Khan
30edf8d57b Fixing copy headers (#23280) 2023-05-31 22:25:41 -07:00
Aasim Khan
c16fce3ab9 Removing inline actions from context menu in OE (#23281) 2023-05-31 21:33:02 -07:00
Karl Burtram
b0c27baa15 Add back getOptionsKey test that was reverted (#23274)
* Add back getOptionsKey test that was reverted

* Add serverCapabilities to the IConnectionProfile object
2023-05-31 17:59:18 -07:00
Karl Burtram
631461494f Add getOptionKeyIdNames to IConnectionProfile (#23262) 2023-05-31 09:00:30 -07:00
Alan Ren
e62486bee6 fix query result grid shortcut keys (#23206)
* fix query result grid shortcut keys

* add comment
2023-05-24 21:41:00 -07:00
Aasim Khan
3bec68b860 Fixing server group styling (#23144)
* Fixing server group styling

* Hiding border when the tree item are selected focused or hovered

* Fixing styles and re-enabling guides

* removing unused import

* Fixing indicator width
2023-05-22 09:53:47 -07:00
Alan Ren
5356cd7748 fix normal dialog vertical scrolling issue (#23177) 2023-05-19 16:51:55 -07:00
Aasim Khan
e322641538 Fixing OE nodes error handling. (#23172) 2023-05-19 08:49:13 -07:00
Alex Ma
89386c9c11 Fix for database name in connection details after changing database (#22376) 2023-05-18 14:34:54 -07:00
Charles Gagnon
d3f1d594e9 Fix backup/restore dialog titles not updating (#23164)
* Fix backup/restore dialog titles not updating

* Don't cast
2023-05-18 10:58:56 -07:00
Aasim Khan
d9220c809c Adding collapse all to OE (#23132) 2023-05-16 09:20:51 -07:00
Aasim Khan
787a66922f Adding filtering to group by schema and switching to using name from displayName in oe filters. (#23123) 2023-05-13 09:25:07 -07:00
Aasim Khan
2beba9ac08 Adding inline actions to OE (#23101) 2023-05-13 09:24:49 -07:00
Alex Ma
142a3aaf7c Added back fix for duplicate edits (#23003) 2023-05-11 17:56:42 -07:00
Aasim Khan
a4077c3d89 Adding telemetry to ads OE filter (#23089)
* Adding telemetry to ads oe filter

* Fixing prop names

* fixing prop name

* Fixing localized strings

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

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

* Update src/sql/workbench/contrib/objectExplorer/browser/serverTreeView.ts

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

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-05-11 13:27:34 -07:00
Aasim Khan
c7d62e31fb Fixing async tree search highlighting (#23012)
* Fixing tree searching highlight

* Code cleanup

* Fixing server group styling
2023-05-11 10:17:38 -07:00
Aasim Khan
25bc14fb25 Adding filtering dialog and action to OE (#22937)
* Adding init change

* Adding filter cache in OE

* Adding more filtering changes

* Fixed stuff with dialog

* Fixing filter

* Adding support for connecitons

* Fixed stuff

* filtering

* Fixing  date

* Filters

* Removing is filtering supported

* Removing contracts

* Fixing filters

* Fixing cache

* Adding some accessibility changes

* Reverting some more changes to pull in changes from the main

* Adding comments

* Fixing boolean operators

* Fixing stuff

* Fixing stuff

* Fixing error handling and making dialog generic

* Fixing more stuff

* Making filter a generic dialog

* adding erase icon

* removing floating promises

* Fixing compile issue

* Adding support for choice filter with different and actual value.

* Adding null checks

* Adding durability type fix

* Fixing filtering for providers that do not play well with empty filter properties
2023-05-08 11:00:59 -07:00
Aasim Khan
6fa948adbe Fixing delete server group error when we try to focus on root (#23019) 2023-05-08 09:46:40 -07:00
Aasim Khan
3ae97b81f2 Fixing the error showing up in console log (#23018) 2023-05-08 08:29:39 -07:00
Alan Ren
718b149e84 introduce fieldset component (#23005) 2023-05-06 21:36:08 -07:00
Cheena Malhotra
77c8b3bda1 Validate MSAL library is enabled (#23000) 2023-05-05 16:44:04 -07:00
Alex Ma
898bb73a34 Revert new connection string format (#22997) 2023-05-05 13:41:40 -07:00
Cheena Malhotra
0dc05a6a4c Hide tenant dropdown from Connection Dialog (#22973) 2023-05-05 10:40:00 -07:00
Alan Ren
70e756b82d fix duplicate required indicator (#22976) 2023-05-04 21:53:42 -07:00
Aasim Khan
302855e4a4 Fixing async server tree error handling and removing timeout. (#22955)
* Fixing async server tree issues and removing timeout

* removing empty results for connection errors

* Fixing error message fetching

* Update src/sql/workbench/services/objectExplorer/browser/asyncServerTreeDataSource.ts

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

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-05-04 15:50:37 -07:00
Alan Ren
86cd0003fe add required indicator (#22971) 2023-05-04 15:23:22 -07:00
Cheena Malhotra
7b2a07befd Respect 'showDashboard' disabled by default (#22907) 2023-05-01 11:55:38 -07:00
Cheena Malhotra
ea6bb41f45 Allow 'ApplicationName' to be specified for MSSQL connections (#22890) 2023-05-01 10:55:05 -07:00
Cheena Malhotra
f4952c76b8 Handle no matching account scenario (#22908) 2023-05-01 10:54:42 -07:00
Aasim Khan
b86463ee71 Adding filtering to OE Service (#22900)
* Adding filtering to OE Service

* Update src/sql/workbench/services/objectExplorer/browser/objectExplorerService.ts

Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>

* Update src/sql/workbench/services/objectExplorer/browser/serverTreeRenderer.ts

Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>

* Update src/sql/workbench/services/objectExplorer/browser/objectExplorerService.ts

Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>

* Update src/sql/workbench/services/objectExplorer/browser/objectExplorerService.ts

Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>

* Fixing compile errors

* Fixing circular dependency

---------

Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>
2023-04-29 17:22:38 -04:00
Cheena Malhotra
24af5db4a2 Fix resetting tenant when dropdown is not visible (#22845) 2023-04-25 12:53:58 -07:00
Charles Gagnon
64dd4f0904 Fix IConnectionProfile to have same options key when generated from ConnectionProfile (#22840) 2023-04-25 09:52:51 -07:00
Cheena Malhotra
a887bb199e Fix username to respect existing values (#22837) 2023-04-24 15:28:44 -07:00
Cheena Malhotra
2247d5de88 Prevent reconnects for mssql provider (#22825) 2023-04-21 16:56:40 -07:00
Cheena Malhotra
8613176817 Cache access tokens in local cache file to prevent MSAL throttling (#22763) 2023-04-20 13:55:30 -07:00
Karl Burtram
e7d3d047ec Merge from vscode merge-base (#22780)
* Revert "Revert "Merge from vscode merge-base (#22769)" (#22779)"

This reverts commit 47a1745180.

* Fix notebook download task

* Remove done call from extensions-ci
2023-04-19 21:48:46 -07:00
Alan Ren
decbe8dded simplify object management feature APIs (#22781) 2023-04-19 19:26:29 -07:00
Cheena Malhotra
ba694a0558 Register mysql, pgsql with mssql as default 'sql' kernel providers (#22729) 2023-04-18 22:07:02 -07:00
Karl Burtram
47a1745180 Revert "Merge from vscode merge-base (#22769)" (#22779)
This reverts commit 6bd0a17d3c.
2023-04-18 21:44:05 -07:00
Lewis Sanchez
6bd0a17d3c Merge from vscode merge-base (#22769)
* Merge from vscode merge-base

* Turn off basic checks

* Enable compilation, unit, and integration tests
2023-04-18 18:28:58 -07:00
Alex Ma
b69e87df15 Connection URI with complete options (finalized) (#22735)
* Connection URI made to include every option available instead of basic details (#22045)

* Revert "Merge remote-tracking branch 'origin' into feat/connectionUri"

This reverts commit 11b2d31bf99e216daee823f732254f69a017fee1, reversing
changes made to 36e4db8c0744f81565efdfd2f56a3ae3c0026896.

* Revert "Revert "Merge remote-tracking branch 'origin' into feat/connectionUri""

This reverts commit f439673c2693e1144c52e04c14e82cd8566c13a6.

* Added changes and fixes for feat connectionuri (#22706)

* add title generation at start

* added await to refreshConnectionTreeTitles
2023-04-18 11:08:48 -07:00
Cheena Malhotra
87571b2706 Support placeholder text for connection dialog options (#22693) 2023-04-13 15:08:12 -07:00
Cory Rivera
8aade56214 Use column names as keys for table data in SQL cell outputs (#22688) 2023-04-13 13:26:12 -07:00
Christopher Suh
897f026d1e Firewall Dialog Account/Tenant Selection (#22695)
* preselect account in firewall dialog from connection details

* cleanup

* fix element reference

* add initial tenant selection

* fix compile & cleanup

* pr comments

* change to private
2023-04-12 15:59:31 -07:00