Commit Graph
100 Commits
Author SHA1 Message Date
Kim Santiago a612781638 Remove sql edge container option from sql projects publish (#24499)
* remove sql edge container option from sql projects publish

* undo testing change

* remove base image dropdown from publish dialog
2023-09-25 06:34:56 -10:00
Kim Santiago b79381d88e vbump schema compare and sql projects after release (#24498) 2023-09-21 13:30:31 -10:00
Kim Santiago ba3d16b63b fix hyperlink in infoBox not following theming (#24488) 2023-09-21 11:19:48 -10:00
Kim Santiago 0b149cd85b update STS to 4.9.0.37 (#24356) 2023-09-08 18:27:29 -10:00
Kim Santiago 63a1383b32 cleanup casing in a couple files (#24333) 2023-09-07 11:56:39 -10:00
Kim Santiago 21016c1a53 add button to open query store report in new tab (#24303)
* add button to open query store report in new tab

* addressing comments
2023-09-07 10:13:08 -10:00
Kim Santiago 9f4e19f3db Initial changes for query store dashboard (#24272)
* create empty query store dashboard

* add placeholder report content

* cleanup

* more cleanup
2023-09-06 11:00:58 -10:00
Kim Santiago 55b6f4d16b update sql projects azdata dependency to 1.46.0 (#24248) 2023-08-30 06:08:50 -10:00
Kim Santiago 40e501fe32 update Microsoft.Build.Sql SDK version used to build legacy sql projects to 0.1.12-preview (#24236) 2023-08-28 15:44:15 -10: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
Kim Santiago 7ec0899784 announce when extension install is finished (#24179) 2023-08-22 07:53:43 -10: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
Kim Santiago f4517a7b0c update Query Store codeowners (#24169) 2023-08-18 09:08:18 -10:00
Kim Santiago 988b3ccd3c fix schema compare 'Yes' button not showing for recomparing after changing options (#24134) 2023-08-15 07:09:30 -10:00
Kim Santiago ad61bf9870 remove fixed size of schema compare split view (#23910) 2023-07-18 12:42:48 -10:00
Kim SantiagoandCharles Gagnon 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
Kim SantiagoandBenjin Dubishar 221408c7a3 Fix error when opening create project from db dialog without connection (#23864)
* Fix error when opening create project from db dialog without connection

* Update extensions/sql-database-projects/src/dialogs/createProjectFromDatabaseDialog.ts

Co-authored-by: Benjin Dubishar <benjin.dubishar@gmail.com>

---------

Co-authored-by: Benjin Dubishar <benjin.dubishar@gmail.com>
2023-07-13 11:56:29 -10:00
Kim Santiago e6b4d2e634 cleanup uneccessary awaits in query store extension (#23701) 2023-07-10 11:15:21 -10:00
Kim Santiago fbfef45c65 fix active border on input box in issue reporter not being visible (#23628) 2023-07-05 12:34:10 -10:00
Kim Santiago 8cea9f4cf7 update source option in issue reporter from vscode to Azure Data Studio (#23616) 2023-07-03 12:32:58 -10:00
Kim Santiago e327c9a32d vbump sql projects and schema compare (#23578) 2023-06-30 06:35:41 -10:00
Kim Santiago 220b2b4ac4 Initial changes for reusable QDS report (#23527)
* initial changes for making a QDS report with placeholders

* Add icon for configure button

* Add another example report to show layout

* move files

* add placeholder names to components and cleanup toolbar

* cleanup

* switch to createViews() instead of createTop and BottomSections()

* add QueryStoreView class for the different components in a report

* cleanup

* add more comments

* fix yarn not running for query store extension folder

* add missing break

* change one more view to container
2023-06-29 13:24:22 -10:00
Kim Santiago facb275cfd Fixing the folder icons in the schema compare and dacpac extensions (#23532) 2023-06-29 07:23:01 -10:00
Kim Santiago a469837667 update STS to 4.8.0.32 (#23485) 2023-06-27 11:56:14 -10:00
Kim Santiago 42a0622d93 Add vscode support for System database package references for SDK-style sql projects (#23383)
* changes for supporting system db package references in vscode

* cleanup

* address comments
2023-06-14 16:30:03 -07:00
Kim Santiago 1ff0a07217 Add support for System database package references for SDK-style sql projects (#23309)
* add package reference type for system db references

* Add radio buttons

* hookup

* add test

* handle changing reference type radio buttons

* cleanup

* update strings

* change style to type

* change more places with style to type

* blank lines
2023-06-13 16:06:12 -07:00
Kim Santiago 9c72e562cd Change ReferenceType to ReferencedDatabaseType (#23347)
* change ReferenceType to ReferencedDatabaseType

* update string
2023-06-07 14:32:27 -10:00
Kim Santiago 88f46dde63 update query store readme (#23295)
* update query store readme

* switch Azure SQL to SQL Database

* specify 'execution plan'
2023-06-05 07:40:51 -10:00
Kim Santiago 83c263406a add codeowners for query-store extension (#23296) 2023-06-02 11:25:55 -07:00
Kim Santiago 8d36400c2f Initial commit for Query Store extension (#23260)
* Initial commit for Query Store extension

* fix eslint explicit-functino-return-type setting

* address comments

* remove specifying explicit-function-return-type eslint rule

* update strings
2023-06-01 14:09:33 -07:00
Kim Santiago 82f5ef7ea3 Download ScriptDom separately when building legacy sql projects (#23201)
* update sql projects build code to retrieve script dom nuget separately from dacfx nuget

* update readme

* cleanup shared code

* update scriptdom nuget version

* refactor
2023-05-26 16:51:42 -07:00
Kim Santiago 5560b52df1 Allow adding new sqlcmd variables to sql project without DefaultValue (#23229) 2023-05-26 11:01:20 -07:00
Kim Santiago 9f3ce333af fix sql project move folder tests (#23191) 2023-05-24 10:01:25 -07:00
Kim Santiago 1d3b74e83b fix sqlcmd variables not getting loaded correctly in vscode (#23103) 2023-05-11 13:52:43 -07:00
Kim Santiago 7b8ba7630e fix warning in console when drag and dropping in sql projects (#23056) 2023-05-09 11:18:59 -07:00
Kim Santiago 9c22620032 vbump sql projects to 1.1.1 (#23029) 2023-05-08 10:49:53 -07:00
Kim Santiago 844ed758a5 Fix .publish.xml file extension not being used on mac (#22939) 2023-05-03 13:18:42 -07:00
Kim Santiago 8f37ea8746 fix macros not getting replaced in sql project item scripts (#22945) 2023-05-03 13:18:02 -07:00
Kim Santiago ab44d205d0 add telemetry for saving publish profiles (#22933) 2023-05-02 16:09:18 -07:00
Kim Santiago e57fc9f202 shorten 'Save Profile as...' button text to 'Save as...' (#22932)
* shorten 'Save Profile as...' button text to 'Save as...'

* uppercase
2023-05-02 15:37:16 -07:00
Kim Santiago a56109dad7 vbump data workspace (#22914) 2023-05-01 15:50:31 -07:00
Kim Santiago 934d8ff8fa Add nupkg database reference option for sql projects in vscode (#22882)
* add nupkg db ref option in vscode

* add telemetry for nupkg db ref

* update comment
2023-04-28 14:57:22 -07:00
Kim Santiago ba09248483 fix build errors from sql projects test file (#22894) 2023-04-28 11:57:54 -07:00
Kim Santiago abff6a0a34 fix schema compare diff editor colors not being reversed after merge (#22852) 2023-04-26 09:25:07 -07:00
Kim Santiago d551f5170d add telemetry for add database reference quickpick (#22848) 2023-04-25 13:52:48 -07:00
Kim Santiago 8616c5948b Update vscode-mssql.d.ts to match what's in the vscode-mssql repo (#22830)
* update vscode-mssql.d.ts

* update extensions that need updates because of the vscode-mssql.d.ts changes

* remove skip

* fix sql projects tests failing because vscode-mssql couldn't be found
2023-04-24 13:40:05 -07:00
Kim Santiago 41e6f3b84b fix accessibility issue for open dialog location radio button (#22812)
* fix accessibliity issue where location radio button showed as required

* fix ariaLabel
2023-04-21 09:53:02 -07:00
Kim Santiago b98ac1d211 change value to default value in sqlcmd variable prompt (#22787) 2023-04-20 10:18:48 -07:00
Kim Santiago 39a28c5f51 Add nupkg option to add database reference dialog (#22772)
* add nupkg option to add database reference dialog

* Add required indicator

* only show nupkg radio button for SDK-style projects

* fix enable ok button

* hookup

* fix typo
2023-04-19 10:09:15 -07:00
Kim Santiago c29bb27d9e fix sqlcmd table var table in publish dialog (#22770)
* fix sqlcmd var table in publish dialog

* const

* remove unused _value
2023-04-19 09:17:34 -07:00
Kim Santiago 4709eab293 make UserDatabaseReferenceProjectEntry class (#22768) 2023-04-18 13:23:09 -07:00
Kim Santiago 2dcbdc9c63 Handle nukpg database references in project.ts (#22762)
* changes in project.ts for adding nupkg database references

* Add tests

* more tests

* fix comment

* remove it.only
2023-04-18 11:11:42 -07:00
Kim Santiago 938a8bffbe Add AddNugetPackageReferenceRequest for sql projects (#22757)
* Add AddnugetPackageReferenceRequest for sql projects

* update comment

* fix whitespace
2023-04-17 13:31:17 -07:00
Kim Santiago 18a541b0a6 removed unused data sources code from publish dialog (#22722) 2023-04-14 11:44:46 -07:00
Kim Santiago 3deb163210 replace deprecated onDidClick() handler in sql projects (#22721) 2023-04-13 16:27:59 -07:00
Kim Santiago 35e1d63871 fix project listed twice when using multi root workspaces (#22705)
* fix project listed twice when using multi root workspaces

* uppercase
2023-04-13 09:49:14 -07:00
Kim Santiago c78cc6e534 vbump sql database projects to 1.1.0 (#22707)
vbump after the April release
2023-04-12 20:27:23 -07:00
Kim Santiago 2280c54d4d vbump sql projects to 1.0.0 (#22553)
* vbump sql projects to 1.0.0

* set preview to false
2023-03-31 13:35:43 -07:00
Kim Santiago e2d4d07c0b fix console error when trying to drag a sql project node (#22551)
* fix console error when trying to drag a sql project node

* fix typo

* update comment
2023-03-30 17:27:01 -07:00
Kim Santiago 8e82f62164 cleanup sql projects readme (#22538)
* cleanup sql projects readme

* update to use code blocks for commands
2023-03-30 15:56:17 -07:00
Kim Santiago 0feabc9a6f use fsPath instead of path when calculating relative path to sqlproj (#22534) 2023-03-30 10:01:06 -07:00
Kim Santiago 4458a5bd57 move publish interfaces out of sqldbproj.d.ts (#22521) 2023-03-29 16:27:23 -07:00
Kim Santiago 19a9611407 vbump sql database projects (#22501) 2023-03-28 15:13:38 -07:00
Kim Santiago a7ecff77dd turn on noUnusedParameters in Schema Compare (#22452)
* turn on noUnusedParameters in Schema Compare

* use _click

* Add names to unused parameters in test files
2023-03-28 11:17:14 -07:00
Kim Santiago 929184514e fix undefined error when opening Create Project from Database dialog (#22480) 2023-03-28 11:16:53 -07:00
Kim Santiago 3d2a531976 add hover text to icon buttons in sql projects extension (#22453) 2023-03-24 16:01:30 -07:00
Kim Santiago 8fdcafcca7 fix aria label for name input box in create project from db dialog (#22449) 2023-03-24 15:21:44 -07:00
Kim Santiago c8d0edf048 add aria labels to a couple radio groups in sql database projects (#22446) 2023-03-24 15:21:33 -07:00
Kim Santiago 31ac636222 make screenreader announce task status (#22434) 2023-03-24 11:14:10 -07:00
Kim Santiago 0741e18533 vbump dacpac extension after release (#22418) 2023-03-22 17:47:56 -07:00
Kim Santiago 3b68aaed72 change publish options to use declarative table (#22398) 2023-03-22 09:44:27 -07:00
Kim Santiago 21bb7eb482 add aria label for checkboxes in declrative table (#22393) 2023-03-21 16:35:28 -07:00
Kim Santiago 2be49a9911 switch exclude object types table to use declarative table component (#22390)
* switch exclude options to use declarative table component

* add to disposableListeners
2023-03-21 14:09:31 -07:00
Kim Santiago 931c44ac41 add ariaLive to publish options description (#22338)
* add ariaLive to publish options description

* use correct string and update typings

* update type

* remove comment update

* create type AriaLiveType

* update MockInputBoxComponent with AriaLiveValue

* update azdata-test and add comment
2023-03-16 16:08:24 -07:00
Kim Santiago 0bbc290790 fix accessibility issues in update project from db dialog (#22274)
* fix accessibility issues in update project from db dialog

* remove aria label on radio buttons
2023-03-09 14:21:43 -08:00
Kim Santiago 394d88445a undo remove project change in data workspace (#22283) 2023-03-09 14:14:39 -08:00
Kim Santiago 12a5bd0ef2 update target platform text for azure synapse sql pool (#22265) 2023-03-09 10:07:12 -08:00
Kim Santiago ab68c3060c Add required property in missing places in sql projects (#22253)
* add required property for missing places in sql projects

* remove comma
2023-03-09 08:45:21 -08:00
Kim Santiago 954d521a83 Fix delete database reference request (#22214) 2023-03-08 11:03:44 -08:00
Kim Santiago 5fef212ea3 add vscode mssql handling for getSqlProjectsService() (#22121)
* add vscode mssql handling for getSqlProjectsService()

* try to fix error because of projectStyle enum
2023-03-03 16:52:05 -08:00
Kim Santiago d6358b3e29 Add telemetry events for rename and move in sql project (#22068)
* add telemetry events for rename and move in sql project

* remove check

* update telemetry events
2023-03-01 10:25:09 -08:00
Kim Santiago bc85f52dd4 Update sql project file move to use DacFx api (#22064)
* update move to use STS api

* swap rename to use move function

* add try catch

* remove debug statement

* get original path from node
2023-02-28 14:31:49 -08:00
Kim Santiago 0413b95343 Swap rename to use DacFx move api (#22051)
* swap rename to use DacFx project apis

* add support for rename pre/post deploy scripts and add tests

* update the enum names too

* check instanceof instead of getting and iterating through all the collections
2023-02-28 11:59:09 -08:00
Kim Santiago 8550faaa73 Have different node types for the different item types in sql project tree (#22053)
* Have different node types for the different item types in sql project tree

* address comments
2023-02-28 10:31:46 -08:00
Kim Santiago e675fc14f0 Revert 'Add profile section in Publish project UI (#21906)' (#22047)
This reverts commit cb58286247.
2023-02-27 15:09:50 -08:00
Kim SantiagoandCharles Gagnon 7a8888f073 Show error if trying to create or open project when no project extension is installed (#22021)
* show error if trying to create or open project when no project extensions are found

* only check if project providers are available on startup and when extensions change

* addressing comments

* Update extensions/data-workspace/src/services/workspaceService.ts

use some instead of find

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

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-02-24 13:36:39 -08:00
Kim Santiago d75cf2b657 Hookup sqlcmdvar delete (#22018)
* delete sqlcmd variable working

* undo add

* add test
2023-02-23 16:44:08 -08:00
Kim Santiago 4ed1ef34b6 update version of Microsoft.Build.Sql used for building legacy sql projects (#22010) 2023-02-23 15:12:09 -08:00
Kim Santiago 169138e24b Remove data workspace * activationEvent (#22005)
* remove data workspace * activationEvent

* fix tests
2023-02-22 12:03:39 -08:00
Kim Santiago 10c3199a23 update sql projects azdata dependency (#22007) 2023-02-22 11:11:35 -08:00
Kim Santiago a7f68ebd33 Drag and drop support for sql projects tree (#21956)
* Drag and drop working

* update comment

* move to projectController

* remove registerTreeDataProvider

* add tests

* fix dragging to project root

* cleanup

* addressing comments
2023-02-21 15:45:25 -08:00
Kim Santiago 7761c3b171 Swap create new project api for sql projects (#21971) 2023-02-21 10:00:56 -08:00
Kim Santiago c5fc37c373 Initial changes for adding SqlProjectsService (#21967)
* Add SqlProjectsService

* cleanup

* reorder imports

* undo changes in project.ts for now to fix tests
2023-02-16 17:15:24 -08:00
Kim Santiago 4f6fe5955d Remove parent from sql project tree items (#21912)
* update getFileProjectEntry and getRelativePath

* remove root and fix tests

* remove parent from sql project tree items
2023-02-14 14:53:39 -08:00
Kim Santiago fe25674401 change sqlprojUri to projectFileUri (#21938) 2023-02-14 13:56:02 -08:00
Kim Santiago 71c12883fe Remove references to root in sql projects (#21911)
* update getFileProjectEntry and getRelativePath

* remove root and fix tests
2023-02-14 10:34:46 -08:00
Kim Santiago d5384cad0e Fix database name in dacpac wizard not saying required (#21932) 2023-02-14 09:50:52 -08:00
Kim Santiago 2b4c608b93 Update sql projects tree to use sqlproj uri instead of parent nodes (#21901)
* update sql projects tree to use sqlproj uri instead of parent nodes

* remove todo

* undo other change

* update a couple more
2023-02-10 11:22:59 -08:00
Kim Santiago 0e269e0438 Cleanup sql projects tree (#21883)
* remove MessageTreeItem and rename projectUri to relativeProjectUri

* declare variables inline in constructor
2023-02-09 11:42:00 -08:00
Kim Santiago f8d9106eef removing unused SqlDatabaseProjectTreeViewProvider functions (#21885) 2023-02-09 09:23:45 -08:00