* initial changes for loadin dsc table with real values from smo
* Displaying diff columns for DSC for diff sql server
* checkbox maiants the selection
* elevate option fails to load correct value when set to when_supported option
* all working till maxdop, todo pause option, save
* commented MAXDOP changes, as it is causing issues
* primary,sec,checkbox working as expected, TODO:MaxDop etc options,saving,tests
* Undo MAXDOP commented code
* refactored with service data
* column header width adjustments
* Maxdop and pause resume options completed, apply button is failing now
* Removed option names from loc and using Id instead as names may change in future like in doc
* Apply button fixed
* refactored to reduce table reload
* Ledger digest completed
* refactor done: maxdop secondary shows wrong data from pause_resume
* refactor more: all working but table focus disturbs on update table
* adds conditions for unsupported dsc to <2016 server
* maxdop secondary checkbox fix
* rows still loses focus after value change due to update table row data
* Fixed updating secondary dropdown value
* reusing the private method and removed the duplicated codes
* initial commit - fullText and owner need revision
* Enter key in input type allows the change to update the table data, reduces the live update issues
* Setting focus to the current row
* loading data, need stylings-increase col length, etc
* using the existed setTableData method
* Adding new file dialog
* creating addFile, but not displaying in table, issue with appendData
* Adding row to the table, options are getting from STS
* all working except InPercent value
* code review comment updates
* Input type checkbox update table additional validation
* all except path
* fixing the input type focus and reverting the enterKeyPress logic
* browse path is created, need stylings,refactor,filestream selection and add
* fixing the flickering issue with data refresh
* new file options toggle and grid display string updates
* moving code inline and using actual component
* cleanup
* Add file saving is done, except one styling issue with autogrowth section
* add,remove working, need to edit file
* add, edit, remove - all working, need css fixes and -1 fix
* addressing code review comments
* adding local changes adn fixing for edit file
* adjusting css
* addressing code review comment for using loc var instead of duplicated line of code to get the rowinfo
* all fixed, need testing and refactor
* vBump STS and fixing required field causing the apply button not enable for other options on main branch
* fixing autogrowth radio buttons change updates
* all working except some css
* disabled size for filestream
* fixing filegroups and filetypes scnearios, added filename validation for newfile, todo:editingNew file
* added max and min values to the inputs
* editing filename validation completed, all done exccept CSS
* all fixed except scroll bar
* edit db file header, filename enable issue fix
* PR comment supporting updates for STS
* min updates
* modfying addButtonsForTable method and reusing it for edit button
* code review comment updates
* Dialogbase addbuttons to table refactored
* more typo fixes
* removing fulltext index prop
* service fix
* using path.join instead of hardcoded separators
* final commit changes
* initial changes for loadin dsc table with real values from smo
* Displaying diff columns for DSC for diff sql server
* checkbox maiants the selection
* elevate option fails to load correct value when set to when_supported option
* all working till maxdop, todo pause option, save
* commented MAXDOP changes, as it is causing issues
* primary,sec,checkbox working as expected, TODO:MaxDop etc options,saving,tests
* Undo MAXDOP commented code
* refactored with service data
* column header width adjustments
* Maxdop and pause resume options completed, apply button is failing now
* Removed option names from loc and using Id instead as names may change in future like in doc
* Apply button fixed
* refactored to reduce table reload
* Ledger digest completed
* refactor done: maxdop secondary shows wrong data from pause_resume
* refactor more: all working but table focus disturbs on update table
* adds conditions for unsupported dsc to <2016 server
* maxdop secondary checkbox fix
* rows still loses focus after value change due to update table row data
* Fixed updating secondary dropdown value
* reusing the private method and removed the duplicated codes
* Enter key in input type allows the change to update the table data, reduces the live update issues
* Setting focus to the current row
* using the existed setTableData method
* code review comment updates
* Input type checkbox update table additional validation
* fixing the input type focus and reverting the enterKeyPress logic
* fixing the flickering issue with data refresh
* moving code inline and using actual component
* cleanup
* addressing code review comments
* addressing code review comment for using loc var instead of duplicated line of code to get the rowinfo
* vBump STS and fixing required field causing the apply button not enable for other options on main branch
* Making IsLedger Property to Read-only
* refactor
* Update extensions/mssql/src/objectManagement/ui/databaseDialog.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Initial commit for adding a basic general tab for the database properties
* Refactoring for dialog inputs
* removed properties nodeType and using database node and additional cleanup, diabling the functionality.
* Changes according to STS data fetch
* Reuse database Dialog
* Undo contract file change
* more refactoring
* fetched scrollbar fix into this PR
* Tabbed panel is being used for horizontal tabs
* stying fix for general tab button
* final commit for today :)
* Updates according to STS changes
* missed updates
* Refactored updates
* moved options as discussed and added collapsible sections... need to fix scroll bar
* Fixing the horizontal scroll bar of tabbedpanel
* initial updates
* need to fix the error!
* rror fixed and options are loading with sample values
* need to load real values for all felds and map values to dropdown options
* Dd loading correctly, need to add validation to recovery field and save options back
* refactor
* removing nullable property
* All changes done except recoveryTime validation
* Refactoring
* all values are saving as expected, isDirty flag is fixed. Todo: recovery validation and tests
* added general section for the options tab
* modifying pageVerify and userAccess to string array
* updates to general section of options tb
* disabling couple of general properties for MI
* Adding server edition conditions and toggling the UI options
* adding numeric validation to the recovey time
* Removing serveInfo logic and using the unsupported options approach from STS
* addressing comments and little code refactor
* changes with nullOrUndefined helper method
* replacing dropdowns with checkboxes
* adding unit test for helper method
* removed commented sample code and added comments
* Initial commit for adding a basic general tab for the database properties
* Refactoring for dialog inputs
* removed properties nodeType and using database node and additional cleanup, diabling the functionality.
* Changes according to STS data fetch
* Reuse database Dialog
* Undo contract file change
* more refactoring
* fetched scrollbar fix into this PR
* Tabbed panel is being used for horizontal tabs
* stying fix for general tab button
* final commit for today :)
* Updates according to STS changes
* missed updates
* Refactored updates
* moved options as discussed and added collapsible sections... need to fix scroll bar
* Fixing the horizontal scroll bar of tabbedpanel
* Adding a loader spinner before the options load
* removing the local var and using const
* Reducing delay between button click and loader visibility,
* Include Object Types logic refactored and options fetching from DacFx
* Removed localized object types constants
* Prop name updated and references and tests updated
* updated comments
* STS vBump
* updating the test file to pass the PR Validations
* Include Objects Coming from DacFx and tests all working as expected
* Exclude Object types functionality is working as expected and Unit tests
* more refactor updates
* Updated comments and prop name
* Addressing the coments and code updates accordingly
* Updating according to the comments
* STS vbump
* These changes should be deleted with SC changes, not here
* format fixed
* options loading from profile if has profile loaded
* Removing profile file unwanted changes
* updating profiles options comment
* STS vBump
* revert STS version from this PR
* OptionsDialog and buttons CSS styling updates
* final css changes for sql db options tab
* modified options button into itmes list
* updated tab name
* Added removed line git blame
* OptionsMapTable logic to replace the deployment hardcoded values final
* Test modifiaction
* OptionsMApTable updates with STS and review commetns
* comments added and option string moved to constants file
* Reverting the options button css related change and will put in other PR
* converted optionsMapTable to custom type and references.
* Options prop changes and model updates
* Reset btn event method name fixed
* removed local booleanOptionDict var and using the existing one
* updated code with removed local vars
* Update to booleanOptionsDictionary name
* merged two variable to one
* Refactoring code and updating variables
* separated lookup and data array and refactor
* missing visibility
* reset logic revised and no other edgecases found
* variable names updated to meaningful
* vbump here to test the checks, sending new vbump PR separately
* initilaizing the sqlproj display options work
* added more code to the options dialog, need default option values
* Except REset Button, all works and need to refactor and test
* DisplayOptions for SQL DB Proj completed, refactor needed
* Tests for display options
* refactor code and removed unnecessary await calls
* Description values getting from STS API and code refactor
* DacpacExtesnion test model error fix
* updates related to STS model updates
* Dac Deployement options model updates according to STS changes
* Undoing file updates and moving as separate PR
* Undoing vscode whitespace changes which were added accidentally
* Options display name coming from API
* Updated model with dac deploy options display names coming from the STS API
* errors fixed after merge to main
* separating model related changes after merge, separate PR exists
* wrong Comment for the test case removed
* code refactor updates
* Hyperlink changes to secondary button and style updates
* refactoring code and comments
* importing type only instead of whole azdata and comment updates
* projectcontroller test fix
* removed duplicate file updates from other PR
* code refactor according to comments
* Added dispose to the onclick handler
* Added test case
* parameter change results error and fixed
* Addressing all comments with updates
* Unused variable removed and missed with previous commit
* Updated the ppublish button and width
* Adjusted the database dropdown and options margins to make all input align in same line
* Updated the database width and moved stylings to uiconstants file
* Dac Deployement options model updates according to STS changes
* Undoing vscode whitespace changes which were added accidentally
* Updated model with dac deploy options display names coming from the STS API
* Combining all exisitng code updates into single branch/pr. it includes mssql model updates and SC/dacpac model, code and testupdates
* sql db proj test failure fix
* STS version bump to 4.0.0.4