ydb-embedded-ui 6.21.0 → 6.22.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/AutoRefreshControl/i18n/index.d.ts +1 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.d.ts +2 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js +2 -2
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js.map +1 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +4 -0
- package/dist/components/GroupInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.js +1 -3
- package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/QueryResultTable/Cell/Cell.js +1 -4
- package/dist/components/QueryResultTable/Cell/Cell.js.map +1 -1
- package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -1
- package/dist/components/VDisk/VDisk.d.ts +2 -1
- package/dist/components/VDisk/VDisk.js +2 -2
- package/dist/components/VDisk/VDisk.js.map +1 -1
- package/dist/components/VDiskInfo/VDiskInfo.js +1 -3
- package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
- package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
- package/dist/containers/App/App.scss +1 -1
- package/dist/containers/Cluster/Cluster.js +1 -1
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/i18n/index.d.ts +1 -1
- package/dist/containers/Clusters/Clusters.js +3 -3
- package/dist/containers/Clusters/Clusters.js.map +1 -1
- package/dist/containers/Clusters/columns.js +2 -2
- package/dist/containers/Clusters/columns.js.map +1 -1
- package/dist/containers/Clusters/constants.d.ts +4 -4
- package/dist/containers/Clusters/constants.js +3 -3
- package/dist/containers/Clusters/constants.js.map +1 -1
- package/dist/containers/Node/Node.js +14 -4
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Node/NodePages.js +4 -5
- package/dist/containers/Node/NodePages.js.map +1 -1
- package/dist/containers/Nodes/Nodes.js +10 -11
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes.js +10 -11
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/{getNodesColumns.d.ts → columns/columns.d.ts} +3 -10
- package/dist/containers/Nodes/{getNodesColumns.js → columns/columns.js} +29 -39
- package/dist/containers/Nodes/columns/columns.js.map +1 -0
- package/dist/containers/Nodes/columns/constants.d.ts +39 -0
- package/dist/containers/Nodes/columns/constants.js +79 -0
- package/dist/containers/Nodes/columns/constants.js.map +1 -0
- package/dist/containers/Nodes/columns/hooks.d.ts +6 -0
- package/dist/containers/Nodes/columns/hooks.js +11 -0
- package/dist/containers/Nodes/columns/hooks.js.map +1 -0
- package/dist/containers/Nodes/columns/i18n/en.json +16 -0
- package/dist/containers/Nodes/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Nodes/columns/i18n/index.js +5 -0
- package/dist/containers/Nodes/columns/i18n/index.js.map +1 -0
- package/dist/containers/Nodes/columns/types.d.ts +9 -0
- package/dist/containers/Nodes/columns/types.js +2 -0
- package/dist/containers/Nodes/columns/types.js.map +1 -0
- package/dist/containers/Nodes/getNodes.d.ts +3 -2
- package/dist/containers/Nodes/getNodes.js +6 -3
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +12 -10
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +14 -14
- package/dist/containers/PDiskPage/i18n/en.json +1 -1
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/ReduxTooltip/ReduxTooltip.js +7 -7
- package/dist/containers/ReduxTooltip/ReduxTooltip.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.d.ts +4 -4
- package/dist/containers/Storage/PDisk/PDisk.js +2 -2
- package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorage.d.ts +2 -3
- package/dist/containers/Storage/PaginatedStorage.js +27 -6
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/Storage.d.ts +4 -4
- package/dist/containers/Storage/Storage.js +45 -11
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageControls/StorageControls.d.ts +4 -1
- package/dist/containers/Storage/StorageControls/StorageControls.js +4 -2
- package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +3 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +2 -4
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +3 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.js +2 -4
- package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/columns.d.ts +4 -0
- package/dist/containers/Storage/StorageGroups/columns/{getStorageGroupsColumns.js → columns.js} +33 -81
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +37 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.js +75 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +6 -2
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +22 -14
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +15 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.js +5 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +2 -6
- package/dist/containers/Storage/StorageGroups/getGroups.js +4 -1
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +3 -3
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +2 -5
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +4 -6
- package/dist/containers/Storage/StorageNodes/StorageNodes.js +2 -4
- package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.scss +1 -27
- package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +23 -0
- package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +39 -0
- package/dist/containers/Storage/StorageNodes/{getStorageNodesColumns.js → columns/columns.js} +21 -31
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +25 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.js +47 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +43 -0
- package/dist/containers/Storage/StorageNodes/columns/hooks.js +18 -0
- package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +9 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.js +5 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/types.d.ts +11 -0
- package/dist/containers/Storage/StorageNodes/columns/types.js +2 -0
- package/dist/containers/Storage/StorageNodes/columns/types.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/getNodes.d.ts +2 -2
- package/dist/containers/Storage/StorageNodes/getNodes.js +7 -4
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/shared.js +1 -1
- package/dist/containers/Storage/StorageNodes/shared.js.map +1 -1
- package/dist/containers/Storage/StorageWrapper.d.ts +0 -2
- package/dist/containers/Storage/StorageWrapper.js.map +1 -1
- package/dist/containers/Storage/utils/index.js +6 -5
- package/dist/containers/Storage/utils/index.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.js +14 -57
- package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.scss +14 -17
- package/dist/containers/StorageGroupPage/i18n/en.json +1 -2
- package/dist/containers/StorageGroupPage/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +6 -0
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +2 -2
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +12 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +12 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +13 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +46 -55
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +6 -7
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.d.ts +6 -0
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.js +25 -0
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaActions.d.ts +1 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaActions.js +18 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaActions.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/en.json +21 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/index.js +5 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/index.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/shared.d.ts +1 -0
- package/dist/containers/Tenant/ObjectSummary/shared.js +3 -0
- package/dist/containers/Tenant/ObjectSummary/shared.js.map +1 -0
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +12 -12
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +8 -0
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js +3 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +5 -10
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js +5 -3
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +6 -10
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +11 -2
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.scss +1 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +3 -0
- package/dist/containers/Tenant/utils/schema.js +1 -0
- package/dist/containers/Tenant/utils/schema.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +0 -2
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +0 -1
- package/dist/containers/UserSettings/settings.js +2 -7
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.d.ts +0 -3
- package/dist/containers/VDiskPage/VDiskPage.js +9 -33
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.scss +10 -19
- package/dist/containers/VDiskPage/i18n/en.json +1 -1
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/services/api.d.ts +16 -5
- package/dist/services/api.js +50 -11
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +2 -2
- package/dist/services/settings.js +2 -3
- package/dist/services/settings.js.map +1 -1
- package/dist/store/configureStore.d.ts +2 -2
- package/dist/store/defaultStore.d.ts +1 -1
- package/dist/store/reducers/capabilities/capabilities.d.ts +8 -1
- package/dist/store/reducers/capabilities/capabilities.js +6 -1
- package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
- package/dist/store/reducers/executeQuery.js +3 -0
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/index.d.ts +2 -2
- package/dist/store/reducers/nodes/nodes.d.ts +2 -2
- package/dist/store/reducers/nodes/nodes.js.map +1 -1
- package/dist/store/reducers/nodes/types.d.ts +2 -24
- package/dist/store/reducers/pdisk/pdisk.js +29 -2
- package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
- package/dist/store/reducers/pdisk/utils.js +1 -1
- package/dist/store/reducers/pdisk/utils.js.map +1 -1
- package/dist/store/reducers/storage/storage.d.ts +2 -2
- package/dist/store/reducers/storage/storage.js.map +1 -1
- package/dist/store/reducers/tooltip.d.ts +1 -1
- package/dist/styles/mixins.scss +3 -3
- package/dist/types/api/common.d.ts +1 -0
- package/dist/types/api/nodes.d.ts +33 -0
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/api/query.d.ts +1 -0
- package/dist/types/api/storage.d.ts +8 -5
- package/dist/types/store/query.d.ts +5 -8
- package/dist/utils/constants.d.ts +0 -8
- package/dist/utils/constants.js +0 -9
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/filters.d.ts +2 -1
- package/dist/utils/filters.js +1 -4
- package/dist/utils/filters.js.map +1 -1
- package/dist/utils/hooks/useChangedQuerySettings.d.ts +2 -2
- package/dist/utils/hooks/useChangedQuerySettings.js +2 -1
- package/dist/utils/hooks/useChangedQuerySettings.js.map +1 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +15 -2
- package/dist/utils/hooks/useLastQueryExecutionSettings.js +8 -9
- package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
- package/dist/utils/hooks/useQueryExecutionSettings.d.ts +15 -2
- package/dist/utils/hooks/useQueryExecutionSettings.js +5 -7
- package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
- package/dist/utils/hooks/useSelectedColumns.d.ts +8 -0
- package/dist/utils/hooks/useSelectedColumns.js +35 -0
- package/dist/utils/hooks/useSelectedColumns.js.map +1 -0
- package/dist/utils/nodes.d.ts +3 -22
- package/dist/utils/nodes.js +16 -19
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/query.d.ts +129 -0
- package/dist/utils/query.js +33 -1
- package/dist/utils/query.js.map +1 -1
- package/dist/utils/storage.d.ts +1 -1
- package/dist/utils/storage.js.map +1 -1
- package/package.json +2 -1
- package/dist/containers/Clusters/useSelectedColumns.d.ts +0 -7
- package/dist/containers/Clusters/useSelectedColumns.js +0 -26
- package/dist/containers/Clusters/useSelectedColumns.js.map +0 -1
- package/dist/containers/Nodes/getNodesColumns.js.map +0 -1
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.d.ts +0 -6
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +0 -30
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +0 -1
- package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +0 -2
- package/dist/containers/PDiskPage/PDiskGroups/utils.js +0 -14
- package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +0 -21
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +0 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +0 -50
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +0 -1
- package/dist/containers/VDiskPage/utils.d.ts +0 -2
- package/dist/containers/VDiskPage/utils.js +0 -7
- package/dist/containers/VDiskPage/utils.js.map +0 -1
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +0 -4
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.js +0 -27
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.js.map +0 -1
@@ -1,11 +1,4 @@
|
|
1
|
-
import { QUERY_MODES, STATISTICS_MODES, TRACING_LEVELS, TRANSACTION_MODES, } from '../../../../../utils/query';
|
2
|
-
const DEFAULT_QUERY_SETTINGS = {
|
3
|
-
queryMode: QUERY_MODES.query,
|
4
|
-
transactionMode: TRANSACTION_MODES.implicit,
|
5
|
-
timeout: '60',
|
6
|
-
statisticsMode: STATISTICS_MODES.none,
|
7
|
-
tracingLevel: TRACING_LEVELS.detailed,
|
8
|
-
};
|
1
|
+
import { DEFAULT_QUERY_SETTINGS, QUERY_MODES, STATISTICS_MODES, TRACING_LEVELS, TRANSACTION_MODES, } from '../../../../../utils/query';
|
9
2
|
import getChangedQueryExecutionSettings from './getChangedQueryExecutionSettings';
|
10
3
|
describe('getChangedQueryExecutionSettings', () => {
|
11
4
|
it('should return an empty array if no settings have changed', () => {
|
@@ -17,7 +10,8 @@ describe('getChangedQueryExecutionSettings', () => {
|
|
17
10
|
const currentSettings = {
|
18
11
|
...DEFAULT_QUERY_SETTINGS,
|
19
12
|
queryMode: QUERY_MODES.data,
|
20
|
-
timeout:
|
13
|
+
timeout: 30,
|
14
|
+
limitRows: undefined,
|
21
15
|
};
|
22
16
|
const result = getChangedQueryExecutionSettings(currentSettings, DEFAULT_QUERY_SETTINGS);
|
23
17
|
expect(result).toEqual(['queryMode', 'timeout']);
|
@@ -26,7 +20,8 @@ describe('getChangedQueryExecutionSettings', () => {
|
|
26
20
|
const currentSettings = {
|
27
21
|
queryMode: QUERY_MODES.data,
|
28
22
|
transactionMode: TRANSACTION_MODES.onlinero,
|
29
|
-
timeout:
|
23
|
+
timeout: 90,
|
24
|
+
limitRows: DEFAULT_QUERY_SETTINGS.limitRows,
|
30
25
|
statisticsMode: STATISTICS_MODES.basic,
|
31
26
|
tracingLevel: TRACING_LEVELS.basic,
|
32
27
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getChangedQueryExecutionSettings.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.ts"],"names":[],"mappings":"AACA,OAAO,EACH,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,iBAAiB,GACpB,MAAM,4BAA4B,CAAC;AAEpC,
|
1
|
+
{"version":3,"file":"getChangedQueryExecutionSettings.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.ts"],"names":[],"mappings":"AACA,OAAO,EACH,sBAAsB,EACtB,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,iBAAiB,GACpB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,gCAAgC,MAAM,oCAAoC,CAAC;AAElF,QAAQ,CAAC,kCAAkC,EAAE,GAAG,EAAE;IAC9C,EAAE,CAAC,0DAA0D,EAAE,GAAG,EAAE;QAChE,MAAM,eAAe,GAAkB,EAAC,GAAG,sBAAsB,EAAC,CAAC;QACnE,MAAM,MAAM,GAAG,gCAAgC,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAC;QACzF,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAC/B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,sDAAsD,EAAE,GAAG,EAAE;QAC5D,MAAM,eAAe,GAAkB;YACnC,GAAG,sBAAsB;YACzB,SAAS,EAAE,WAAW,CAAC,IAAI;YAC3B,OAAO,EAAE,EAAE;YACX,SAAS,EAAE,SAAS;SACvB,CAAC;QACF,MAAM,MAAM,GAAG,gCAAgC,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAC;QACzF,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qDAAqD,EAAE,GAAG,EAAE;QAC3D,MAAM,eAAe,GAAkB;YACnC,SAAS,EAAE,WAAW,CAAC,IAAI;YAC3B,eAAe,EAAE,iBAAiB,CAAC,QAAQ;YAC3C,OAAO,EAAE,EAAE;YACX,SAAS,EAAE,sBAAsB,CAAC,SAAS;YAC3C,cAAc,EAAE,gBAAgB,CAAC,KAAK;YACtC,YAAY,EAAE,cAAc,CAAC,KAAK;SACrC,CAAC;QACF,MAAM,MAAM,GAAG,gCAAgC,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAC;QACzF,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;YACnB,WAAW;YACX,iBAAiB;YACjB,SAAS;YACT,gBAAgB;YAChB,cAAc;SACjB,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
@@ -9,10 +9,12 @@ export default function getChangedQueryExecutionSettingsDescription({ currentSet
|
|
9
9
|
const currentValue = currentSettings[key];
|
10
10
|
if ('options' in settings) {
|
11
11
|
const content = (_a = settings.options.find((option) => option.value === currentValue)) === null || _a === void 0 ? void 0 : _a.content;
|
12
|
-
|
12
|
+
if (content) {
|
13
|
+
result[settings.title] = content;
|
14
|
+
}
|
13
15
|
}
|
14
|
-
else {
|
15
|
-
result[settings.title] = currentValue;
|
16
|
+
else if (currentValue) {
|
17
|
+
result[settings.title] = String(currentValue);
|
16
18
|
}
|
17
19
|
});
|
18
20
|
return result;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getChangedQueryExecutionSettingsDescription.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,6BAA6B,EAAC,MAAM,qCAAqC,CAAC;AAElF,OAAO,gCAAgC,MAAM,oCAAoC,CAAC;AAElF,MAAM,CAAC,OAAO,UAAU,2CAA2C,CAAC,EAChE,eAAe,EACf,eAAe,GAIlB;IACG,MAAM,IAAI,GAAG,gCAAgC,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;IAChF,MAAM,MAAM,GAA2B,EAAE,CAAC;IAE1C,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;;QACjB,MAAM,QAAQ,GAAG,6BAA6B,CAAC,GAAG,CAAC,CAAC;QACpD,MAAM,YAAY,GAAG,eAAe,CAAC,GAAG,
|
1
|
+
{"version":3,"file":"getChangedQueryExecutionSettingsDescription.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,6BAA6B,EAAC,MAAM,qCAAqC,CAAC;AAElF,OAAO,gCAAgC,MAAM,oCAAoC,CAAC;AAElF,MAAM,CAAC,OAAO,UAAU,2CAA2C,CAAC,EAChE,eAAe,EACf,eAAe,GAIlB;IACG,MAAM,IAAI,GAAG,gCAAgC,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;IAChF,MAAM,MAAM,GAA2B,EAAE,CAAC;IAE1C,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;;QACjB,MAAM,QAAQ,GAAG,6BAA6B,CAAC,GAAG,CAAC,CAAC;QACpD,MAAM,YAAY,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;QAE1C,IAAI,SAAS,IAAI,QAAQ,EAAE,CAAC;YACxB,MAAM,OAAO,GAAG,MAAA,QAAQ,CAAC,OAAO,CAAC,IAAI,CACjC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,KAAK,YAAY,CAC5C,0CAAE,OAAO,CAAC;YAEX,IAAI,OAAO,EAAE,CAAC;gBACV,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC;YACrC,CAAC;QACL,CAAC;aAAM,IAAI,YAAY,EAAE,CAAC;YACtB,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;QAClD,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
@@ -1,13 +1,6 @@
|
|
1
|
-
import { QUERY_MODES, QUERY_MODES_TITLES, STATISTICS_MODES, STATISTICS_MODES_TITLES, TRACING_LEVELS, TRACING_LEVELS_TITLES, TRANSACTION_MODES, TRANSACTION_MODES_TITLES, } from '../../../../../utils/query';
|
1
|
+
import { DEFAULT_QUERY_SETTINGS, QUERY_MODES, QUERY_MODES_TITLES, STATISTICS_MODES, STATISTICS_MODES_TITLES, TRACING_LEVELS, TRACING_LEVELS_TITLES, TRANSACTION_MODES, TRANSACTION_MODES_TITLES, } from '../../../../../utils/query';
|
2
2
|
import { QUERY_SETTINGS_FIELD_SETTINGS } from '../../QuerySettingsDialog/constants';
|
3
3
|
import getChangedQueryExecutionSettingsDescription from './getChangedQueryExecutionSettingsDescription';
|
4
|
-
const DEFAULT_QUERY_SETTINGS = {
|
5
|
-
queryMode: QUERY_MODES.query,
|
6
|
-
transactionMode: TRANSACTION_MODES.implicit,
|
7
|
-
timeout: '60',
|
8
|
-
statisticsMode: STATISTICS_MODES.none,
|
9
|
-
tracingLevel: TRACING_LEVELS.detailed,
|
10
|
-
};
|
11
4
|
describe('getChangedQueryExecutionSettingsDescription', () => {
|
12
5
|
it('should return an empty object if no settings changed', () => {
|
13
6
|
const currentSettings = { ...DEFAULT_QUERY_SETTINGS };
|
@@ -22,7 +15,8 @@ describe('getChangedQueryExecutionSettingsDescription', () => {
|
|
22
15
|
const currentSettings = {
|
23
16
|
...DEFAULT_QUERY_SETTINGS,
|
24
17
|
queryMode: QUERY_MODES.pg,
|
25
|
-
timeout:
|
18
|
+
timeout: 63,
|
19
|
+
limitRows: 100,
|
26
20
|
};
|
27
21
|
const result = getChangedQueryExecutionSettingsDescription({
|
28
22
|
currentSettings,
|
@@ -31,13 +25,15 @@ describe('getChangedQueryExecutionSettingsDescription', () => {
|
|
31
25
|
expect(result).toEqual({
|
32
26
|
[QUERY_SETTINGS_FIELD_SETTINGS.queryMode.title]: (_a = QUERY_SETTINGS_FIELD_SETTINGS.queryMode.options.find((option) => option.value === QUERY_MODES.pg)) === null || _a === void 0 ? void 0 : _a.content,
|
33
27
|
[QUERY_SETTINGS_FIELD_SETTINGS.timeout.title]: '63',
|
28
|
+
[QUERY_SETTINGS_FIELD_SETTINGS.limitRows.title]: '100',
|
34
29
|
});
|
35
30
|
});
|
36
31
|
it('should return the correct description for all changed settings', () => {
|
37
32
|
const currentSettings = {
|
38
33
|
queryMode: QUERY_MODES.data,
|
39
34
|
transactionMode: TRANSACTION_MODES.snapshot,
|
40
|
-
timeout:
|
35
|
+
timeout: 120,
|
36
|
+
limitRows: DEFAULT_QUERY_SETTINGS.limitRows,
|
41
37
|
statisticsMode: STATISTICS_MODES.profile,
|
42
38
|
tracingLevel: TRACING_LEVELS.diagnostic,
|
43
39
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getChangedQueryExecutionSettingsDescription.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.ts"],"names":[],"mappings":"AACA,OAAO,EACH,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,GAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAC,6BAA6B,EAAC,MAAM,qCAAqC,CAAC;AAElF,OAAO,2CAA2C,MAAM,+CAA+C,CAAC;AAExG,
|
1
|
+
{"version":3,"file":"getChangedQueryExecutionSettingsDescription.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQuery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AAC,6BAA6B,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,KAAK;SACzD,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,gEAAgE,EAAE,GAAG,EAAE;QACtE,MAAM,eAAe,GAAkB;YACnC,SAAS,EAAE,WAAW,CAAC,IAAI;YAC3B,eAAe,EAAE,iBAAiB,CAAC,QAAQ;YAC3C,OAAO,EAAE,GAAG;YACZ,SAAS,EAAE,sBAAsB,CAAC,SAAS;YAC3C,cAAc,EAAE,gBAAgB,CAAC,OAAO;YACxC,YAAY,EAAE,cAAc,CAAC,UAAU;SAC1C,CAAC;QAEF,MAAM,MAAM,GAAG,2CAA2C,CAAC;YACvD,eAAe;YACf,eAAe,EAAE,sBAAsB;SAC1C,CAAC,CAAC;QAEH,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;YACnB,CAAC,6BAA6B,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,kBAAkB,CAAC,IAAI;YACxE,CAAC,6BAA6B,CAAC,eAAe,CAAC,KAAK,CAAC,EACjD,wBAAwB,CAAC,oBAAoB,CAAC;YAClD,CAAC,6BAA6B,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK;YACpD,CAAC,6BAA6B,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,uBAAuB,CAAC,OAAO;YACrF,CAAC,6BAA6B,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,qBAAqB,CAAC,UAAU;SACvF,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
@@ -1,11 +1,13 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import React from 'react';
|
3
3
|
import { Dialog, Link as ExternalLink, Flex, TextInput } from '@gravity-ui/uikit';
|
4
|
+
import { zodResolver } from '@hookform/resolvers/zod';
|
4
5
|
import { Controller, useForm } from 'react-hook-form';
|
5
6
|
import { useTracingLevelOptionAvailable } from '../../../../store/reducers/capabilities/hooks';
|
6
7
|
import { selectQueryAction, setQueryAction, } from '../../../../store/reducers/queryActions/queryActions';
|
7
8
|
import { cn } from '../../../../utils/cn';
|
8
9
|
import { useQueryExecutionSettings, useTypedDispatch, useTypedSelector, } from '../../../../utils/hooks';
|
10
|
+
import { querySettingsValidationSchema } from '../../../../utils/query';
|
9
11
|
import { QuerySettingsSelect } from './QuerySettingsSelect';
|
10
12
|
import { QUERY_SETTINGS_FIELD_SETTINGS } from './constants';
|
11
13
|
import i18n from './i18n';
|
@@ -25,11 +27,18 @@ export function QuerySettingsDialog() {
|
|
25
27
|
return (_jsxs(Dialog, { open: queryAction === 'settings', size: "s", onClose: onClose, className: b(), hasCloseButton: false, children: [_jsx(Dialog.Header, { caption: i18n('action.settings') }), _jsx(QuerySettingsForm, { initialValues: querySettings, onSubmit: onSubmit, onClose: onClose })] }));
|
26
28
|
}
|
27
29
|
function QuerySettingsForm({ initialValues, onSubmit, onClose }) {
|
28
|
-
const { control, handleSubmit } = useForm({
|
30
|
+
const { control, handleSubmit, formState: { errors }, } = useForm({
|
29
31
|
defaultValues: initialValues,
|
32
|
+
resolver: zodResolver(querySettingsValidationSchema),
|
30
33
|
});
|
31
34
|
const enableTracingLevel = useTracingLevelOptionAvailable();
|
32
|
-
return (_jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [_jsxs(Dialog.Body, { className: b('dialog-body'), children: [_jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "queryMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.queryMode.title }), _jsx("div", { className: b('control-wrapper', { queryMode: true }), children: _jsx(Controller, { name: "queryMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, {
|
35
|
+
return (_jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [_jsxs(Dialog.Body, { className: b('dialog-body'), children: [_jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "queryMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.queryMode.title }), _jsx("div", { className: b('control-wrapper', { queryMode: true }), children: _jsx(Controller, { name: "queryMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { id: "queryMode", setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.queryMode.options })) }) })] }), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "timeout", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.timeout.title }), _jsx("div", { className: b('control-wrapper'), children: _jsx(Controller, { name: "timeout", control: control, render: ({ field }) => {
|
36
|
+
var _a, _b;
|
37
|
+
return (_jsxs(React.Fragment, { children: [_jsx(TextInput, { id: "timeout", type: "number", ...field, value: (_a = field.value) === null || _a === void 0 ? void 0 : _a.toString(), className: b('timeout'), placeholder: "60", validationState: errors.timeout ? 'invalid' : undefined, errorMessage: (_b = errors.timeout) === null || _b === void 0 ? void 0 : _b.message, errorPlacement: "inside" }), _jsx("span", { className: b('timeout-suffix'), children: i18n('form.timeout.seconds') })] }));
|
38
|
+
} }) })] }), enableTracingLevel && (_jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "tracingLevel", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.tracingLevel.title }), _jsx("div", { className: b('control-wrapper'), children: _jsx(Controller, { name: "tracingLevel", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { id: "tracingLevel", setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.tracingLevel.options })) }) })] })), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "transactionMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.transactionMode.title }), _jsx("div", { className: b('control-wrapper', { transactionMode: true }), children: _jsx(Controller, { name: "transactionMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { id: "transactionMode", setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.transactionMode.options })) }) })] }), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "statisticsMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.statisticsMode.title }), _jsx("div", { className: b('control-wrapper', { statisticsMode: true }), children: _jsx(Controller, { name: "statisticsMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { id: "statisticsMode", setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.statisticsMode.options })) }) })] }), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "limitRows", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.limitRows.title }), _jsx("div", { className: b('control-wrapper'), children: _jsx(Controller, { name: "limitRows", control: control, render: ({ field }) => {
|
39
|
+
var _a, _b;
|
40
|
+
return (_jsx(TextInput, { id: "limitRows", type: "number", ...field, value: (_a = field.value) === null || _a === void 0 ? void 0 : _a.toString(), className: b('limit-rows'), placeholder: "10000", validationState: errors.limitRows ? 'invalid' : undefined, errorMessage: (_b = errors.limitRows) === null || _b === void 0 ? void 0 : _b.message, errorPlacement: "inside" }));
|
41
|
+
} }) })] })] }), _jsx(Dialog.Footer, { textButtonApply: i18n('button-done'), textButtonCancel: i18n('button-cancel'), onClickButtonCancel: onClose, propsButtonApply: {
|
33
42
|
type: 'submit',
|
34
43
|
}, renderButtons: (buttonApply, buttonCancel) => (_jsxs("div", { className: b('buttons-container'), children: [_jsx(ExternalLink, { href: "https://ydb.tech/docs", target: "_blank", className: b('documentation-link'), children: i18n('docs') }), _jsxs("div", { className: b('main-buttons'), children: [buttonCancel, buttonApply] })] })) })] }));
|
35
44
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QuerySettingsDialog.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAE,IAAI,IAAI,YAAY,EAAE,IAAI,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAC,UAAU,EAAE,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAC,8BAA8B,EAAC,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EACH,iBAAiB,EACjB,cAAc,GACjB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EACH,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;
|
1
|
+
{"version":3,"file":"QuerySettingsDialog.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAE,IAAI,IAAI,YAAY,EAAE,IAAI,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAC,WAAW,EAAC,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAC,UAAU,EAAE,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAC,8BAA8B,EAAC,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EACH,iBAAiB,EACjB,cAAc,GACjB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EACH,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;AACjC,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AE,CAAC,WAAW,EAAE,YAAY,EAAE,EAAE,CAAC,CAC1C,eAAK,SAAS,EAAE,CAAC,CAAC,mBAAmB,CAAC,aAClC,KAAC,YAAY,IACT,IAAI,EAAC,uBAAuB,EAC5B,MAAM,EAAC,QAAQ,EACf,SAAS,EAAE,CAAC,CAAC,oBAAoB,CAAC,YAEjC,IAAI,CAAC,MAAM,CAAC,GACF,EACf,eAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,aAC5B,YAAY,EACZ,WAAW,IACV,IACJ,CACT,GACH,IACC,CACV,CAAC;AACN,CAAC"}
|
@@ -8,7 +8,7 @@ import './QuerySettingsSelect.scss';
|
|
8
8
|
export const getOptionHeight = () => -1;
|
9
9
|
const b = cn('ydb-query-settings-select');
|
10
10
|
export function QuerySettingsSelect(props) {
|
11
|
-
return (_jsx("div", { className: b('selector'), children: _jsx(Select, { options: props.settingOptions, value: [props.setting], onUpdate: (value) => {
|
11
|
+
return (_jsx("div", { className: b('selector'), children: _jsx(Select, { id: props.id, options: props.settingOptions, value: [props.setting], onUpdate: (value) => {
|
12
12
|
props.onUpdateSetting(value[0]);
|
13
13
|
}, getOptionHeight: getOptionHeight, popupClassName: b('popup'), renderOption: (option) => (_jsxs("div", { className: b('item'), children: [_jsxs("div", { className: b('item-title'), children: [option.content, option.isDefault ? i18n('description.default') : ''] }), option.text && (_jsx("span", { className: b('item-description'), children: option.text }))] })), width: "max" }) }));
|
14
14
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QuerySettingsSelect.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAQzC,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AAExC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,4BAA4B,CAAC;AAEpC,8BAA8B;AAC9B,mCAAmC;AACnC,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;AAExC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"QuerySettingsSelect.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAQzC,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AAExC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,4BAA4B,CAAC;AAEpC,8BAA8B;AAC9B,mCAAmC;AACnC,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;AAExC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAY1C,MAAM,UAAU,mBAAmB,CAAuB,KAAkC;IACxF,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,YACzB,KAAC,MAAM,IACH,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,OAAO,EAAE,KAAK,CAAC,cAAc,EAC7B,KAAK,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,EACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;gBAChB,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAM,CAAC,CAAC;YACzC,CAAC,EACD,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,EAC1B,YAAY,EAAE,CAAC,MAAmC,EAAE,EAAE,CAAC,CACnD,eAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,eAAK,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,aAC1B,MAAM,CAAC,OAAO,EACd,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,EAAE,IAClD,EACL,MAAM,CAAC,IAAI,IAAI,CACZ,eAAM,SAAS,EAAE,CAAC,CAAC,kBAAkB,CAAC,YAAG,MAAM,CAAC,IAAI,GAAQ,CAC/D,IACC,CACT,EACD,KAAK,EAAC,KAAK,GACb,GACA,CACT,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,GAC3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,QAAQ,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC3C;QACI,KAAK,EAAE,iBAAiB,CAAC,QAAQ;QACjC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,QAAQ,CAAC;QAC7D,IAAI,EAAE,IAAI,CAAC,uCAAuC,CAAC;QACnD,SAAS,EAAE,IAAI;KAClB;IACD;QACI,KAAK,EAAE,iBAAiB,CAAC,YAAY;QACrC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,YAAY,CAAC;QACjE,IAAI,EAAE,IAAI,CAAC,2CAA2C,CAAC;KAC1D;IACD;QACI,KAAK,EAAE,iBAAiB,CAAC,QAAQ;QACjC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,QAAQ,CAAC;QAC7D,IAAI,EAAE,IAAI,CAAC,uCAAuC,CAAC;KACtD;IACD;QACI,KAAK,EAAE,iBAAiB,CAAC,OAAO;QAChC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,OAAO,CAAC;QAC5D,IAAI,EAAE,IAAI,CAA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I,EAAE,IAAI,CAAC,sCAAsC,CAAC;KACrD;IACD;QACI,KAAK,EAAE,cAAc,CAAC,KAAK;QAC3B,OAAO,EAAE,qBAAqB,CAAC,cAAc,CAAC,KAAK,CAAC;QACpD,IAAI,EAAE,IAAI,CAAC,iCAAiC,CAAC;KAChD;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG;IACzC,eAAe,EAAE;QACb,KAAK,EAAE,QAAQ,CAAC,uBAAuB,CAAC;QACxC,OAAO,EAAE,+BAA+B;KAC3C;IACD,SAAS,EAAE;QACP,KAAK,EAAE,QAAQ,CAAC,iBAAiB,CAAC;QAClC,OAAO,EAAE,yBAAyB;KACrC;IACD,cAAc,EAAE;QACZ,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC;QACvC,OAAO,EAAE,8BAA8B;KAC1C;IACD,YAAY,EAAE;QACV,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC;QACrC,OAAO,EAAE,4BAA4B;KACxC;IACD,OAAO,EAAE;QACL,KAAK,EAAE,QAAQ,CAAC,cAAc,CAAC;KAClC;CACK,CAAC"}
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,GAC3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,QAAQ,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC3C;QACI,KAAK,EAAE,iBAAiB,CAAC,QAAQ;QACjC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,QAAQ,CAAC;QAC7D,IAAI,EAAE,IAAI,CAAC,uCAAuC,CAAC;QACnD,SAAS,EAAE,IA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@
|
|
5
5
|
"form.transaction-mode": "Transaction mode",
|
6
6
|
"form.statistics-mode": "Statistics collection mode",
|
7
7
|
"form.tracing-level": "Tracing level",
|
8
|
+
"form.limit-rows": "Limit rows",
|
8
9
|
"button-done": "Save",
|
9
10
|
"button-cancel": "Cancel",
|
10
11
|
"form.timeout.seconds": "sec",
|
12
|
+
"form.validation.timeout": "Must be positive",
|
13
|
+
"form.validation.limitRows": "Must be between 1 and 100000",
|
11
14
|
"description.default": " (default)",
|
12
15
|
"docs": "Documentation"
|
13
16
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "button-cancel" | "action.settings" | "form.query-mode" | "form.timeout" | "form.transaction-mode" | "form.statistics-mode" | "form.tracing-level" | "button-done" | "form.timeout.seconds" | "description.default" | "docs", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "button-cancel" | "action.settings" | "form.query-mode" | "form.timeout" | "form.transaction-mode" | "form.statistics-mode" | "form.tracing-level" | "form.limit-rows" | "button-done" | "form.timeout.seconds" | "form.validation.timeout" | "form.validation.limitRows" | "description.default" | "docs", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -5,9 +5,12 @@
|
|
5
5
|
"form.transaction-mode": "Уровень изоляции",
|
6
6
|
"form.statistics-mode": "Режим сбора статистики",
|
7
7
|
"form.tracing-level": "Tracing level",
|
8
|
+
"form.limit-rows": "Лимит строк",
|
8
9
|
"button-done": "Готово",
|
9
10
|
"button-cancel": "Отменить",
|
10
11
|
"form.timeout.seconds": "сек",
|
12
|
+
"form.validation.timeout": "Таймаут должен быть положительным",
|
13
|
+
"form.validation.limitRows": "Лимит строк должен быть между 1 и 100000",
|
11
14
|
"description.default": " (default)",
|
12
15
|
"docs": "Документация"
|
13
16
|
}
|
@@ -75,6 +75,7 @@ const pathTypeToIsTable = {
|
|
75
75
|
[EPathType.EPathTypeExternalDataSource]: false,
|
76
76
|
[EPathType.EPathTypeReplication]: false,
|
77
77
|
};
|
78
|
+
//if add entity with tableType, make sure that Schema is available in Diagnostics section
|
78
79
|
export const isTableType = (pathType) => { var _a; return (_a = (pathType && pathTypeToIsTable[pathType])) !== null && _a !== void 0 ? _a : false; };
|
79
80
|
// ====================
|
80
81
|
const pathSubTypeToIsIndexImpl = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,YAAY,EAAE,SAAS,EAAC,MAAM,2BAA2B,CAAC;AAGlE,2EAA2E;AAC3E,+DAA+D;AAC/D,6DAA6D;AAE7D,MAAM,qBAAqB,GAA6D;IACpF,CAAC,YAAY,CAAC,8BAA8B,CAAC,EAAE,aAAa;IAC5D,CAAC,YAAY,CAAC,+BAA+B,CAAC,EAAE,aAAa;IAE7D,CAAC,YAAY,CAAC,sBAAsB,CAAC,EAAE,SAAS;IAChD,CAAC,YAAY,CAAC,iBAAiB,CAAC,EAAE,SAAS;CAC9C,CAAC;AAEF,MAAM,kBAAkB,GAA0D;IAC9E,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,SAAS;IAEvC,CAAC,SAAS,CAAC,kBAAkB,CAAC,EAAE,UAAU;IAC1C,CAAC,SAAS,CAAC,qBAAqB,CAAC,EAAE,UAAU;IAE7C,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,WAAW;IACrC,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,WAAW;IAE7C,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,OAAO;IAEnC,CAAC,SAAS,CAAC,mBAAmB,CAAC,EAAE,OAAO;IAExC,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,cAAc;IAEhD,CAAC,SAAS,CAAC,kBAAkB,CAAC,EAAE,QAAQ;IACxC,CAAC,SAAS,CAAC,uBAAuB,CAAC,EAAE,OAAO;IAE5C,CAAC,SAAS,CAAC,2BAA2B,CAAC,EA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 +20,6 @@
|
|
20
20
|
"settings.language.option-english": "English",
|
21
21
|
"settings.binaryDataInPlainTextDisplay.title": "Display binary data in plain text",
|
22
22
|
"settings.invertedDisks.title": "Inverted disks space indicators",
|
23
|
-
"settings.useAdvancedStorage.title": "Use advanced storage",
|
24
|
-
"settings.useAdvancedStorage.description": "Display additional data in Storage table",
|
25
23
|
"settings.usePaginatedTables.title": "Use paginated tables",
|
26
24
|
"settings.usePaginatedTables.description": " Use table with data load on scroll for Nodes and Storage tabs. It will increase performance, but could work unstable",
|
27
25
|
"settings.showDomainDatabase.title": "Show domain database",
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.invertedDisks.title" | "settings.
|
1
|
+
declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.invertedDisks.title" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.queryUseMultiSchema.title" | "settings.queryUseMultiSchema.description" | "settings.useClusterBalancerAsBackend.title" | "settings.useClusterBalancerAsBackend.description" | "settings.about.interfaceVersionInfoField.title", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -16,7 +16,6 @@ export declare const themeSetting: SettingProps;
|
|
16
16
|
export declare const languageSetting: SettingProps;
|
17
17
|
export declare const binaryDataInPlainTextDisplay: SettingProps;
|
18
18
|
export declare const invertedDisksSetting: SettingProps;
|
19
|
-
export declare const useAdvancedStorageSetting: SettingProps;
|
20
19
|
export declare const usePaginatedTables: SettingProps;
|
21
20
|
export declare const showDomainDatabase: SettingProps;
|
22
21
|
export declare const queryUseMultiSchemaSetting: SettingProps;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { CircleInfo, Flask, PencilToSquare, StarFill } from '@gravity-ui/icons';
|
2
2
|
import { createNextState } from '@reduxjs/toolkit';
|
3
|
-
import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY,
|
3
|
+
import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_PAGINATED_TABLES_KEY, } from '../../utils/constants';
|
4
4
|
import { Lang, defaultLang } from '../../utils/i18n';
|
5
5
|
import i18n from './i18n';
|
6
6
|
import packageJson from '../../../package.json';
|
@@ -52,11 +52,6 @@ export const invertedDisksSetting = {
|
|
52
52
|
settingKey: INVERTED_DISKS_KEY,
|
53
53
|
title: i18n('settings.invertedDisks.title'),
|
54
54
|
};
|
55
|
-
export const useAdvancedStorageSetting = {
|
56
|
-
settingKey: USE_ADVANCED_STORAGE_KEY,
|
57
|
-
title: i18n('settings.useAdvancedStorage.title'),
|
58
|
-
description: i18n('settings.useAdvancedStorage.description'),
|
59
|
-
};
|
60
55
|
export const usePaginatedTables = {
|
61
56
|
settingKey: USE_PAGINATED_TABLES_KEY,
|
62
57
|
title: i18n('settings.usePaginatedTables.title'),
|
@@ -104,7 +99,7 @@ export const appearanceSection = {
|
|
104
99
|
export const experimentsSection = {
|
105
100
|
id: 'experimentsSection',
|
106
101
|
title: i18n('section.experiments'),
|
107
|
-
settings: [
|
102
|
+
settings: [usePaginatedTables, queryUseMultiSchemaSetting],
|
108
103
|
};
|
109
104
|
export const devSettingsSection = {
|
110
105
|
id: 'devSettingsSection',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/containers/UserSettings/settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EACH,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,EACZ,0BAA0B,EAC1B,wBAAwB,EACxB,SAAS,EACT,
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/containers/UserSettings/settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EACH,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,EACZ,0BAA0B,EAC1B,wBAAwB,EACxB,SAAS,EACT,mCAAmC,EACnC,wBAAwB,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAGnD,OAAO,IAAI,MAAM,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,EAAC;IAC5B,QAAQ,EAAE,CAAC,kBAAkB,CAAC;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAiB;IACnC,EAAE,EAAE,WAAW;IACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC;IACzB,IAAI,EAAE,EAAC,IAAI,EAAE,UAAU,EAAC;IACxB,QAAQ,EAAE,CAAC,oBAAoB,CAAC;CACnC,CAAC;AAEF,MAAM,UAAU,eAAe,CAAC,EAAC,iBAAiB,EAA+B;IAC7E,MAAM,WAAW,GAAG,iBAAiB;QACjC,CAAC,CAAC,eAAe;QACjB,CAAC,CAAC,eAAe,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE;YACvC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC;QACxE,CAAC,CAAC,CAAC;IAET,MAAM,QAAQ,GAA0B,CAAC,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;IAE1F,OAAO,QAAQ,CAAC;AACpB,CAAC"}
|
@@ -10,29 +10,25 @@ import { EntityPageTitle } from '../../components/EntityPageTitle/EntityPageTitl
|
|
10
10
|
import { ResponseError } from '../../components/Errors/ResponseError';
|
11
11
|
import { InfoViewerSkeleton } from '../../components/InfoViewerSkeleton/InfoViewerSkeleton';
|
12
12
|
import { PageMetaWithAutorefresh } from '../../components/PageMeta/PageMeta';
|
13
|
-
import { ResizeableDataTable } from '../../components/ResizeableDataTable/ResizeableDataTable';
|
14
13
|
import { VDiskInfo } from '../../components/VDiskInfo/VDiskInfo';
|
15
14
|
import { api } from '../../store/reducers/api';
|
16
15
|
import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
|
17
|
-
import {
|
16
|
+
import { useDiskPagesAvailable } from '../../store/reducers/capabilities/hooks';
|
18
17
|
import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
|
19
|
-
import { storageApi } from '../../store/reducers/storage/storage';
|
20
18
|
import { vDiskApi } from '../../store/reducers/vdisk/vdisk';
|
21
19
|
import { valueIsDefined } from '../../utils';
|
22
20
|
import { cn } from '../../utils/cn';
|
23
|
-
import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
|
24
21
|
import { stringifyVdiskId } from '../../utils/dataFormatters/dataFormatters';
|
25
22
|
import { getSeverityColor, getVDiskSlotBasedId } from '../../utils/disks/helpers';
|
26
23
|
import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../utils/hooks';
|
27
|
-
import {
|
28
|
-
import { useGetDiskStorageColumns } from '../Storage/StorageGroups/columns/hooks';
|
24
|
+
import { Storage } from '../Storage/Storage';
|
29
25
|
import { vDiskPageKeyset } from './i18n';
|
30
|
-
import { prepareVDiskGroupResponse } from './utils';
|
31
26
|
import './VDiskPage.scss';
|
32
27
|
const vDiskPageCn = cn('ydb-vdisk-page');
|
33
28
|
export function VDiskPage() {
|
34
29
|
const dispatch = useTypedDispatch();
|
35
30
|
const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
|
31
|
+
const newDiskApiAvailable = useDiskPagesAvailable();
|
36
32
|
const [{ nodeId, pDiskId, vDiskSlotId }] = useQueryParams({
|
37
33
|
nodeId: StringParam,
|
38
34
|
pDiskId: StringParam,
|
@@ -58,16 +54,14 @@ export function VDiskPage() {
|
|
58
54
|
valueIsDefined(VDisk);
|
59
55
|
const handleEvictVDisk = async (isRetry) => {
|
60
56
|
if (vDiskIdParamsDefined) {
|
61
|
-
return window.api
|
62
|
-
.evictVDisk({
|
57
|
+
return window.api[newDiskApiAvailable ? 'evictVDisk' : 'evictVDiskOld']({
|
63
58
|
groupId: GroupID,
|
64
59
|
groupGeneration: GroupGeneration,
|
65
60
|
failRealmIdx: Ring,
|
66
61
|
failDomainIdx: Domain,
|
67
62
|
vDiskIdx: VDisk,
|
68
63
|
force: isRetry,
|
69
|
-
})
|
70
|
-
.then((response) => {
|
64
|
+
}).then((response) => {
|
71
65
|
if ((response === null || response === void 0 ? void 0 : response.result) === false) {
|
72
66
|
const err = {
|
73
67
|
statusText: response.error,
|
@@ -113,9 +107,9 @@ export function VDiskPage() {
|
|
113
107
|
const renderInfo = () => {
|
114
108
|
return _jsx(VDiskInfo, { data: vDiskData, className: vDiskPageCn('info') });
|
115
109
|
};
|
116
|
-
const
|
117
|
-
if (valueIsDefined(GroupID)) {
|
118
|
-
return _jsx(
|
110
|
+
const renderStorageInfo = () => {
|
111
|
+
if (valueIsDefined(GroupID) && valueIsDefined(nodeId)) {
|
112
|
+
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: vDiskPageCn('storage-title'), children: vDiskPageKeyset('storage') }), _jsx(Storage, { groupId: GroupID, nodeId: nodeId })] }));
|
119
113
|
}
|
120
114
|
return null;
|
121
115
|
};
|
@@ -123,26 +117,8 @@ export function VDiskPage() {
|
|
123
117
|
if (loading) {
|
124
118
|
return _jsx(InfoViewerSkeleton, { rows: 20 });
|
125
119
|
}
|
126
|
-
return (_jsxs(React.Fragment, { children: [error ? _jsx(ResponseError, { error: error }) : null, renderInfo(),
|
120
|
+
return (_jsxs(React.Fragment, { children: [error ? _jsx(ResponseError, { error: error }) : null, renderInfo(), renderStorageInfo()] }));
|
127
121
|
};
|
128
122
|
return (_jsxs("div", { className: vDiskPageCn(null), children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderControls(), renderContent()] }));
|
129
123
|
}
|
130
|
-
export function VDiskGroup({ groupId }) {
|
131
|
-
const capabilitiesLoaded = useCapabilitiesLoaded();
|
132
|
-
const groupsHandlerAvailable = useStorageGroupsHandlerAvailable();
|
133
|
-
const [autoRefreshInterval] = useAutoRefreshInterval();
|
134
|
-
const { currentData } = storageApi.useGetStorageGroupsInfoQuery({ groupId, shouldUseGroupsHandler: groupsHandlerAvailable }, {
|
135
|
-
pollingInterval: autoRefreshInterval,
|
136
|
-
skip: !capabilitiesLoaded,
|
137
|
-
});
|
138
|
-
const preparedGroups = React.useMemo(() => {
|
139
|
-
const group = prepareVDiskGroupResponse(currentData, groupId);
|
140
|
-
return group ? [group] : undefined;
|
141
|
-
}, [currentData, groupId]);
|
142
|
-
const vDiskStorageColumns = useGetDiskStorageColumns();
|
143
|
-
if (!preparedGroups) {
|
144
|
-
return null;
|
145
|
-
}
|
146
|
-
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: vDiskPageCn('group-title'), children: vDiskPageKeyset('group') }), _jsx(ResizeableDataTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, data: preparedGroups, columns: vDiskStorageColumns, settings: DEFAULT_TABLE_SETTINGS })] }));
|
147
|
-
}
|
148
124
|
//# sourceMappingURL=VDiskPage.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDiskPage.js","sourceRoot":"","sources":["../../../src/containers/VDiskPage/VDiskPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,eAAe,EAAC,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC,uBAAuB,EAAC,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"VDiskPage.js","sourceRoot":"","sources":["../../../src/containers/VDiskPage/VDiskPage.ts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