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
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
56d5061942
Set default radio button selection, evaluate default component popula… ( #17764 )
...
* Set default radio button selection, evaluate default component population off of selection instead of unprocessed input
* rename var
* if -> switches
* Remove project radio buttons because they require commands that aren't yet checked in (and fail as a result)
2021-12-01 02:31:10 -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
8eafc34194
Change recompare message after changing options to modal ( #17103 )
...
* Change recompare message to modal
* change options to yes and no
2021-09-20 16:35:55 -07:00
Sakshi Sharma
3847271e67
Update Schema Compare dialog to use folder icon ( #16208 )
...
* Update Schema Compare dialog to use folder icon
* Address comment
2021-07-16 12:21:59 -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
Benjin Dubishar
ca81290aa1
added missing await, removed duplicate okay button checks ( #15450 )
2021-05-13 09:47:29 -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
bb29ae00c9
Fix schema compare options reset ( #14225 )
...
* fix schema compare options reset not updating correctly
* bump version
2021-02-10 13:46:46 -08: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
Charles Gagnon
60f556428f
Fix select box event ordering ( #13831 )
...
* Fix select box event ordering
* more fixes
* Fix page
* Revert typing change
* Undo param
* Fix compile error
* Completely remove typings
2020-12-17 09:51:10 -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
28fef53731
fix schema compare database dropdown not starting with values ( #13461 )
2020-11-17 13:42:00 -08:00
Kim Santiago
ba80000e27
add loading indicators to schema compare dialog ( #13189 )
2020-11-02 17:50:28 -08:00
Sakshi Sharma
381a32929f
First set of test for SchemaCompareDialog ( #11444 )
...
* Add a test for SchemaCompareDialog and update the product code with deferred promise
* Update test to verify that button clicked worked
* Addressed comments
* Updated verifyButtonsState to use should instead of console.log
2020-08-04 01:10:46 -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
Kim Santiago
69849de6f0
Refactor schema compare options and add tests ( #11414 )
...
* refactor to make testing options easier
* some cleanup
* remove async
* get file to 100% coverage
* address a couple comments
2020-07-20 16:53:44 -07:00
Kim Santiago
2b111c6bfd
fix schema compare database dropdown when the user doesn't have access to master ( #9813 )
2020-03-31 16:32:30 -07:00
Kim Santiago
dbd9e5be2d
fix nvda announcing wrong radio button grouping ( #9613 )
2020-03-13 14:36:12 -07:00
Kim Santiago
a013f7d6ff
Accessibility fixes ( #9516 )
...
* add aria label for deploy plan table
* shift focus to options dialog when opened
* add check for when table is empty
2020-03-10 14:59:06 -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
Anthony Dresser
bd7aac8ee0
Merge from vscode a234f13c45b40a0929777cb440ee011b7549eed2 ( #8911 )
...
* Merge from vscode a234f13c45b40a0929777cb440ee011b7549eed2
* update distro
* fix layering
* update distro
* fix tests
2020-01-22 13:42:37 -08:00
Charles Gagnon
ae8304fc33
Add focus function for modelview components ( #8348 )
...
* Add focus method for modelview components
* Remove focus properties from table and radiobutton
* Fix break
2019-11-15 17:36:55 -08: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
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
Anthony Dresser
28d453fced
Implement a no sync rule ( #7216 )
...
* implement a no sync rule
* fix linting disable
* fix unused imports
* exclude more testing
* clean up fs usage
* clean up more fs usage
* remove duplicate of code
* fix compile errors
2019-09-17 13:32:42 -07:00
Anthony Dresser
ea0f9e6ce9
Merge from vscode 64980ea1f3f532c82bb6c28d27bba9ef2c5b4463 ( #7206 )
...
* Merge from vscode 64980ea1f3f532c82bb6c28d27bba9ef2c5b4463
* fix config changes
* fix strictnull checks
2019-09-15 22:38:26 -07:00
Benjin Dubishar
d262ea21e3
Addresses accessiblility bug by converting editable dropdowns to normal when in accessible mode ( #7159 )
...
* Automatically disabling editability on extension dropdowns when in accessible mode
* correcting variable name type
2019-09-12 11:08:05 -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
Udeesha Gautam
854508e940
Bug/accessibility - Focus related issues ( #6859 )
...
* fix for https://github.com/microsoft/azuredatastudio/issues/6798
* fix for https://github.com/microsoft/azuredatastudio/issues/6851
2019-08-22 10:29:27 -07:00
Kim Santiago
8e668b657c
add names for schema compare dialog ( #6856 )
2019-08-21 15:20:07 -07:00
Anthony Dresser
ecb80f14f0
Merge from vscode 6e530127a1bb8ffbd1bfb77dc680c321dc0d71f5 ( #6844 )
2019-08-20 21:07:47 -07:00
Kim Santiago
8fbbd5127c
Add aria labels to '•••' buttons in dacfx and schema compare ( #6814 )
...
* adding aria label to '•••' buttons in dacfx and schema compare extensions
* add tooltips and more descriptive labels
* fix typo
2019-08-20 15:18:18 -07:00
Benjin Dubishar
949ea4b6c3
Adds ariaRowcount to virtualized tables in SchemaCompare options ( #6816 )
...
* Adds button extension for explicitly setting aria-label, in case the label is not screen-reader friendly
* Explicitly set aria-label for ellipsis buttons in SchemaCompare
* Changing localize call to double-quotes
* Removes unused getter for ariaLabel
* Adding aria-rowcounts for long scrollable tables
2019-08-20 13:17:13 -07:00
Anthony Dresser
986ad33678
Remove dacfx and schema compare from the azdata api ( #6684 )
...
* refactor mssql extension to directly expose dacfx and schema compare
* remove more code
* fix compile errors
2019-08-19 16:34:09 -07:00
Udeesha Gautam
2d2b61a001
Sql tools service update to fix SC bugs ( #6673 )
2019-08-09 14:43:37 -07:00
Kim Santiago
edeab906bc
fix options not getting set and aggregates not getting unchecked ( #6675 )
2019-08-09 14:13:48 -07:00
Karl Burtram
c3b7485e3f
Change 'Ok' to "OK" in schema compare UI ( #6610 )
2019-08-06 08:38:00 -07:00
Kim Santiago
06e9a6e684
Fix Schema compare recompare after options reset not using correct options ( #6539 )
...
* Fix incorrect options being used after reset
* bump version
2019-07-30 15:38:10 -07:00
Kim Santiago
6606be998b
rename SchemaCompareResult to SchemaCompareMainWindow ( #6358 )
2019-07-11 17:05:25 -07:00
Kim Santiago
b34e3cbe90
fix compare after opening scmp with dacpacs failing ( #6201 )
2019-06-27 18:26:02 -07:00
Udeesha Gautam
caba5c9d26
Databases order in schema compare dialog to be same as OE ( #6162 )
...
* Database order to be same as OE
* changes to reset for source target buttons
2019-06-26 12:16:51 -07:00
Kim Santiago
144a7f941b
Schema Compare open scmp file ( #6118 )
...
* can compare scmp with databases
* show error if can't connect to db
* excludes now work
* fixes after rebase and other small fixes
* Addressing comments
* fixes after rebasing
* fix excludes not always being remembered correctly
* fix switched check
* addressing comments
2019-06-25 17:30:07 -07:00
Kim Santiago
6a0ffdfa60
Update dacpac and schema compare extensions to use getConnections() ( #6131 )
...
* update dacpac and schema compare extensions to use getConnections
* use more const
* make MSSQL a const
* changing name of mssql const
* add comment for name of parameter
2019-06-24 14:16:07 -07:00
Kim Santiago
32313c71e4
Add ability to change source and target to Schema Compare ( #6026 )
...
* add ability to change source and target
* addressing comments
* fixes after rebasing
* add check for user
* bump extension version
2019-06-19 15:42:46 -07:00