Sakshi Sharma
d69e5b97df
Update SC dialog to save/read file structure to/from schema compare file ( #22727 )
...
* Read/Send ExtractTarget information from/to STS
* Remove comment
* Cleanup comment and update azdata dependency
2023-04-14 11:47:59 -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
Charles Gagnon
4a5ac92e46
Update ads-extension-telemetry to 1.4.0 ( #22069 )
...
* Update ads-extension-telemetry
* One more
2023-02-28 22:25:07 -08:00
Sakshi Sharma
d0861f01ed
Update string to enum for folder structure ( #21406 )
...
* Update string to enum
* Remove newly added enum value
2022-12-14 08:43:17 -08:00
Karl Burtram
8a3d08f0de
Merge vscode 1.67 ( #20883 )
...
* Fix initial build breaks from 1.67 merge (#2514 )
* Update yarn lock files
* Update build scripts
* Fix tsconfig
* Build breaks
* WIP
* Update yarn lock files
* Misc breaks
* Updates to package.json
* Breaks
* Update yarn
* Fix breaks
* Breaks
* Build breaks
* Breaks
* Breaks
* Breaks
* Breaks
* Breaks
* Missing file
* Breaks
* Breaks
* Breaks
* Breaks
* Breaks
* Fix several runtime breaks (#2515 )
* Missing files
* Runtime breaks
* Fix proxy ordering issue
* Remove commented code
* Fix breaks with opening query editor
* Fix post merge break
* Updates related to setup build and other breaks (#2516 )
* Fix bundle build issues
* Update distro
* Fix distro merge and update build JS files
* Disable pipeline steps
* Remove stats call
* Update license name
* Make new RPM dependencies a warning
* Fix extension manager version checks
* Update JS file
* Fix a few runtime breaks
* Fixes
* Fix runtime issues
* Fix build breaks
* Update notebook tests (part 1)
* Fix broken tests
* Linting errors
* Fix hygiene
* Disable lint rules
* Bump distro
* Turn off smoke tests
* Disable integration tests
* Remove failing "activate" test
* Remove failed test assertion
* Disable other broken test
* Disable query history tests
* Disable extension unit tests
* Disable failing tasks
2022-10-19 19:13:18 -07:00
Sakshi Sharma
dc8d703c25
Open Scmp file in Schema Compare extension ( #20435 )
...
* Open Scmp file in Schema Compare extension
* Address comments and fix failing test
* Addressed comment
2022-08-24 09:50:22 -07:00
Sakshi Sharma
cd1618798e
Save db project information when saved in scmp file ( #20335 )
...
* Save db project information when saved in scmp file
* Address comments
2022-08-15 08:23:32 -07:00
Kim Santiago
fe0cff07d6
Expose refresh projects tree ( #18890 )
...
* refresh project tree after apply schema compare to project
* clarify comment
2022-03-31 11:08:08 -07:00
Kim Santiago
8537a30996
fix project not getting updated after schema cmopare ( #18850 )
2022-03-29 11:55:12 -07:00
Nemanja Milovančević
5e68ff1dfe
Make mssql extension a module ( #18804 )
...
* Rebase from main branch
* import from module
* Add mssql module ref
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
2022-03-24 11:09:55 -07:00
Benjin Dubishar
c64655ae71
Benjin/project update bug ( #18532 )
...
* correct result.success
* shifting success message to actually check success
* keying on errorMessage rather than success
2022-02-25 16:59:28 -08:00
Benjin Dubishar
292e60a767
Apply changes from remote database to sqlproj - sql-database-projects changes ( #17738 )
...
* update project from database
* update project from database
* Leftover merge update
* Slight refactor to add vscode entrypoints
* Re-adding leftover schemacompare bits that reference database project changes
* Removing unnecessary function
* Addiung GetDSP command to package.json
* tests and a race condition fix
* remove custom UUID generation code
* swapping awaits for voids on promises
* PR feedback
* PR feedback
* Hide update project command from vscode
* Swapping cross-extension commands for bound extension contract
* Re-adding schema compare radio buttons for sqlproj
* Adding refresh after project update
* Populating list of project scripts just before comparison to avoid missing script errors of project was separately edited
* Adding missing await for okay button enable check
* Correcting schema compare source when populated from a project
* Rename UpdateDataModel to be more clear
* Fix incorrectly changed type
* Added new runComparison schema compare command, hooked up to sqlproj extension
* Added progress indicator for "apply now" option
* moved string literal to constant
* Added missing await
* Setting missing "saveScmpButton" state to fix test
* Revert "Setting missing "saveScmpButton" state to fix test"
This reverts commit 55612c9def24ac9e3398f5bbd153d21d9d3ca37f.
* Removing preemptive resetWindow() call
* general cleanup
* PR feedback
* property renames
* Reverting rename; requires Tools Service change first
* Adding header to updateProject
* Adding missing header
* PR feedback
* adding missing await
* Handing race condition for UI enable
* Fixing broken okay enable case
* Fixing enum comparison wonk
Co-authored-by: Noureldine Yehia <t-nyehia@microsoft.com >
2022-01-11 16:52:09 -08:00
Benjin Dubishar
1f98f29eae
Apply changes from remote database to sqlproj - schema-compare changes ( #17679 )
...
* update project from database
* update project from database
* Merge from main
* Removing dupe test stub
* PR feedback
* cleanup
* PR feedback
* Fixing tests, adding stubs to update sqlproj as schema compare target
* updating code comment
Co-authored-by: Noureldine Yehia <t-nyehia@microsoft.com >
2021-11-22 10:50:36 -08:00
Benjin Dubishar
b5f8e81250
Apply changes from Remote Database to sqlproj - mssql changes ( #17655 )
...
* update project from database
* update project from database
* update project from database
* Re-adding schemaComparePublishChanges for temporary backcompat
* Adding comment for keeping enum values in sync
* Correcting enum value
Co-authored-by: Noureldine Yehia <t-nyehia@microsoft.com >
2021-11-15 15:42:56 -08:00
Kim Santiago
6c79b2a8c9
fix schema compare results at bottom ( #17299 )
2021-10-07 13:33:10 -07:00
Kim Santiago
e037118082
Reset schema comapre when comparison result is not success ( #17184 )
2021-10-01 10:21:07 -07:00
Charles Gagnon
041bd560c0
Fix modelview container removal issue ( #16753 )
2021-08-12 13:12:31 -07:00
Charles Gagnon
1015b2f960
Fix schema compare diff editor not showing ( #16733 )
...
* Fix schema compare diff editor not showing
* remove unneeded
* remove more unused
2021-08-11 23:15:08 -07:00
nasc17
b472539646
Switch withProperties to be withProps ( #16380 )
...
* Transition to withProps in arc
* Transition to withProps inputbox
* Transition to withProps in checkbox
* Transition to withProps text
* Transition to withProps in declarative table
* Transition to withProps hyperlink
* Transition to withProps in button
* Transition to withProps radiobutton
* Transition to withProps in input
* Transition to withProps button
* Transition to withProps in text
* Transition to withProps image
* Transition to withProps declare table
* Transition to withProps in table
* Transition to withProps radio button
* Transition to withProps in image
* Transition to withProps radio button
* Transition to withProps in commit
* Transition to withProps div cont
* Transition to withProps in comp
* Transition to withProps radio card
* Transition to withProps in comp icon
* Transition to withProps card
* Transition to withProps list
2021-07-21 11:12:47 -07:00
Charles Gagnon
3a3d7f5271
withProperties -> withProps ( #15876 )
...
* withProperties -> withProps
* Fix errors
* remove ,
* fixes
* Update azdata-test
* Fix dacpac tests
* Add required and remove added layout
2021-06-23 14:26:14 -07:00
Kim Santiago
9d8660749a
fix schema compare display name having username ( #15357 )
...
* fix schema compare display name having username
* reuse variable
* fix previous selection for server not being selected in dialog
* fix tests
2021-05-07 12:46:06 -07:00
Sakshi Sharma
e695a01538
Update Schema Compare dialog to start a new connection ( #15193 )
...
* Update SC dialog to start a new connection
* Functionally complete
* Fix target db to pick correct database
* Address comments
* Added test+fixed one missing scenario
* Address comments + add one more test
2021-04-29 09:53:38 -07:00
Vaggelis Sotiropoulos
3e4f687862
ISSUE10685 - Edits schemaCompareDialog to show connectionName if provided ( #15152 )
...
* ISSUE10685 - Edits schemaCompareDialog to show connectionName if provided
* ISSUE10685 - Edits to not show user if connectionName
* ISSUE10685 - Shows connection name is schema compare launched from db
* ISSUE10685 - Shows connection name in schema compare window
* ISSUE10685 - Edits utils tests
* ISSUE10685 - Edits schemaCompare test
* ISSUE10685 - Adds/Edits specs
* ISSUE10685 - Changes let to const
2021-04-26 11:11:43 -07:00
Kim Santiago
eb8c1c396d
fix schema compare dropdown not selecting correct db when multiple active connections ( #14999 )
...
* fix schema compare dropdown not selecting correct db when multiple active connections
* fix when no username so default is used
2021-04-06 16:15:31 -07:00
Alan Ren
a3cddbc8aa
align with portal button style ( #14187 )
...
* align with portal button style
* fix welcome page
* image button
* more fixes
* use withProperties
* add comment back
* add border radius
2021-02-08 15:12:54 -08:00
Sakshi Sharma
81a1b1a55a
Sakshis/scmp test ( #13904 )
...
* Fixed a few await issues
* Introduced ModelView as a class member in schemaCompareMainWindow
* Added a few button tests
* Fixed tests
* Add a missing await
2021-01-07 10:15:09 -08:00
Alan Ren
ae6494f3e4
table component improvement ( #13801 )
...
* hyperlink column
* fixed width for image only button - old behavior
2020-12-14 20:28:43 -08:00
Kim Santiago
b10b52e4fe
switch schema compare to use inputbox instead of table headers ( #13715 )
2020-12-07 17:42:48 -08:00
Leila Lali
9977e83380
Adding unit tests for schema compare service ( #13642 )
2020-12-07 14:42:38 -08:00
Charles Gagnon
b57bf53b67
Fix ModelView container child layout issues ( #13412 )
2020-11-16 10:59:21 -08:00
Charles Gagnon
bf9646ba98
Add ModelViewEditorOpened event ( #12597 )
...
* Add ModelViewEditorOpened event
* fix
* Fix compile
2020-09-24 12:53:28 -07:00
Kim Santiago
d533af3019
Schema Compare cleanup ( #11418 )
...
* cleanup async and await stuff
* remove awaits
* remove more awaits
2020-07-21 09:47:14 -07:00
Sakshi Sharma
fd29e35199
Schema compare test coverage ( #11080 )
...
* Schema compare tests for updateSourceAndTarget method
* Merge conflict resolution
* Move resetbutton call before adding them to toolbar
* PR comments- added a buttons interface for readability and created a test class to add test functionality to the orginal class
* Moved interface ButtonState to test code
2020-07-01 18:35:54 -07:00
Sakshi Sharma
de263eacd1
Schema Compare test coverage ( #11042 )
...
* Few tests for Schema Compare
* Addressed comment- removed wait in test
* Split setEndpointInfo for database and dacpac
2020-06-24 14:03:02 -07:00
Sakshi Sharma
f862d77f34
Tests for Schema Compare utils file ( #10822 )
...
* Introduced ApiWrapper for testability
* Added tests for coverage of utils.ts
* Addressed comments
2020-06-11 10:16:22 -07:00
Kim Santiago
b83279c24c
Add sql proj schema compare for dacpac ( #10388 )
...
* add support for schema compare to specify source dacpac
* add build and dacpac produced from build
* check if dacpac exists
* add tests
* move exists check code to utils
* fix test run failing
2020-05-15 13:03:08 -07:00
Anthony Dresser
a1930bdc59
fix formatting
2020-04-24 14:03:37 -07:00
Kim Santiago
45341d786b
Move dacpac and schema compare localized strings ( #9107 )
...
* move localized strings
* move schema compare localized strings
2020-02-10 13:30:52 -08:00
Charles Gagnon
379eae22ed
Switch schema-compare to using ads common events ( #8957 )
...
* Switch schema-compare to using ads common events
* Update yarn.lock
2020-01-24 15:30:31 -08:00
Sakshi Sharma
794f7a14c0
Update schema compare extension to support SQL Login ( #8567 )
...
* Update schema compare extension to support SQL Login
* Update schema compare extension to support SQL Login
* Fixed the scenario where scmp file doesn't open as expected- cleaning up previous connect information and setting appropriate button states if either source or target info is missing. Also updated function getEndpointName to return empty string if serverName and databaseName aren't present, instead of partial information.
* Addressed comments. Fixed var names and moved repeatitive code in a helper function.
2019-12-06 11:52:48 -08:00
sakshisharma-DS
e17d4e96ae
Update exclude/include message in SchemaCompare ( #8350 )
...
* Update exclude/include message in SchemaCompare
* Segregated the messages as discussed
* Updated message with a comma and merged two If statements in one
2019-11-22 13:20:38 -08:00
Kim Santiago
ce5eb00177
Fix schema compare include/exclude behavior ( #8042 )
...
* don't uncheck difference if unsuccessful
* changes after rebasing to get schema compare fix
* First cut of column checkbox checking reactive to include opteration
* handle blocking dependencies and affected dependencies
* Changing the checked property of table to be list
* Addressing comments
* add map to keep row number of diff entries
* remove findDifferenceRow() since it isn't needed anymore
* fix scrolling to the top when checking/unchecking and add info message
* change checked to updateCells
* improve warning cannot include/exclude message
2019-10-29 11:55:31 -07:00
Charles Gagnon
4a68ab4659
Hygiene linting for extensions + new rule ( #7843 )
...
* linting for extensions + new rule
* Remove unneeded array
* Fix spelling mistake
* Fix bad merge
2019-10-22 18:56:31 -07:00
Elliot Boschwitz
ecd76eb870
removed hidden overflow for schema compare splitview ( #7104 )
...
Fixes issue where scrollbars wouldn't appear with vertical overflow in schema compare
2019-10-08 13:44:12 -07:00
Kim Santiago
749ddc30c7
fixing error and splitview not showing for schema compare ( #7549 )
2019-10-07 17:51:46 -07:00
Kim Santiago
e3c347e148
Fixing folder path in dacpac and schema compare extensions ( #7352 )
...
* fixing folder path in dacpac and schema compare extensions
* created method
* import os
2019-09-25 15:00:56 -07:00
Kim Santiago
e6cac8cc14
Fix missing schema compare icons ( #7355 )
...
* move schema compare icons
* use extensionContext.extensionPath
2019-09-25 12:59:18 -07:00
Kim Santiago
3e9b694e6f
Update dacpac and schema compare extensions to not use deprecated workspace.rootPath ( #7125 )
2019-09-09 13:21:35 -07:00
Kim Santiago
82f93f7da5
remove non-descriptive tooltips ( #7099 )
2019-09-09 11:03:14 -07:00
Udeesha Gautam
9b003ad285
Passing test sc service to unit test ( #7006 )
...
* passing test sc service to for UT execution
2019-08-29 17:22:14 -07:00