mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Enabling Database scoped configurations tab to DB Properties (#23890)
* 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
This commit is contained in:
committed by
GitHub
parent
f1ba6baf41
commit
e5b7bff7b4
@@ -454,6 +454,7 @@ export interface Database extends ObjectManagement.SqlObject {
|
||||
databaseReadOnly?: boolean;
|
||||
encryptionEnabled: boolean;
|
||||
restrictAccess?: string;
|
||||
databaseScopedConfigurations: DatabaseScopedConfigurationsInfo[];
|
||||
}
|
||||
|
||||
export interface DatabaseViewInfo extends ObjectManagement.ObjectViewInfo<Database> {
|
||||
@@ -472,6 +473,16 @@ export interface DatabaseViewInfo extends ObjectManagement.ObjectViewInfo<Databa
|
||||
azureMaxSizes?: AzureEditionDetails[];
|
||||
pageVerifyOptions?: string[];
|
||||
restrictAccessOptions?: string[];
|
||||
dscOnOffOptions?: string[];
|
||||
dscElevateOptions?: string[];
|
||||
dscEnableDisableOptions?: string[];
|
||||
}
|
||||
|
||||
export interface DatabaseScopedConfigurationsInfo {
|
||||
id: number;
|
||||
name: string;
|
||||
valueForPrimary: string;
|
||||
valueForSecondary: string;
|
||||
}
|
||||
|
||||
export interface OptionsCollection {
|
||||
|
||||
Reference in New Issue
Block a user