* 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
* Also fixed an issue where a manually edited text field doesn't get updated when selecting the same dropdown value from before the manual edit.
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* 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