ydb-embedded-ui 6.30.0 → 6.32.0-hotfix.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/AutoRefreshControl/AutoRefreshControl.js +1 -1
- package/dist/components/AutoRefreshControl/AutoRefreshControl.js.map +1 -1
- package/dist/components/BasicNodeViewer/BasicNodeViewer.js +9 -5
- package/dist/components/BasicNodeViewer/BasicNodeViewer.js.map +1 -1
- package/dist/components/CellWithPopover/CellWithPopover.d.ts +2 -1
- package/dist/components/CellWithPopover/CellWithPopover.js +2 -2
- package/dist/components/CellWithPopover/CellWithPopover.js.map +1 -1
- package/dist/components/CellWithPopover/CellWithPopover.scss +4 -0
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +4 -0
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +9 -5
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.js +9 -9
- package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
- package/dist/components/PaginatedTable/types.d.ts +1 -1
- package/dist/components/ProgressViewer/ProgressViewer.d.ts +2 -1
- package/dist/components/ProgressViewer/ProgressViewer.js +2 -2
- package/dist/components/ProgressViewer/ProgressViewer.js.map +1 -1
- package/dist/components/Search/Search.d.ts +3 -1
- package/dist/components/Search/Search.js +2 -2
- package/dist/components/Search/Search.js.map +1 -1
- package/dist/components/TabletNameWrapper/TabletNameWrapper.js +1 -1
- package/dist/components/TabletNameWrapper/TabletNameWrapper.js.map +1 -1
- package/dist/components/TenantNameWrapper/TenantNameWrapper.js +1 -1
- package/dist/components/TenantNameWrapper/TenantNameWrapper.js.map +1 -1
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.js +23 -8
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.js.map +1 -1
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/en.json +3 -1
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/index.d.ts +1 -1
- package/dist/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.d.ts +4 -0
- package/dist/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.js +1 -1
- package/dist/components/TooltipsContent/PoolTooltipContent/PoolTooltipContent.js.map +1 -1
- package/dist/components/VDiskInfo/VDiskInfo.js +1 -2
- package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
- package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.js +1 -9
- package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
- package/dist/components/nodesColumns/NodesColumns.scss +6 -0
- package/dist/components/nodesColumns/columns.d.ts +10 -0
- package/dist/components/nodesColumns/columns.js +56 -4
- package/dist/components/nodesColumns/columns.js.map +1 -1
- package/dist/components/nodesColumns/constants.d.ts +8 -0
- package/dist/components/nodesColumns/constants.js +20 -0
- package/dist/components/nodesColumns/constants.js.map +1 -1
- package/dist/components/nodesColumns/i18n/en.json +7 -1
- package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
- package/dist/containers/Clusters/i18n/index.d.ts +1 -1
- package/dist/containers/Header/Header.js +2 -9
- package/dist/containers/Header/Header.js.map +1 -1
- package/dist/containers/Nodes/Nodes.js +11 -33
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/Nodes.scss +4 -0
- package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +11 -0
- package/dist/containers/Nodes/NodesControls/NodesControls.js +24 -0
- package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -0
- package/dist/containers/Nodes/PaginatedNodes.d.ts +2 -2
- package/dist/containers/Nodes/PaginatedNodes.js +78 -54
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodesTable.d.ts +22 -0
- package/dist/containers/Nodes/PaginatedNodesTable.js +30 -0
- package/dist/containers/Nodes/PaginatedNodesTable.js.map +1 -0
- package/dist/containers/Nodes/columns/columns.js +3 -1
- package/dist/containers/Nodes/columns/columns.js.map +1 -1
- package/dist/containers/Nodes/columns/constants.d.ts +4 -0
- package/dist/containers/Nodes/columns/constants.js +29 -1
- package/dist/containers/Nodes/columns/constants.js.map +1 -1
- package/dist/containers/Nodes/getNodes.js +6 -7
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/Nodes/i18n/en.json +5 -1
- package/dist/containers/Nodes/i18n/index.d.ts +1 -1
- package/dist/containers/Nodes/i18n/index.js +1 -2
- package/dist/containers/Nodes/i18n/index.js.map +1 -1
- package/dist/containers/Nodes/shared.d.ts +5 -0
- package/dist/containers/Nodes/shared.js +16 -0
- package/dist/containers/Nodes/shared.js.map +1 -0
- package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +9 -0
- package/dist/containers/Nodes/useNodesPageQueryParams.js +34 -0
- package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -0
- package/dist/containers/Operations/Operations.js +3 -3
- package/dist/containers/Operations/Operations.js.map +1 -1
- package/dist/containers/Operations/OperationsControls.d.ts +1 -1
- package/dist/containers/Operations/columns.d.ts +6 -2
- package/dist/containers/Operations/columns.js +45 -4
- package/dist/containers/Operations/columns.js.map +1 -1
- package/dist/containers/Operations/constants.d.ts +1 -1
- package/dist/containers/Operations/i18n/en.json +7 -1
- package/dist/containers/Operations/i18n/index.d.ts +1 -1
- package/dist/containers/Operations/useOperationsQueryParams.d.ts +1 -1
- package/dist/containers/Storage/Disks/Disks.js +1 -2
- package/dist/containers/Storage/Disks/Disks.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageNodes.js +1 -2
- package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageControls/StorageControls.js +2 -2
- package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/columns.js +3 -1
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/constants.js +1 -1
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/getNodes.js +2 -2
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/utils/index.d.ts +1 -1
- package/dist/containers/Tablets/TabletsTable.js +3 -1
- package/dist/containers/Tablets/TabletsTable.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +2 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/RefreshTreeButton.js +2 -2
- package/dist/containers/Tenant/Query/Issues/Issues.d.ts +4 -2
- package/dist/containers/Tenant/Query/Issues/Issues.js +7 -7
- package/dist/containers/Tenant/Query/Issues/Issues.js.map +1 -1
- package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +1 -1
- package/dist/containers/Tenant/i18n/en.json +1 -0
- package/dist/containers/Tenant/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/utils/schemaActions.js +5 -1
- package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js +5 -1
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
- package/dist/services/api.d.ts +3 -1
- package/dist/services/api.js +12 -0
- package/dist/services/api.js.map +1 -1
- package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
- package/dist/store/reducers/capabilities/hooks.js +3 -0
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/node/selectors.js +5 -5
- package/dist/store/reducers/node/selectors.js.map +1 -1
- package/dist/store/reducers/node/types.d.ts +3 -4
- package/dist/store/reducers/nodes/types.d.ts +3 -1
- package/dist/store/reducers/nodes/utils.d.ts +1 -1
- package/dist/store/reducers/nodes/utils.js +9 -4
- package/dist/store/reducers/nodes/utils.js.map +1 -1
- package/dist/store/reducers/operations.d.ts +6 -0
- package/dist/store/reducers/operations.js +41 -0
- package/dist/store/reducers/operations.js.map +1 -0
- package/dist/store/reducers/pdisk/utils.js +6 -3
- package/dist/store/reducers/pdisk/utils.js.map +1 -1
- package/dist/store/reducers/settings/hooks.d.ts +5 -0
- package/dist/store/reducers/settings/hooks.js +14 -0
- package/dist/store/reducers/settings/hooks.js.map +1 -0
- package/dist/store/reducers/storage/__test__/prepareGroupsDisks.test.d.ts +1 -0
- package/dist/store/reducers/storage/__test__/prepareGroupsDisks.test.js +354 -0
- package/dist/store/reducers/storage/__test__/prepareGroupsDisks.test.js.map +1 -0
- package/dist/store/reducers/storage/prepareGroupsDisks.d.ts +37 -0
- package/dist/store/reducers/storage/prepareGroupsDisks.js +72 -0
- package/dist/store/reducers/storage/prepareGroupsDisks.js.map +1 -0
- package/dist/store/reducers/storage/utils.js +7 -28
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/store/reducers/tenantOverview/topShards/utils.d.ts +1 -1
- package/dist/store/reducers/vdisk/utils.js +3 -3
- package/dist/store/reducers/vdisk/utils.js.map +1 -1
- package/dist/types/api/error.d.ts +4 -1
- package/dist/types/api/nodes.d.ts +4 -2
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/api/{operationList.d.ts → operations.d.ts} +8 -0
- package/dist/types/api/{operationList.js → operations.js} +1 -1
- package/dist/types/api/operations.js.map +1 -0
- package/dist/types/api/pdisk.d.ts +1 -1
- package/dist/types/api/storage.d.ts +2 -2
- package/dist/utils/developerUI/__test__/developerUI.test.js +21 -1
- package/dist/utils/developerUI/__test__/developerUI.test.js.map +1 -1
- package/dist/utils/developerUI/developerUI.d.ts +1 -0
- package/dist/utils/developerUI/developerUI.js +3 -0
- package/dist/utils/developerUI/developerUI.js.map +1 -1
- package/dist/utils/disks/__test__/calculatePDiskSeverity.test.js +10 -7
- package/dist/utils/disks/__test__/calculatePDiskSeverity.test.js.map +1 -1
- package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js +8 -23
- package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js.map +1 -1
- package/dist/utils/disks/__test__/prepareDisks.test.d.ts +1 -0
- package/dist/utils/disks/__test__/prepareDisks.test.js +200 -0
- package/dist/utils/disks/__test__/prepareDisks.test.js.map +1 -0
- package/dist/utils/disks/calculatePDiskSeverity.d.ts +5 -2
- package/dist/utils/disks/calculatePDiskSeverity.js +2 -2
- package/dist/utils/disks/calculatePDiskSeverity.js.map +1 -1
- package/dist/utils/disks/calculateVDiskSeverity.d.ts +8 -2
- package/dist/utils/disks/calculateVDiskSeverity.js +0 -4
- package/dist/utils/disks/calculateVDiskSeverity.js.map +1 -1
- package/dist/utils/disks/helpers.d.ts +2 -1
- package/dist/utils/disks/helpers.js.map +1 -1
- package/dist/utils/disks/prepareDisks.d.ts +22 -4
- package/dist/utils/disks/prepareDisks.js +75 -28
- package/dist/utils/disks/prepareDisks.js.map +1 -1
- package/dist/utils/disks/types.d.ts +9 -2
- package/dist/utils/nodes.d.ts +1 -0
- package/dist/utils/nodes.js +20 -0
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/storage.d.ts +1 -1
- package/package.json +3 -2
- package/dist/containers/Nodes/i18n/ru.json +0 -3
- package/dist/store/reducers/operationList.d.ts +0 -4
- package/dist/store/reducers/operationList.js +0 -19
- package/dist/store/reducers/operationList.js.map +0 -1
- package/dist/types/api/operationList.js.map +0 -1
@@ -1,14 +1,19 @@
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import { duration } from '@gravity-ui/date-utils';
|
3
|
-
import {
|
3
|
+
import { Ban, CircleStop } from '@gravity-ui/icons';
|
4
|
+
import { ActionTooltip, Flex, Icon, Text } from '@gravity-ui/uikit';
|
5
|
+
import { ButtonWithConfirmDialog } from '../../components/ButtonWithConfirmDialog/ButtonWithConfirmDialog';
|
4
6
|
import { CellWithPopover } from '../../components/CellWithPopover/CellWithPopover';
|
5
|
-
import {
|
7
|
+
import { operationsApi } from '../../store/reducers/operations';
|
8
|
+
import { EStatusCode } from '../../types/api/operations';
|
6
9
|
import { EMPTY_DATA_PLACEHOLDER, HOUR_IN_SECONDS, SECOND_IN_MS } from '../../utils/constants';
|
10
|
+
import createToast from '../../utils/createToast';
|
7
11
|
import { formatDateTime } from '../../utils/dataFormatters/dataFormatters';
|
8
12
|
import { parseProtobufTimestampToMs } from '../../utils/timeParsers';
|
9
13
|
import { COLUMNS_NAMES, COLUMNS_TITLES } from './constants';
|
10
14
|
import i18n from './i18n';
|
11
|
-
|
15
|
+
import './Operations.scss';
|
16
|
+
export function getColumns({ database, refreshTable, }) {
|
12
17
|
return [
|
13
18
|
{
|
14
19
|
name: COLUMNS_NAMES.ID,
|
@@ -98,6 +103,42 @@ export function getColumns() {
|
|
98
103
|
return Date.now() - createTime;
|
99
104
|
},
|
100
105
|
},
|
106
|
+
{
|
107
|
+
name: 'Actions',
|
108
|
+
sortable: false,
|
109
|
+
resizeable: false,
|
110
|
+
header: '',
|
111
|
+
render: ({ row }) => {
|
112
|
+
return (_jsx(OperationsActions, { operation: row, database: database, refreshTable: refreshTable }));
|
113
|
+
},
|
114
|
+
},
|
101
115
|
];
|
102
116
|
}
|
117
|
+
function OperationsActions({ operation, database, refreshTable }) {
|
118
|
+
const [cancelOperation, { isLoading: isLoadingCancel }] = operationsApi.useCancelOperationMutation();
|
119
|
+
const [forgetOperation, { isLoading: isForgetLoading }] = operationsApi.useForgetOperationMutation();
|
120
|
+
const id = operation.id;
|
121
|
+
if (!id) {
|
122
|
+
return null;
|
123
|
+
}
|
124
|
+
return (_jsxs(Flex, { gap: "2", children: [_jsx(ActionTooltip, { title: i18n('header_forget'), placement: ['left', 'auto'], children: _jsx("div", { children: _jsx(ButtonWithConfirmDialog, { buttonView: "outlined", dialogHeader: i18n('header_forget'), dialogText: i18n('text_forget'), onConfirmAction: () => forgetOperation({ id, database })
|
125
|
+
.unwrap()
|
126
|
+
.then(() => {
|
127
|
+
createToast({
|
128
|
+
name: 'Forgotten',
|
129
|
+
title: i18n('text_forgotten', { id }),
|
130
|
+
type: 'success',
|
131
|
+
});
|
132
|
+
refreshTable();
|
133
|
+
}), buttonDisabled: isLoadingCancel, children: _jsx(Icon, { data: Ban }) }) }) }), _jsx(ActionTooltip, { title: i18n('header_cancel'), placement: ['right', 'auto'], children: _jsx("div", { children: _jsx(ButtonWithConfirmDialog, { buttonView: "outlined", dialogHeader: i18n('header_cancel'), dialogText: i18n('text_cancel'), onConfirmAction: () => cancelOperation({ id, database })
|
134
|
+
.unwrap()
|
135
|
+
.then(() => {
|
136
|
+
createToast({
|
137
|
+
name: 'Cancelled',
|
138
|
+
title: i18n('text_cancelled', { id }),
|
139
|
+
type: 'success',
|
140
|
+
});
|
141
|
+
refreshTable();
|
142
|
+
}), buttonDisabled: isForgetLoading, children: _jsx(Icon, { data: CircleStop }) }) }) })] }));
|
143
|
+
}
|
103
144
|
//# sourceMappingURL=columns.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../src/containers/Operations/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;
|
1
|
+
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../src/containers/Operations/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAC,GAAG,EAAE,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAElE,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,eAAe,EAAC,M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I,EAAE,UAAU,GAAI,GACJ,GACxB,GACM,IACb,CACV,CAAC;AACN,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { OperationKind } from '../../types/api/
|
1
|
+
import type { OperationKind } from '../../types/api/operations';
|
2
2
|
export declare const OPERATIONS_SELECTED_COLUMNS_KEY = "selectedOperationColumns";
|
3
3
|
export declare const COLUMNS_NAMES: {
|
4
4
|
readonly ID: "id";
|
@@ -12,5 +12,11 @@
|
|
12
12
|
"column_createTime": "Create Time",
|
13
13
|
"column_endTime": "End Time",
|
14
14
|
"column_duration": "Duration",
|
15
|
-
"label_duration-ongoing": "{{value}} (ongoing)"
|
15
|
+
"label_duration-ongoing": "{{value}} (ongoing)",
|
16
|
+
"header_cancel": "Cancel operation",
|
17
|
+
"header_forget": "Forget operation",
|
18
|
+
"text_cancel": "The operation will be cancelled. Do you want to proceed?",
|
19
|
+
"text_forget": "The operation will be forgotten. Do you want to proceed?",
|
20
|
+
"text_forgotten": "The operation {{id}} has been forgotten",
|
21
|
+
"text_cancelled": "The operation {{id}} has been cancelled"
|
16
22
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "label_operations" | "title_empty" | "pleaceholder_search" | "placeholder_kind" | "kind_ssBackgrounds" | "kind_export" | "kind_buildIndex" | "column_operationId" | "column_status" | "column_createdBy" | "column_createTime" | "column_endTime" | "column_duration" | "label_duration-ongoing", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "label_operations" | "title_empty" | "pleaceholder_search" | "placeholder_kind" | "kind_ssBackgrounds" | "kind_export" | "kind_buildIndex" | "column_operationId" | "column_status" | "column_createdBy" | "column_createTime" | "column_endTime" | "column_duration" | "label_duration-ongoing" | "header_cancel" | "header_forget" | "text_cancel" | "text_forget" | "text_forgotten" | "text_cancelled", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -4,7 +4,6 @@ import { Flex, useLayoutContext } from '@gravity-ui/uikit';
|
|
4
4
|
import { VDisk } from '../../../components/VDisk/VDisk';
|
5
5
|
import { valueIsDefined } from '../../../utils';
|
6
6
|
import { cn } from '../../../utils/cn';
|
7
|
-
import { getPDiskId } from '../../../utils/disks/helpers';
|
8
7
|
import { PDisk } from '../PDisk';
|
9
8
|
import { isVdiskActive } from '../utils';
|
10
9
|
import './Disks.scss';
|
@@ -19,7 +18,7 @@ export function Disks({ vDisks = [], viewContext }) {
|
|
19
18
|
const unavailableVDiskWidth = (VDISKS_CONTAINER_WIDTH - spaceBaseSize * (vDisks.length - 1)) / vDisks.length;
|
20
19
|
return (_jsxs("div", { className: b(null), children: [_jsx(Flex, { direction: 'row', gap: 1, grow: true, style: { width: VDISKS_CONTAINER_WIDTH }, children: vDisks === null || vDisks === void 0 ? void 0 : vDisks.map((vDisk) => (_jsx(VDiskItem, { vDisk: vDisk, inactive: !isVdiskActive(vDisk, viewContext), highlightedVDisk: highlightedVDisk, setHighlightedVDisk: setHighlightedVDisk, unavailableVDiskWidth: unavailableVDiskWidth }, vDisk.StringifiedId))) }), _jsx("div", { className: b('pdisks-wrapper'), children: vDisks === null || vDisks === void 0 ? void 0 : vDisks.map((vDisk) => {
|
21
20
|
var _a;
|
22
|
-
return (_jsx(PDiskItem, { vDisk: vDisk, highlightedVDisk: highlightedVDisk, setHighlightedVDisk: setHighlightedVDisk },
|
21
|
+
return (_jsx(PDiskItem, { vDisk: vDisk, highlightedVDisk: highlightedVDisk, setHighlightedVDisk: setHighlightedVDisk }, (_a = vDisk === null || vDisk === void 0 ? void 0 : vDisk.PDisk) === null || _a === void 0 ? void 0 : _a.StringifiedId));
|
23
22
|
}) })] }));
|
24
23
|
}
|
25
24
|
function VDiskItem({ vDisk, highlightedVDisk, inactive, setHighlightedVDisk, unavailableVDiskWidth, }) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Disks.js","sourceRoot":"","sources":["../../../../src/containers/Storage/Disks/Disks.tsx"],"names":[],"mappings":";AAAA,OAAO,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
|
if (viewerNodesHandlerHasGrouping &&
|
29
|
-
visibleEntities !== 'all'
|
30
|
-
nodesUptimeFilter !== NodesUptimeFilterValues.All) {
|
29
|
+
(visibleEntities !== 'all' || nodesUptimeFilter !== NodesUptimeFilterValues.All)) {
|
31
30
|
handleShowAllNodes();
|
32
31
|
}
|
33
32
|
}, [handleShowAllNodes, nodesUptimeFilter, viewerNodesHandlerHasGrouping, visibleEntities]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PaginatedStorageNodes.js","sourceRoot":"","sources":["../../../src/containers/Storage/PaginatedStorageNodes.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,aAAa,EAAC,MAAM,8CAA8C,CAAC;AAE3E,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAC,sBAAsB,EAAC,MAAM,mCAAmC,CAAC;AAGzE,OAAO,EAAC,oBAAoB,EAAC,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAC,0BAA0B,EAAC,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAC,8BAA8B,EAAC,MAAM,8BAA8B,CAAC;AAC5E,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAC,iBAAiB,EAAC,MAAM,qCAAqC,CAAC;AACtE,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,C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EAAE,CAAC;IAElD,OAAO,8BAA8B,CAAC;QAClC,oBAAoB;QACpB,eAAe;QACf,QAAQ;QACR,WAAW;KACd,CAAC,CAAC;AACP,CAAC"}
|
@@ -16,13 +16,13 @@ export function StorageGroupsControls({ withTypeSelector, withGroupBySelect, ent
|
|
16
16
|
const handleGroupBySelectUpdate = (value) => {
|
17
17
|
handleStorageGroupsGroupByParamChange(value[0]);
|
18
18
|
};
|
19
|
-
return (_jsxs(React.Fragment, { children: [_jsx(Search, { value: searchValue, onChange: handleTextFilterChange, placeholder: i18n('controls_groups-search-placeholder'), className: b('search') }), withTypeSelector && (_jsx(StorageTypeFilter, { value: storageType, onChange: handleStorageTypeChange })), withGroupBySelect ? null : (_jsx(StorageVisibleEntitiesFilter, { value: visibleEntities, onChange: handleVisibleEntitiesChange })), _jsx(
|
19
|
+
return (_jsxs(React.Fragment, { children: [_jsx(Search, { value: searchValue, onChange: handleTextFilterChange, placeholder: i18n('controls_groups-search-placeholder'), className: b('search') }), withTypeSelector && (_jsx(StorageTypeFilter, { value: storageType, onChange: handleStorageTypeChange })), withGroupBySelect ? null : (_jsx(StorageVisibleEntitiesFilter, { value: visibleEntities, onChange: handleVisibleEntitiesChange })), _jsx(TableColumnSetup, { popupWidth: 200, items: columnsToSelect, showStatus: true, onUpdate: handleSelectedColumnsUpdate, sortable: false }), withGroupBySelect ? (_jsxs(React.Fragment, { children: [_jsx(Text, { variant: "body-2", children: i18n('controls_group-by-placeholder') }), _jsx(Select, { hasClear: true, placeholder: '-', width: 150, defaultValue: storageGroupsGroupByParam ? [storageGroupsGroupByParam] : undefined, onUpdate: handleGroupBySelectUpdate, options: STORAGE_GROUPS_GROUP_BY_OPTIONS })] })) : null, _jsx(EntitiesCount, { label: i18n('groups'), loading: entitiesLoading, total: entitiesCountTotal, current: entitiesCountCurrent })] }));
|
20
20
|
}
|
21
21
|
export function StorageNodesControls({ withTypeSelector, withGroupBySelect, entitiesCountCurrent, entitiesCountTotal, entitiesLoading, columnsToSelect, handleSelectedColumnsUpdate, }) {
|
22
22
|
const { searchValue, storageType, visibleEntities, nodesUptimeFilter, storageNodesGroupByParam, handleTextFilterChange, handleStorageTypeChange, handleVisibleEntitiesChange, handleUptimeFilterChange, handleStorageNodesGroupByParamChange, } = useStorageQueryParams();
|
23
23
|
const handleGroupBySelectUpdate = (value) => {
|
24
24
|
handleStorageNodesGroupByParamChange(value[0]);
|
25
25
|
};
|
26
|
-
return (_jsxs(React.Fragment, { children: [_jsx(Search, { value: searchValue, onChange: handleTextFilterChange, placeholder: i18n('controls_nodes-search-placeholder'), className: b('search') }), withTypeSelector && (_jsx(StorageTypeFilter, { value: storageType, onChange: handleStorageTypeChange })), withGroupBySelect ? null : (_jsx(StorageVisibleEntitiesFilter, { value: visibleEntities, onChange: handleVisibleEntitiesChange })), withGroupBySelect ? null : (_jsx(UptimeFilter, { value: nodesUptimeFilter, onChange: handleUptimeFilterChange })), _jsx(
|
26
|
+
return (_jsxs(React.Fragment, { children: [_jsx(Search, { value: searchValue, onChange: handleTextFilterChange, placeholder: i18n('controls_nodes-search-placeholder'), className: b('search') }), withTypeSelector && (_jsx(StorageTypeFilter, { value: storageType, onChange: handleStorageTypeChange })), withGroupBySelect ? null : (_jsx(StorageVisibleEntitiesFilter, { value: visibleEntities, onChange: handleVisibleEntitiesChange })), withGroupBySelect ? null : (_jsx(UptimeFilter, { value: nodesUptimeFilter, onChange: handleUptimeFilterChange })), _jsx(TableColumnSetup, { popupWidth: 200, items: columnsToSelect, showStatus: true, onUpdate: handleSelectedColumnsUpdate, sortable: false }), withGroupBySelect ? (_jsxs(React.Fragment, { children: [_jsx(Text, { variant: "body-2", children: i18n('controls_group-by-placeholder') }), _jsx(Select, { hasClear: true, placeholder: '-', width: 150, defaultValue: storageNodesGroupByParam ? [storageNodesGroupByParam] : undefined, onUpdate: handleGroupBySelectUpdate, options: STORAGE_NODES_GROUP_BY_OPTIONS })] })) : null, _jsx(EntitiesCount, { label: i18n('nodes'), loading: entitiesLoading, total: entitiesCountTotal, current: entitiesCountCurrent })] }));
|
27
27
|
}
|
28
28
|
//# sourceMappingURL=StorageControls.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StorageControls.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageControls/StorageControls.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,MAAM,EAAE,gBAAgB,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEjE,OAAO,EAAC,aAAa,EAAC,MAAM,iDAAiD,CAAC;AAC9E,OAAO,EAAC,MAAM,EAAC,MAAM,mCAAmC,CAAC;AACzD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAC,+BAA+B,EAAC,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAC,8BAA8B,EAAC,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAC,iBAAiB,EAAC,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAC,4BAA4B,EAAC,MAAM,8DAA8D,CAAC;AAC1G,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAC,CAAC,EAAC,MAAM,WAAW,CAAC;AAC5B,OAAO,EAAC,qBAAqB,EAAC,MAAM,0BAA0B,CAAC;AAc/D,MAAM,UAAU,qBAAqB,CAAC,EAClC,gBAAgB,EAChB,iBAAiB,EAEjB,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EAEf,eAAe,EACf,2BAA2B,GACR;IACnB,MAAM,EACF,WAAW,EACX,WAAW,EACX,eAAe,EACf,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,qCAAqC,GACxC,GAAG,qBAAqB,EAAE,CAAC;IAE5B,MAAM,yBAAyB,GAAG,CAAC,KAAe,EAAE,EAAE;QAClD,qCAAqC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACpD,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,MAAM,IACH,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,sBAAsB,EAChC,WAAW,EAAE,IAAI,CAAC,oCAAoC,CAAC,EACvD,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,GACxB,EACD,gBAAgB,IAAI,CACjB,KAAC,iBAAiB,IAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,uBAAuB,GAAI,CAC/E,EACA,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACxB,KAAC,4BAA4B,IACzB,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,2BAA2B,GACvC,CACL,EACD,KAAC,
|
1
|
+
{"version":3,"file":"StorageControls.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageControls/StorageControls.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,MAAM,EAAE,gBAAgB,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEjE,OAAO,EAAC,aAAa,EAAC,MAAM,iDAAiD,CAAC;AAC9E,OAAO,EAAC,MAAM,EAAC,MAAM,mCAAmC,CAAC;AACzD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAC,+BAA+B,EAAC,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAC,8BAA8B,EAAC,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAC,iBAAiB,EAAC,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAC,4BAA4B,EAAC,MAAM,8DAA8D,CAAC;AAC1G,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAC,CAAC,EAAC,MAAM,WAAW,CAAC;AAC5B,OAAO,EAAC,qBAAqB,EAAC,MAAM,0BAA0B,CAAC;AAc/D,MAAM,UAAU,qBAAqB,CAAC,EAClC,gBAAgB,EAChB,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YAAY,IAAC,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,wBAAwB,GAAI,CACjF,EACD,KAAC,gBAAgB,IACb,UAAU,EAAE,GAAG,EACf,KAAK,EAAE,eAAe,EACtB,UAAU,QACV,QAAQ,EAAE,2BAA2B,EACrC,QAAQ,EAAE,KAAK,GACjB,EACD,iBAAiB,CAAC,CAAC,CAAC,CACjB,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,IAAI,IAAC,OAAO,EAAC,QAAQ,YAAE,IAAI,CAAC,+BAA+B,CAAC,GAAQ,EACrE,KAAC,MAAM,IACH,QAAQ,QACR,WAAW,EAAE,GAAG,EAChB,KAAK,EAAE,GAAG,EACV,YAAY,EACR,wBAAwB,CAAC,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,SAAS,EAErE,QAAQ,EAAE,yBAAyB,EACnC,OAAO,EAAE,8BAA8B,GACzC,IACW,CACpB,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,aAAa,IACV,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,EACpB,OAAO,EAAE,eAAe,EACxB,KAAK,EAAE,kBAAkB,EACzB,OAAO,EAAE,oBAAoB,GAC/B,IACW,CACpB,CAAC;AACN,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import DataTable from '@gravity-ui/react-data-table';
|
3
|
-
import { getCpuColumn, getDataCenterColumn, getDiskSpaceUsageColumn, getHostColumn, getMemoryColumn, getMissingDisksColumn, getNodeIdColumn, getNodeNameColumn, getRackColumn, getUptimeColumn, getVersionColumn, } from '../../../../components/nodesColumns/columns';
|
3
|
+
import { getCpuColumn, getDataCenterColumn, getDiskSpaceUsageColumn, getHostColumn, getMemoryColumn, getMissingDisksColumn, getNodeIdColumn, getNodeNameColumn, getPoolsColumn, getRAMColumn, getRackColumn, getUptimeColumn, getVersionColumn, } from '../../../../components/nodesColumns/columns';
|
4
4
|
import { NODES_COLUMNS_IDS, NODES_COLUMNS_TITLES, } from '../../../../components/nodesColumns/constants';
|
5
5
|
import { cn } from '../../../../utils/cn';
|
6
6
|
import { isSortableNodesProperty } from '../../../../utils/nodes';
|
@@ -36,6 +36,8 @@ export const getStorageNodesColumns = ({ database, additionalNodesProps, viewCon
|
|
36
36
|
getRackColumn(),
|
37
37
|
getVersionColumn(),
|
38
38
|
getMemoryColumn(),
|
39
|
+
getRAMColumn(),
|
40
|
+
getPoolsColumn(),
|
39
41
|
getCpuColumn(),
|
40
42
|
getDiskSpaceUsageColumn(),
|
41
43
|
getUptimeColumn(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageNodes/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EACH,YAAY,EACZ,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,gBAAgB,GACnB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACH,iBAAiB,EACjB,oBAAoB,GACvB,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAIxC,OAAO,4BAA4B,CAAC;AAEpC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAE1C,MAAM,eAAe,GAAG,CAAC,EAAC,WAAW,EAA+B,EAAsB,EAAE;IACxF,OAAO;QACH,IAAI,EAAE,iBAAiB,CAAC,MAAM;QAC9B,MAAM,EAAE,oBAAoB,CAAC,MAAM;QACnC,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC;QAC7B,MAAM,EAA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,CAAC;IAEF,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC7C,GAAG,MAAM;QACT,QAAQ,EAAE,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC;KACjD,CAAC,CAAC,CAAC;IAEJ,OAAO,eAAe,CAAC;AAC3B,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageNodes/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EACH,YAAY,EACZ,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,eAAe,EACf,gBAAgB,GACnB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACH,iBAAiB,EACjB,oBAAoB,GACvB,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAIxC,OAAO,4BAA4B,CAAC;AAEpC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAE1C,MAAM,eAAe,GAAG,CAAC,EAAC,WAAW,EAA+B,EAAsB,EAAE;IACxF,OAAO;QACH,IAAI,EAAE,iBAAiB,CAAC,MAAM;QAC9B,MAAM,EAAE,oBAAoB,CAAC,MAAM;QACnC,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC;QAC7B,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE;;YACd,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,gBAAgB,CAAC,YAC9B,MAAA,GAAG,CAAC,MAAM,0CAAE,GAAG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MAAM;QACT,QAAQ,EAAE,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC;KACjD,CAAC,CAAC,CAAC;IAEJ,OAAO,eAAe,CAAC;AAC3B,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageNodes/columns/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAC,oBAAoB,EAAC,MAAM,+CAA+C,CAAC;AAGnF,MAAM,CAAC,MAAM,kCAAkC,GAAG,0BAA0B,CAAC;AAC7E,MAAM,CAAC,MAAM,qCAAqC,GAAG,6BAA6B,CAAC;AAEnF,MAAM,CAAC,MAAM,6BAA6B,GAAoB;IAC1D,QAAQ;IACR,MAAM;IACN,IAAI;IACJ,MAAM;IACN,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageNodes/columns/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAC,oBAAoB,EAAC,MAAM,+CAA+C,CAAC;AAGnF,MAAM,CAAC,MAAM,kCAAkC,GAAG,0BAA0B,CAAC;AAC7E,MAAM,CAAC,MAAM,qCAAqC,GAAG,6BAA6B,CAAC;AAEnF,MAAM,CAAC,MAAM,6BAA6B,GAAoB;IAC1D,QAAQ;IACR,MAAM;IACN,IAAI;IACJ,MAAM;IACN,OAAO;IACP,QAAQ;IACR,QAAQ;CACX,CAAC;AACF,MAAM,CAAC,MAAM,8BAA8B,GAAoB,CAAC,QAAQ,CAAC,CAAC;AAE1E,MAAM,6BAA6B,GAAG;IAClC,MAAM;IACN,IAAI;IACJ,MAAM;IACN,SAAS;IACT,QAAQ;IACR,SAAS;IACT,gBAAgB;CACoB,CAAC;AAEzC,MAAM,CAAC,MAAM,8BAA8B,GAAmB,6BAA6B,CAAC,GAAG,CAC3F,CAAC,KAAK,EAAE,EAAE;IACN,OAAO;QACH,KAAK,EAAE,KAAK;QACZ,OAAO,EAAE,oBAAoB,CAAC,KAAK,CAAC;KACvC,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC;KAC1C,MAAM,CAAgC,CAAC,KAAK,EAAE,EAAE,CAAC,6BAA6B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;KAC/F,KAAK,CAAC,SAAS,CAAC,CAAC"}
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { NODES_COLUMNS_TO_DATA_FIELDS } from '../../../components/nodesColumns/constants';
|
2
2
|
import { prepareStorageNodesResponse } from '../../../store/reducers/storage/utils';
|
3
3
|
import { prepareSortValue } from '../../../utils/filters';
|
4
|
-
import { getUptimeParamValue, isSortableNodesProperty } from '../../../utils/nodes';
|
4
|
+
import { NODES_SORT_VALUE_TO_FIELD, getUptimeParamValue, isSortableNodesProperty, } from '../../../utils/nodes';
|
5
5
|
import { getRequiredDataFields } from '../../../utils/tableUtils/getRequiredDataFields';
|
6
6
|
export const getStorageNodes = async (params) => {
|
7
7
|
const { type = 'static', storage = true, limit, offset, sortParams, filters, columnsIds, } = params;
|
8
8
|
const { searchValue, nodesUptimeFilter, visibleEntities, database, nodeId, groupId, filterGroup, filterGroupBy, } = filters !== null && filters !== void 0 ? filters : {};
|
9
9
|
const { sortOrder, columnId } = sortParams !== null && sortParams !== void 0 ? sortParams : {};
|
10
10
|
const sort = isSortableNodesProperty(columnId)
|
11
|
-
? prepareSortValue(columnId, sortOrder)
|
11
|
+
? prepareSortValue(NODES_SORT_VALUE_TO_FIELD[columnId], sortOrder)
|
12
12
|
: undefined;
|
13
13
|
const dataFieldsRequired = getRequiredDataFields(columnsIds, NODES_COLUMNS_TO_DATA_FIELDS);
|
14
14
|
const response = await window.api.getNodes({
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getNodes.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/getNodes.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,4BAA4B,EAAC,MAAM,4CAA4C,CAAC;AAKxF,OAAO,EAAC,2BAA2B,EAAC,MAAM,uCAAuC,CAAC;AAElF,OAAO,EAAC,gBAAgB,EAAC,MAAM,wBAAwB,CAAC;AACxD,OAAO,
|
1
|
+
{"version":3,"file":"getNodes.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/getNodes.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,4BAA4B,EAAC,MAAM,4CAA4C,CAAC;AAKxF,OAAO,EAAC,2BAA2B,EAAC,MAAM,uCAAuC,CAAC;AAElF,OAAO,EAAC,gBAAgB,EAAC,MAAM,wBAAwB,CAAC;AACxD,OAAO,EACH,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAC,qBAAqB,EAAC,MAAM,iDAAiD,CAAC;AAEtF,MAAM,CAAC,MAAM,eAAe,GAIxB,KAAK,EAAE,MAAM,EAAE,EAAE;IACjB,MAAM,EACF,IAAI,GAAG,QAAQ,EACf,OAAO,GAAG,IAAI,EACd,KAAK,EACL,MAAM,EACN,UAAU,EACV,OAAO,EACP,UAAU,GACb,GAAG,MAAM,CAAC;IACX,MAAM,EACF,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,QAAQ,EACR,MAAM,EACN,OAAO,EACP,WAAW,EACX,aAAa,GAChB,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC;IAClB,MAAM,EAAC,SAAS,EAAE,QAAQ,EAAC,GAAG,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,EAAE,CAAC;IAE/C,MAAM,IAAI,GAAG,uBAAuB,CAAC,QAAQ,CAAC;QAC1C,CAAC,CAAC,gBAAgB,CAAC,yBAAyB,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;QAClE,CAAC,CAAC,SAAS,CAAC;IAEhB,MAAM,kBAAkB,GAAG,qBAAqB,CAAC,UAAU,EAAE,4BAA4B,CAAC,CAAC;IAE3F,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;QACvC,IAAI;QACJ,OAAO;QACP,KAAK;QACL,MAAM;QACN,IAAI;QACJ,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,mBAAmB,CAAC,iBAAiB,CAAC;QAC9C,IAAI,EAAE,eAAe;QACrB,QAAQ;QACR,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,OAAO;QACjB,YAAY,EAAE,WAAW;QACzB,eAAe,EAAE,aAAa;QAC9B,cAAc,EAAE,kBAAkB;KACrC,CAAC,CAAC;IACH,MAAM,gBAAgB,GAAG,2BAA2B,CAAC,QAAQ,CAAC,CAAC;IAC/D,OAAO;QACH,IAAI,EAAE,gBAAgB,CAAC,KAAK,IAAI,EAAE;QAClC,KAAK,EAAE,gBAAgB,CAAC,KAAK,IAAI,CAAC;QAClC,KAAK,EAAE,gBAAgB,CAAC,KAAK,IAAI,CAAC;KACrC,CAAC;AACN,CAAC,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "nodes" | "
|
1
|
+
declare const _default: (key: "nodes" | "controls_group-by-placeholder" | "groups" | "controls_groups-search-placeholder" | "controls_nodes-search-placeholder" | "no-nodes" | "no-groups", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -2,7 +2,7 @@ import type { NodesSortParams } from '../../../store/reducers/nodes/types';
|
|
2
2
|
import type { PreparedStorageGroup, StorageSortParams, VisibleEntities } from '../../../store/reducers/storage/types';
|
3
3
|
import type { PreparedVDisk } from '../../../utils/disks/types';
|
4
4
|
import type { StorageViewContext } from '../types';
|
5
|
-
export declare const getDegradedSeverity: (group: PreparedStorageGroup) => "
|
5
|
+
export declare const getDegradedSeverity: (group: PreparedStorageGroup) => "success" | "warning" | "danger" | undefined;
|
6
6
|
export declare const defaultSortNode: NodesSortParams;
|
7
7
|
export declare function getDefaultSortGroup(visibleEntities: VisibleEntities): StorageSortParams;
|
8
8
|
export declare function isVdiskActive(vDisk: PreparedVDisk, viewContext?: StorageViewContext): boolean;
|
@@ -114,7 +114,9 @@ function TabletActions(tablet) {
|
|
114
114
|
}
|
115
115
|
return (_jsx(ButtonWithConfirmDialog, { buttonView: "outlined", buttonTitle: i18n('dialog.kill-header'), dialogHeader: i18n('dialog.kill-header'), dialogText: i18n('dialog.kill-text'), onConfirmAction: () => {
|
116
116
|
return killTablet({ id }).unwrap();
|
117
|
-
}, buttonDisabled: isDisabledRestart || !isUserAllowedToMakeChanges, withPopover: true, popoverContent:
|
117
|
+
}, buttonDisabled: isDisabledRestart || !isUserAllowedToMakeChanges, withPopover: true, popoverContent: isUserAllowedToMakeChanges
|
118
|
+
? i18n('dialog.kill-header')
|
119
|
+
: i18n('controls.kill-not-allowed'), popoverPlacement: ['right', 'auto'], popoverDisabled: false, children: _jsx(Icon, { data: ArrowRotateLeft }) }));
|
118
120
|
}
|
119
121
|
export function TabletsTable({ database, tablets, className, loading }) {
|
120
122
|
if (loading) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabletsTable.js","sourceRoot":"","sources":["../../../src/containers/Tablets/TabletsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,YAAY,EAAC,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAC,aAAa,EAAC,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAC,iBAAiB,E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KAAC,aAAa,KAAG,CAAC;IAC7B,CAAC;IACD,OAAO,CACH,KAAC,mBAAmB,IAChB,gBAAgB,EAAE,SAAS,EAC3B,OAAO,EAAE,UAAU,CAAC,EAAC,QAAQ,EAAC,CAAC,EAC/B,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,sBAAsB,EAChC,gBAAgB,EAAE,IAAI,CAAC,eAAe,CAAC,GACzC,CACL,CAAC;AACN,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
-
import {
|
2
|
+
import { getHostColumn, getNodeIdColumn, getPoolsColumn, } from '../../../../../components/nodesColumns/columns';
|
3
3
|
import { NODES_COLUMNS_TO_DATA_FIELDS, NODES_COLUMNS_WIDTH_LS_KEY, } from '../../../../../components/nodesColumns/constants';
|
4
4
|
import { nodesApi } from '../../../../../store/reducers/nodes/nodes';
|
5
5
|
import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
|
@@ -13,7 +13,7 @@ import i18n from '../i18n';
|
|
13
13
|
export function getTopNodesByCpuColumns(params) {
|
14
14
|
const hostColumn = { ...getHostColumn(params), width: undefined };
|
15
15
|
const columns = [
|
16
|
-
|
16
|
+
getPoolsColumn(),
|
17
17
|
getNodeIdColumn(),
|
18
18
|
hostColumn,
|
19
19
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TopNodesByCpu.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.tsx"],"names":[],"mappings":";AAEA,OAAO,EACH,
|
1
|
+
{"version":3,"file":"TopNodesByCpu.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.tsx"],"names":[],"mappings":";AAEA,OAAO,EACH,aAAa,EACb,eAAe,EACf,cAAc,GACjB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACH,4BAA4B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,5 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
-
import {
|
2
|
+
import { ArrowsRotateLeft } from '@gravity-ui/icons';
|
3
3
|
import { ActionTooltip, Button, Icon } from '@gravity-ui/uikit';
|
4
4
|
import { nanoid } from '@reduxjs/toolkit';
|
5
5
|
import { useDispatchTreeKey } from '../UpdateTreeContext';
|
@@ -7,6 +7,6 @@ export function RefreshTreeButton() {
|
|
7
7
|
const updateTreeKey = useDispatchTreeKey();
|
8
8
|
return (_jsx(ActionTooltip, { title: "Refresh", children: _jsx(Button, { view: "flat-secondary", onClick: () => {
|
9
9
|
updateTreeKey(nanoid());
|
10
|
-
}, children: _jsx(Icon, { data:
|
10
|
+
}, children: _jsx(Icon, { data: ArrowsRotateLeft }) }) }));
|
11
11
|
}
|
12
12
|
//# sourceMappingURL=RefreshTreeButton.js.map
|
@@ -2,10 +2,12 @@ import type { ErrorResponse, IssueMessage } from '../../../../types/api/query';
|
|
2
2
|
import './Issues.scss';
|
3
3
|
interface ResultIssuesProps {
|
4
4
|
data: ErrorResponse | string;
|
5
|
+
hideSeverity?: boolean;
|
5
6
|
}
|
6
|
-
export declare function ResultIssues({ data }: ResultIssuesProps): import("react/jsx-runtime").JSX.Element;
|
7
|
+
export declare function ResultIssues({ data, hideSeverity }: ResultIssuesProps): import("react/jsx-runtime").JSX.Element;
|
7
8
|
interface IssuesProps {
|
8
9
|
issues: IssueMessage[] | null | undefined;
|
10
|
+
hideSeverity?: boolean;
|
9
11
|
}
|
10
|
-
export declare function Issues({ issues }: IssuesProps): import("react/jsx-runtime").JSX.Element;
|
12
|
+
export declare function Issues({ issues, hideSeverity }: IssuesProps): import("react/jsx-runtime").JSX.Element;
|
11
13
|
export {};
|
@@ -10,7 +10,7 @@ import './Issues.scss';
|
|
10
10
|
const blockWrapper = cn('kv-result-issues');
|
11
11
|
const blockIssues = cn('kv-issues');
|
12
12
|
const blockIssue = cn('kv-issue');
|
13
|
-
export function ResultIssues({ data }) {
|
13
|
+
export function ResultIssues({ data, hideSeverity }) {
|
14
14
|
const [showIssues, setShowIssues] = React.useState(false);
|
15
15
|
const issues = typeof data === 'string' ? undefined : data === null || data === void 0 ? void 0 : data.issues;
|
16
16
|
const hasIssues = Array.isArray(issues) && issues.length > 0;
|
@@ -22,21 +22,21 @@ export function ResultIssues({ data }) {
|
|
22
22
|
}
|
23
23
|
else {
|
24
24
|
const severity = getSeverity((_a = data === null || data === void 0 ? void 0 : data.error) === null || _a === void 0 ? void 0 : _a.severity);
|
25
|
-
content = (_jsxs(React.Fragment, { children: [_jsx(IssueSeverity, { severity: severity }), ' ', _jsx("span", { className: blockWrapper('error-message-text'), children: (_b = data === null || data === void 0 ? void 0 : data.error) === null || _b === void 0 ? void 0 : _b.message })] }));
|
25
|
+
content = (_jsxs(React.Fragment, { children: [hideSeverity ? null : (_jsxs(React.Fragment, { children: [_jsx(IssueSeverity, { severity: severity }), ' '] })), _jsx("span", { className: blockWrapper('error-message-text'), children: (_b = data === null || data === void 0 ? void 0 : data.error) === null || _b === void 0 ? void 0 : _b.message })] }));
|
26
26
|
}
|
27
27
|
return content;
|
28
28
|
};
|
29
|
-
return (_jsxs("div", { className: blockWrapper(), children: [_jsxs("div", { className: blockWrapper('error-message'), children: [renderTitle(), hasIssues && (_jsx(Button, { view: "normal", onClick: () => setShowIssues(!showIssues), children: showIssues ? 'Hide details' : 'Show details' }))] }), hasIssues && showIssues && _jsx(Issues, { issues: issues })] }));
|
29
|
+
return (_jsxs("div", { className: blockWrapper(), children: [_jsxs("div", { className: blockWrapper('error-message'), children: [renderTitle(), hasIssues && (_jsx(Button, { view: "normal", onClick: () => setShowIssues(!showIssues), children: showIssues ? 'Hide details' : 'Show details' }))] }), hasIssues && showIssues && _jsx(Issues, { hideSeverity: hideSeverity, issues: issues })] }));
|
30
30
|
}
|
31
|
-
export function Issues({ issues }) {
|
31
|
+
export function Issues({ issues, hideSeverity }) {
|
32
32
|
const mostSevereIssue = issues === null || issues === void 0 ? void 0 : issues.reduce((result, issue) => {
|
33
33
|
var _a;
|
34
34
|
const severity = (_a = issue.severity) !== null && _a !== void 0 ? _a : 10;
|
35
35
|
return Math.min(result, severity);
|
36
36
|
}, 10);
|
37
|
-
return (_jsx("div", { className: blockIssues(null), children: issues === null || issues === void 0 ? void 0 : issues.map((issue, index) => (_jsx(Issue, { issue: issue, expanded: issue === mostSevereIssue }, index))) }));
|
37
|
+
return (_jsx("div", { className: blockIssues(null), children: issues === null || issues === void 0 ? void 0 : issues.map((issue, index) => (_jsx(Issue, { hideSeverity: hideSeverity, issue: issue, expanded: issue === mostSevereIssue }, index))) }));
|
38
38
|
}
|
39
|
-
function Issue({ issue, level = 0 }) {
|
39
|
+
function Issue({ issue, hideSeverity, level = 0, }) {
|
40
40
|
const [isExpand, setIsExpand] = React.useState(true);
|
41
41
|
const severity = getSeverity(issue.severity);
|
42
42
|
const position = getIssuePosition(issue);
|
@@ -46,7 +46,7 @@ function Issue({ issue, level = 0 }) {
|
|
46
46
|
return (_jsxs("div", { className: blockIssue({
|
47
47
|
leaf: !hasIssues,
|
48
48
|
'has-issues': hasIssues,
|
49
|
-
}), children: [_jsxs("div", { className: blockIssue('line'), children: [hasIssues && (_jsx(Button, { view: "flat-secondary", onClick: () => setIsExpand(!isExpand), className: blockIssue('arrow-toggle'), children: _jsx(ArrowToggle, { direction: arrowDirection, size: 16 }) })), _jsx(IssueSeverity, { severity: severity }), _jsxs("span", { className: blockIssue('message'), children: [position && (_jsx("span", { className: blockIssue('place-text'), title: "Position", children: position })), _jsx("div", { className: blockIssue('message-text'), children: _jsx(ShortyString, { value: issue.message, expandLabel: 'Show full message' }) })] }), issue.issue_code ? (_jsxs("span", { className: blockIssue('code'), children: ["Code: ", issue.issue_code] })) : null] }), hasIssues && isExpand && (_jsx("div", { className: blockIssue('issues'), children: _jsx(IssueList, { issues: issues, level: level + 1, expanded: isExpand }) }))] }));
|
49
|
+
}), children: [_jsxs("div", { className: blockIssue('line'), children: [hasIssues && (_jsx(Button, { view: "flat-secondary", onClick: () => setIsExpand(!isExpand), className: blockIssue('arrow-toggle'), children: _jsx(ArrowToggle, { direction: arrowDirection, size: 16 }) })), hideSeverity ? null : _jsx(IssueSeverity, { severity: severity }), _jsxs("span", { className: blockIssue('message'), children: [position && (_jsx("span", { className: blockIssue('place-text'), title: "Position", children: position })), _jsx("div", { className: blockIssue('message-text'), children: _jsx(ShortyString, { value: issue.message, expandLabel: 'Show full message' }) })] }), issue.issue_code ? (_jsxs("span", { className: blockIssue('code'), children: ["Code: ", issue.issue_code] })) : null] }), hasIssues && isExpand && (_jsx("div", { className: blockIssue('issues'), children: _jsx(IssueList, { issues: issues, level: level + 1, expanded: isExpand }) }))] }));
|
50
50
|
}
|
51
51
|
function IssueList(props) {
|
52
52
|
const { issues, level, expanded } = props;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Issues.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/Issues/Issues.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,uBAAuB,GAC1B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE5D,OAAO,YAAY,MAAM,kDAAkD,CAAC;AAE5E,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAGlD,OAAO,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC;AAErC,OAAO,eAAe,CAAC;AAEvB,MAAM,YAAY,GAAG,EAAE,CAAC,kBAAkB,CAAC,CAAC;AAC5C,MAAM,WAAW,GAAG,EAAE,CAAC,WAAW,CAAC,CAAC;AACpC,MAAM,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"Issues.js","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|
24
|
-
"action.create-cdc-stream": "Create
|
24
|
+
"action.create-cdc-stream": "Create changefeed",
|
25
25
|
"action.create-async-replication": "Create async replication",
|
26
26
|
"action.create-user": "Create user",
|
27
27
|
"action.create-group": "Create group",
|
@@ -38,6 +38,7 @@
|
|
38
38
|
"actions.dropView": "Drop view...",
|
39
39
|
"actions.alterTable": "Alter table...",
|
40
40
|
"actions.addTableIndex": "Add index...",
|
41
|
+
"actions.createCdcStream": "Create changefeed...",
|
41
42
|
"actions.alterTopic": "Alter topic...",
|
42
43
|
"actions.selectQuery": "Select query...",
|
43
44
|
"actions.upsertQuery": "Upsert query...",
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "page.title" | "pages.query" | "pages.diagnostics" | "summary.navigation" | "summary.showPreview" | "summary.source-type" | "summary.data-source" | "summary.copySchemaPath" | "summary.type" | "summary.subtype" | "summary.id" | "summary.version" | "summary.created" | "summary.data-size" | "summary.row-count" | "summary.partitions" | "summary.paths" | "summary.shards" | "summary.state" | "summary.mode" | "summary.format" | "summary.retention" | "label.read-only" | "actions.copied" | "actions.notCopied" | "actions.copyPath" | "actions.dropIndex" | "actions.openPreview" | "actions.createTable" | "actions.createExternalTable" | "actions.createTopic" | "actions.createColumnTable" | "actions.createAsyncReplication" | "actions.createView" | "actions.dropTable" | "actions.dropTopic" | "actions.dropView" | "actions.alterTable" | "actions.addTableIndex" | "actions.alterTopic" | "actions.selectQuery" | "actions.upsertQuery" | "actions.alterReplication" | "actions.dropReplication" | "actions.createDirectory" | "schema.tree.dialog.placeholder" | "schema.tree.dialog.invalid" | "schema.tree.dialog.whitespace" | "schema.tree.dialog.empty" | "schema.tree.dialog.header" | "schema.tree.dialog.description" | "schema.tree.dialog.buttonCancel" | "schema.tree.dialog.buttonApply", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "page.title" | "pages.query" | "pages.diagnostics" | "summary.navigation" | "summary.showPreview" | "summary.source-type" | "summary.data-source" | "summary.copySchemaPath" | "summary.type" | "summary.subtype" | "summary.id" | "summary.version" | "summary.created" | "summary.data-size" | "summary.row-count" | "summary.partitions" | "summary.paths" | "summary.shards" | "summary.state" | "summary.mode" | "summary.format" | "summary.retention" | "label.read-only" | "actions.copied" | "actions.notCopied" | "actions.copyPath" | "actions.dropIndex" | "actions.openPreview" | "actions.createTable" | "actions.createExternalTable" | "actions.createTopic" | "actions.createColumnTable" | "actions.createAsyncReplication" | "actions.createView" | "actions.dropTable" | "actions.dropTopic" | "actions.dropView" | "actions.alterTable" | "actions.addTableIndex" | "actions.createCdcStream" | "actions.alterTopic" | "actions.selectQuery" | "actions.upsertQuery" | "actions.alterReplication" | "actions.dropReplication" | "actions.createDirectory" | "schema.tree.dialog.placeholder" | "schema.tree.dialog.invalid" | "schema.tree.dialog.whitespace" | "schema.tree.dialog.empty" | "schema.tree.dialog.header" | "schema.tree.dialog.description" | "schema.tree.dialog.buttonCancel" | "schema.tree.dialog.buttonApply", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|