ydb-embedded-ui 6.17.1 → 6.18.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/icons/decommission.svg +6 -0
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.d.ts +3 -2
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js +10 -16
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js.map +1 -1
- package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +4 -2
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +7 -4
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
- package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +23 -1
- package/dist/components/CriticalActionDialog/utils.d.ts +5 -0
- package/dist/components/CriticalActionDialog/utils.js +4 -0
- package/dist/components/CriticalActionDialog/utils.js.map +1 -0
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +5 -3
- package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +1 -2
- package/dist/components/EntityPageTitle/EntityPageTitle.js +2 -2
- package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +1 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
- package/dist/components/LinkWithIcon/LinkWithIcon.d.ts +2 -1
- package/dist/components/LinkWithIcon/LinkWithIcon.js +3 -3
- package/dist/components/LinkWithIcon/LinkWithIcon.js.map +1 -1
- package/dist/components/Loader/Loader.js +1 -1
- package/dist/components/Loader/Loader.js.map +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.js +1 -7
- package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
- package/dist/components/PDiskInfo/i18n/en.json +0 -1
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.js +3 -5
- package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
- package/dist/components/PaginatedTable/PaginatedTable.js +2 -2
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.scss +12 -14
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js +2 -1
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.js +7 -2
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/TableHead.js +14 -10
- package/dist/components/PaginatedTable/TableHead.js.map +1 -1
- package/dist/components/PaginatedTable/TableRow.js +14 -6
- package/dist/components/PaginatedTable/TableRow.js.map +1 -1
- package/dist/components/PaginatedTable/types.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/Skeleton/Skeleton.js.map +1 -1
- package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +5 -0
- package/dist/components/VDisk/VDisk.d.ts +6 -3
- package/dist/components/VDisk/VDisk.js +6 -4
- package/dist/components/VDisk/VDisk.js.map +1 -1
- package/dist/components/VDisk/VDiskWithDonorsStack.d.ts +3 -5
- package/dist/components/VDisk/VDiskWithDonorsStack.js +4 -4
- package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.js +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.d.ts +11 -0
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js +91 -0
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js.map +1 -0
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.scss +6 -0
- package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.d.ts +6 -0
- package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js +20 -0
- package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js.map +1 -0
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +4 -8
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +32 -14
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +7 -0
- package/dist/containers/PDiskPage/i18n/en.json +16 -2
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/Disks/Disks.d.ts +9 -0
- package/dist/containers/Storage/Disks/Disks.js +37 -0
- package/dist/containers/Storage/Disks/Disks.js.map +1 -0
- package/dist/containers/Storage/Disks/Disks.scss +46 -0
- package/dist/containers/Storage/PDisk/PDisk.d.ts +6 -2
- package/dist/containers/Storage/PDisk/PDisk.js +14 -7
- package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.scss +4 -2
- package/dist/containers/Storage/PaginatedStorage.js +1 -4
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/Storage.js +2 -4
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +1 -3
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +4 -5
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +1 -4
- package/dist/containers/Storage/StorageGroups/StorageGroups.js +4 -7
- package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/{StorageGroups.scss → columns/StorageGroupsColumns.scss} +3 -2
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +21 -0
- package/dist/containers/Storage/StorageGroups/{getStorageGroupsColumns.js → columns/getStorageGroupsColumns.js} +41 -21
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +19 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +14 -0
- package/dist/containers/Storage/StorageGroups/columns/types.js +2 -0
- package/dist/containers/Storage/StorageGroups/columns/types.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
- package/dist/containers/Tablet/Tablet.js +13 -11
- package/dist/containers/Tablet/Tablet.js.map +1 -1
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js +1 -1
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -1
- package/dist/containers/Tablet/i18n/en.json +6 -3
- package/dist/containers/Tablet/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/Tablets.js +1 -1
- package/dist/containers/Tablets/Tablets.js.map +1 -1
- package/dist/containers/Tablets/i18n/en.json +2 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +3 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +6 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +5 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +43 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -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.test.js +4 -4
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +4 -4
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +2 -2
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +14 -4
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +22 -17
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +1 -1
- package/dist/containers/Tenant/Query/i18n/en.json +5 -4
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.d.ts +1 -0
- package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js +50 -0
- package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js.map +1 -0
- package/dist/containers/Tenant/Query/utils/replaceParams.d.ts +1 -0
- package/dist/containers/Tenant/Query/utils/replaceParams.js +6 -0
- package/dist/containers/Tenant/Query/utils/replaceParams.js.map +1 -0
- package/dist/containers/UserSettings/i18n/en.json +2 -0
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +1 -0
- package/dist/containers/UserSettings/settings.js +12 -2
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.js +5 -8
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/i18n/en.json +2 -1
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/services/api.d.ts +12 -3
- package/dist/services/api.js +51 -8
- package/dist/services/api.js.map +1 -1
- package/dist/services/parsers/parseMetaCluster.js +34 -1
- package/dist/services/parsers/parseMetaCluster.js.map +1 -1
- package/dist/services/settings.d.ts +2 -1
- package/dist/services/settings.js +2 -1
- package/dist/services/settings.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/executeQuery.js +5 -1
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/explainQuery/explainQuery.js +3 -1
- package/dist/store/reducers/explainQuery/explainQuery.js.map +1 -1
- package/dist/store/reducers/trace.d.ts +8 -0
- package/dist/store/reducers/trace.js +21 -0
- package/dist/store/reducers/trace.js.map +1 -0
- package/dist/types/api/cluster.d.ts +3 -0
- package/dist/types/api/meta.d.ts +2 -0
- package/dist/types/api/modifyDisk.d.ts +1 -0
- package/dist/types/api/pdisk.d.ts +1 -1
- package/dist/types/api/query.d.ts +8 -4
- package/dist/types/api/trace.d.ts +7 -0
- package/dist/types/api/trace.js +2 -0
- package/dist/types/api/trace.js.map +1 -0
- package/dist/types/store/query.d.ts +4 -3
- package/dist/utils/constants.d.ts +2 -1
- package/dist/utils/constants.js +3 -2
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/disks/helpers.d.ts +1 -1
- package/dist/utils/disks/helpers.js +5 -1
- package/dist/utils/disks/helpers.js.map +1 -1
- package/dist/utils/disks/prepareDisks.js +10 -5
- package/dist/utils/disks/prepareDisks.js.map +1 -1
- package/dist/utils/hooks/useDelayed.d.ts +1 -1
- package/dist/utils/hooks/useDelayed.js +6 -1
- package/dist/utils/hooks/useDelayed.js.map +1 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +1 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.js +11 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
- package/dist/utils/hooks/useQueryExecutionSettings.d.ts +1 -7
- package/dist/utils/hooks/useQueryExecutionSettings.js +12 -10
- package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +5 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/query.d.ts +4 -3
- package/dist/utils/query.js +9 -7
- package/dist/utils/query.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/CriticalActionDialog/index.d.ts +0 -1
- package/dist/components/CriticalActionDialog/index.js +0 -2
- package/dist/components/CriticalActionDialog/index.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +0 -62
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +0 -1
@@ -0,0 +1,21 @@
|
|
1
|
+
import type { StorageColumnsGetter } from './types';
|
2
|
+
import './StorageGroupsColumns.scss';
|
3
|
+
export declare const STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY = "storageGroupsColumnsWidth";
|
4
|
+
export declare const GROUPS_COLUMNS_IDS: {
|
5
|
+
readonly PoolName: "PoolName";
|
6
|
+
readonly MediaType: "MediaType";
|
7
|
+
readonly Erasure: "Erasure";
|
8
|
+
readonly GroupId: "GroupId";
|
9
|
+
readonly Used: "Used";
|
10
|
+
readonly Limit: "Limit";
|
11
|
+
readonly Usage: "Usage";
|
12
|
+
readonly UsedSpaceFlag: "UsedSpaceFlag";
|
13
|
+
readonly Read: "Read";
|
14
|
+
readonly Write: "Write";
|
15
|
+
readonly VDisks: "VDisks";
|
16
|
+
readonly Disks: "Disks";
|
17
|
+
readonly Degraded: "Degraded";
|
18
|
+
};
|
19
|
+
export declare const getStorageTopGroupsColumns: StorageColumnsGetter;
|
20
|
+
export declare const getDiskPageStorageColumns: StorageColumnsGetter;
|
21
|
+
export declare const getPreparedStorageGroupsColumns: StorageColumnsGetter;
|
@@ -3,20 +3,21 @@ import React from 'react';
|
|
3
3
|
import { ShieldKeyhole } from '@gravity-ui/icons';
|
4
4
|
import DataTable from '@gravity-ui/react-data-table';
|
5
5
|
import { Icon, Label, Popover, PopoverBehavior } from '@gravity-ui/uikit';
|
6
|
-
import { CellWithPopover } from '
|
7
|
-
import { EntityStatus } from '
|
8
|
-
import { UsageLabel } from '
|
9
|
-
import { VDiskWithDonorsStack } from '
|
10
|
-
import { VISIBLE_ENTITIES } from '
|
11
|
-
import { EFlag } from '
|
12
|
-
import { cn } from '
|
13
|
-
import { stringifyVdiskId } from '
|
14
|
-
import { isSortableStorageProperty } from '
|
15
|
-
import { bytesToGB, bytesToSpeed } from '
|
16
|
-
import {
|
17
|
-
import
|
18
|
-
import '
|
19
|
-
|
6
|
+
import { CellWithPopover } from '../../../../components/CellWithPopover/CellWithPopover';
|
7
|
+
import { EntityStatus } from '../../../../components/EntityStatus/EntityStatus';
|
8
|
+
import { UsageLabel } from '../../../../components/UsageLabel/UsageLabel';
|
9
|
+
import { VDiskWithDonorsStack } from '../../../../components/VDisk/VDiskWithDonorsStack';
|
10
|
+
import { VISIBLE_ENTITIES } from '../../../../store/reducers/storage/constants';
|
11
|
+
import { EFlag } from '../../../../types/api/enums';
|
12
|
+
import { cn } from '../../../../utils/cn';
|
13
|
+
import { stringifyVdiskId } from '../../../../utils/dataFormatters/dataFormatters';
|
14
|
+
import { isSortableStorageProperty } from '../../../../utils/storage';
|
15
|
+
import { bytesToGB, bytesToSpeed } from '../../../../utils/utils';
|
16
|
+
import { Disks } from '../../Disks/Disks';
|
17
|
+
import { getDegradedSeverity, getUsageSeverityForStorageGroup } from '../../utils';
|
18
|
+
import i18n from '../i18n';
|
19
|
+
import './StorageGroupsColumns.scss';
|
20
|
+
const b = cn('ydb-storage-groups-columns');
|
20
21
|
export const STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY = 'storageGroupsColumnsWidth';
|
21
22
|
export const GROUPS_COLUMNS_IDS = {
|
22
23
|
PoolName: 'PoolName',
|
@@ -30,6 +31,7 @@ export const GROUPS_COLUMNS_IDS = {
|
|
30
31
|
Read: 'Read',
|
31
32
|
Write: 'Write',
|
32
33
|
VDisks: 'VDisks',
|
34
|
+
Disks: 'Disks',
|
33
35
|
Degraded: 'Degraded',
|
34
36
|
};
|
35
37
|
const poolNameColumn = {
|
@@ -164,6 +166,18 @@ const getVDisksColumn = (nodes) => ({
|
|
164
166
|
resizeable: false,
|
165
167
|
sortable: false,
|
166
168
|
});
|
169
|
+
const getDisksColumn = (nodes) => ({
|
170
|
+
name: GROUPS_COLUMNS_IDS.Disks,
|
171
|
+
className: b('disks-column'),
|
172
|
+
header: 'Disks',
|
173
|
+
render: ({ row }) => {
|
174
|
+
return _jsx(Disks, { vDisks: row.VDisks, nodes: nodes });
|
175
|
+
},
|
176
|
+
align: DataTable.CENTER,
|
177
|
+
width: 900,
|
178
|
+
resizeable: false,
|
179
|
+
sortable: false,
|
180
|
+
});
|
167
181
|
export const getStorageTopGroupsColumns = () => {
|
168
182
|
const columns = [
|
169
183
|
groupIdColumn,
|
@@ -180,7 +194,10 @@ export const getStorageTopGroupsColumns = () => {
|
|
180
194
|
};
|
181
195
|
});
|
182
196
|
};
|
183
|
-
export const getDiskPageStorageColumns = (
|
197
|
+
export const getDiskPageStorageColumns = (data, options) => {
|
198
|
+
const disksColumn = (options === null || options === void 0 ? void 0 : options.useAdvancedStorage)
|
199
|
+
? getDisksColumn()
|
200
|
+
: getVDisksColumn(data === null || data === void 0 ? void 0 : data.nodes);
|
184
201
|
return [
|
185
202
|
poolNameColumn,
|
186
203
|
typeColumn,
|
@@ -189,10 +206,13 @@ export const getDiskPageStorageColumns = (nodes) => {
|
|
189
206
|
groupIdColumn,
|
190
207
|
usageColumn,
|
191
208
|
usedColumn,
|
192
|
-
|
209
|
+
disksColumn,
|
193
210
|
];
|
194
211
|
};
|
195
|
-
const getStorageGroupsColumns = (
|
212
|
+
const getStorageGroupsColumns = (data, options) => {
|
213
|
+
const disksColumn = (options === null || options === void 0 ? void 0 : options.useAdvancedStorage)
|
214
|
+
? getDisksColumn()
|
215
|
+
: getVDisksColumn(data === null || data === void 0 ? void 0 : data.nodes);
|
196
216
|
return [
|
197
217
|
poolNameColumn,
|
198
218
|
typeColumn,
|
@@ -205,7 +225,7 @@ const getStorageGroupsColumns = (nodes) => {
|
|
205
225
|
usedSpaceFlagColumn,
|
206
226
|
readColumn,
|
207
227
|
writeColumn,
|
208
|
-
|
228
|
+
disksColumn,
|
209
229
|
];
|
210
230
|
};
|
211
231
|
const filterStorageGroupsColumns = (columns, visibleEntities) => {
|
@@ -220,9 +240,9 @@ const filterStorageGroupsColumns = (columns, visibleEntities) => {
|
|
220
240
|
col.name !== GROUPS_COLUMNS_IDS.UsedSpaceFlag);
|
221
241
|
});
|
222
242
|
};
|
223
|
-
export const getPreparedStorageGroupsColumns = (
|
224
|
-
const rawColumns = getStorageGroupsColumns(
|
225
|
-
const filteredColumns = filterStorageGroupsColumns(rawColumns, visibleEntities);
|
243
|
+
export const getPreparedStorageGroupsColumns = (data, options) => {
|
244
|
+
const rawColumns = getStorageGroupsColumns(data, options);
|
245
|
+
const filteredColumns = filterStorageGroupsColumns(rawColumns, options === null || options === void 0 ? void 0 : options.visibleEntities);
|
226
246
|
return filteredColumns.map((column) => ({
|
227
247
|
...column,
|
228
248
|
sortable: isSortableStorageProperty(column.name),
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getStorageGroupsColumns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAA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GetStorageGroupsColumns: (visibleEntities: VisibleEntities) => import("./types").StorageGroupsColumn[];
|
3
|
+
export declare const useGetDiskStorageColumns: () => import("./types").StorageGroupsColumn[];
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { selectNodesMap } from '../../../../store/reducers/nodesList';
|
3
|
+
import { USE_ADVANCED_STORAGE_KEY } from '../../../../utils/constants';
|
4
|
+
import { useSetting, useTypedSelector } from '../../../../utils/hooks';
|
5
|
+
import { getDiskPageStorageColumns, getPreparedStorageGroupsColumns, } from './getStorageGroupsColumns';
|
6
|
+
const useGetStorageColumns = (columnsGetter, visibleEntities) => {
|
7
|
+
const [useAdvancedStorage] = useSetting(USE_ADVANCED_STORAGE_KEY, false);
|
8
|
+
const nodes = useTypedSelector(selectNodesMap);
|
9
|
+
return React.useMemo(() => {
|
10
|
+
return columnsGetter({ nodes }, { useAdvancedStorage, visibleEntities });
|
11
|
+
}, [columnsGetter, nodes, useAdvancedStorage, visibleEntities]);
|
12
|
+
};
|
13
|
+
export const useGetStorageGroupsColumns = (visibleEntities) => {
|
14
|
+
return useGetStorageColumns(getPreparedStorageGroupsColumns, visibleEntities);
|
15
|
+
};
|
16
|
+
export const useGetDiskStorageColumns = () => {
|
17
|
+
return useGetStorageColumns(getDiskPageStorageColumns);
|
18
|
+
};
|
19
|
+
//# sourceMappingURL=hooks.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,cAAc,EAAC,MAAM,sCAAsC,CAAC;AAEpE,OAAO,EAAC,wBAAwB,EAAC,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AAErE,OAAO,EACH,yBAAyB,EACzB,+BAA+B,GAClC,MAAM,2BAA2B,CAAC;AAGnC,MAAM,oBAAoB,GAAG,CACzB,aAAmC,EACnC,eAAiC,EACnC,EAAE;IACA,MAAM,CAAC,kBAAkB,CAAC,GAAG,UAAU,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC;IACzE,MAAM,KAAK,GAAG,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAE/C,OAAO,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACtB,OAAO,aAAa,CAAC,EAAC,KAAK,EAAC,EAAE,EAAC,kBAAkB,EAAE,eAAe,EAAC,CAAC,CAAC;IACzE,CAAC,EAAE,CAAC,aAAa,EAAE,KAAK,EAAE,kBAAkB,EAAE,eAAe,CAAC,CAAC,CAAC;AACpE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,eAAgC,EAAE,EAAE;IAC3E,OAAO,oBAAoB,CAAC,+BAA+B,EAAE,eAAe,CAAC,CAAC;AAClF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,EAAE;IACzC,OAAO,oBAAoB,CAAC,yBAAyB,CAAC,CAAC;AAC3D,CAAC,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { Column as DataTableColumn } from '@gravity-ui/react-data-table';
|
2
|
+
import type { Column as PaginatedTableColumn } from '../../../../components/PaginatedTable';
|
3
|
+
import type { PreparedStorageGroup, VisibleEntities } from '../../../../store/reducers/storage/types';
|
4
|
+
import type { NodesMap } from '../../../../types/store/nodesList';
|
5
|
+
export type StorageGroupsColumn = PaginatedTableColumn<PreparedStorageGroup> & DataTableColumn<PreparedStorageGroup>;
|
6
|
+
interface GetStorageColumnsData {
|
7
|
+
nodes?: NodesMap;
|
8
|
+
}
|
9
|
+
interface GetStorageColumnsOptions {
|
10
|
+
useAdvancedStorage?: boolean;
|
11
|
+
visibleEntities?: VisibleEntities;
|
12
|
+
}
|
13
|
+
export type StorageColumnsGetter = (data?: GetStorageColumnsData, options?: GetStorageColumnsOptions) => StorageGroupsColumn[];
|
14
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/types.ts"],"names":[],"mappings":""}
|
@@ -27,7 +27,7 @@ export declare const getPreparedStorageNodesColumns: (additionalNodesProps: Addi
|
|
27
27
|
footer?: boolean;
|
28
28
|
headerData?: boolean;
|
29
29
|
}) => import("react").ReactNode);
|
30
|
-
width
|
30
|
+
width?: number;
|
31
31
|
resizeMaxWidth?: number;
|
32
32
|
resizeMinWidth?: number;
|
33
33
|
align: "center" | "left" | "right";
|
@@ -74,7 +74,7 @@ const getStorageNodesColumns = (additionalNodesProps, database) => {
|
|
74
74
|
return (_jsx("div", { className: b('pdisks-wrapper'), children: (_a = row.PDisks) === null || _a === void 0 ? void 0 : _a.map((pDisk) => {
|
75
75
|
var _a;
|
76
76
|
const vDisks = (_a = row.VDisks) === null || _a === void 0 ? void 0 : _a.filter((vdisk) => vdisk.PDiskId === pDisk.PDiskId);
|
77
|
-
return (_jsx("div", { className: b('pdisks-item'), children: _jsx(PDisk, { data: pDisk,
|
77
|
+
return (_jsx("div", { className: b('pdisks-item'), children: _jsx(PDisk, { data: pDisk, vDisks: vDisks }) }, pDisk.PDiskId));
|
78
78
|
}) }));
|
79
79
|
},
|
80
80
|
align: DataTable.CENTER,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getStorageNodesColumns.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/getStorageNodesColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAC,eAAe,EAAC,MAAM,qDAAqD,CAAC;AAEpF,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAG3E,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,uBAAuB,EAAC,MAAM,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M,0CAAE,MAAM,CAC7B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,KAAK,KAAK,CAAC,OAAO,CAC7C,CAAC;wBAEF,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,YAC5B,KAAC,KAAK,IAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,
|
1
|
+
{"version":3,"file":"getStorageNodesColumns.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/getStorageNodesColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAC,eAAe,EAAC,MAAM,qDAAqD,CAAC;AAEpF,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAG3E,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAE3B,MAAM,CAAC,MAAM,kCAAkC,GAAG,0BAA0B,CAAC;AAE7E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACrC,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACZ,CAAC;AAKX,MAAM,sBAAsB,GAAG,CAC3B,oBAAsD,EACtD,QAAiB,EACnB,EAAE;IACA,MAAM,UAAU,GAAG,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU,CAAC;IAEpD,MAAM,OAAO,GAA0B;QACnC;YACI,IAAI,EAAE,yBAAyB,CAAC,MAAM;YACtC,MAAM,EAAE,SAAS;YACjB,KAAK,EAAE,GAAG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C;IAE1E,MAAM,eAAe,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAChD,GAAG,MAAM;QACT,QAAQ,EAAE,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC;KACjD,CAAC,CAAC,CAAC;IAEJ,IAAI,eAAe,KAAK,gBAAgB,CAAC,OAAO,EAAE,CAAC;QAC/C,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,yBAAyB,CAAC,OAAO,CAAC,CAAC;IAC3F,CAAC;IAED,OAAO,eAAe,CAAC;AAC3B,CAAC,CAAC"}
|
@@ -51,16 +51,18 @@ const TABLET_PAGE_TABS = [
|
|
51
51
|
];
|
52
52
|
const tabletTabSchema = z.nativeEnum(TABLET_TABS_IDS).catch(TABLET_TABS_IDS.history);
|
53
53
|
const eTypeSchema = z.nativeEnum(EType).or(z.undefined()).catch(undefined);
|
54
|
+
const tabletQueryParams = {
|
55
|
+
nodeId: StringParam,
|
56
|
+
tenantName: StringParam,
|
57
|
+
type: StringParam,
|
58
|
+
clusterName: StringParam,
|
59
|
+
activeTab: StringParam,
|
60
|
+
};
|
54
61
|
export function Tablet() {
|
55
62
|
var _a, _b, _c;
|
56
63
|
const dispatch = useTypedDispatch();
|
57
64
|
const { id } = useParams();
|
58
|
-
const [{ nodeId: queryNodeId, tenantName: queryDatabase, type: queryTabletType, clusterName: queryClusterName, },] = useQueryParams(
|
59
|
-
nodeId: StringParam,
|
60
|
-
tenantName: StringParam,
|
61
|
-
type: StringParam,
|
62
|
-
clusterName: StringParam,
|
63
|
-
});
|
65
|
+
const [{ nodeId: queryNodeId, tenantName: queryDatabase, type: queryTabletType, clusterName: queryClusterName, },] = useQueryParams(tabletQueryParams);
|
64
66
|
const [autoRefreshInterval] = useAutoRefreshInterval();
|
65
67
|
const { currentData, isFetching, error } = tabletApi.useGetTabletQuery({ id, database: queryDatabase !== null && queryDatabase !== void 0 ? queryDatabase : undefined, nodeId: queryNodeId !== null && queryNodeId !== void 0 ? queryNodeId : undefined }, { pollingInterval: autoRefreshInterval });
|
66
68
|
const loading = isFetching && currentData === undefined;
|
@@ -99,7 +101,7 @@ function TabletContent({ id, tablet, history, }) {
|
|
99
101
|
}
|
100
102
|
function TabletTabs({ id, hiveId, history, }) {
|
101
103
|
var _a;
|
102
|
-
const [{ activeTab }, setParams] = useQueryParams(
|
104
|
+
const [{ activeTab, ...restParams }, setParams] = useQueryParams(tabletQueryParams);
|
103
105
|
const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
|
104
106
|
const noAdvancedInfo = !isUserAllowedToMakeChanges || !hasHive(hiveId);
|
105
107
|
let tabletTab = tabletTabSchema.parse(activeTab);
|
@@ -111,10 +113,10 @@ function TabletTabs({ id, hiveId, history, }) {
|
|
111
113
|
setParams({ activeTab: tabletTab }, 'replaceIn');
|
112
114
|
}
|
113
115
|
}, [activeTab, tabletTab, setParams]);
|
114
|
-
return (_jsxs(Flex, { gap: 5, direction: "column", children: [_jsx(Tabs, { size: "l", items: TABLET_PAGE_TABS.filter(({ isAdvanced }) => isAdvanced ? !noAdvancedInfo : true), activeTab: tabletTab, wrapTo: (tab, tabNode) => {
|
115
|
-
|
116
|
-
|
117
|
-
|
116
|
+
return (_jsxs(Flex, { gap: 5, direction: "column", children: [_jsx("div", { children: _jsx(Tabs, { size: "l", items: TABLET_PAGE_TABS.filter(({ isAdvanced }) => isAdvanced ? !noAdvancedInfo : true), activeTab: tabletTab, wrapTo: (tab, tabNode) => {
|
117
|
+
const path = getTabletPagePath(id, { ...restParams, activeTab: tab.id });
|
118
|
+
return (_jsx(InternalLink, { to: path, children: tabNode }, tab.id));
|
119
|
+
} }) }), tabletTab === 'history' ? _jsx(TabletTable, { history: history }) : null, tabletTab === 'channels' && !noAdvancedInfo ? (_jsx(Channels, { id: id, hiveId: hiveId })) : null] }));
|
118
120
|
}
|
119
121
|
function Channels({ id, hiveId }) {
|
120
122
|
const [autoRefreshInterval] = useAutoRefreshInterval();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Tablet.js","sourceRoot":"","sources":["../../../src/containers/Tablet/Tablet.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAC,iBAAiB,EAAC,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAC,eAAe,EAAC,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,aAAa,EAAC,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAC,uBAAuB,EAAC,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAC,iBAAiB,EAAC,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,OAAO,EAAC,MAAM,gCAAgC,CAAC;AACvD,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAC,KAAK,EAAC,MAAM,uBAAuB,CAAC;AAE5C,OAAO,EAAC,KAAK,EAAC,MAAM,wBAAwB,CAAC;AAE7C,OAAO,EAAC,EAAE,EAA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,KAAC,iBAAiB,IAAC,IAAI,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,IAClD,CACnB,CAAC;AACN,CAAC;AAED,SAAS,WAAW,CAAC,MAA0B;;IAC3C,MAAM,EAAC,WAAW,EAAE,IAAI,EAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEvF,IAAI,QAA2C,CAAC;IAEhD,IAAI,IAAI,EAAE,CAAC;QACP,uDAAuD;QACvD,MAAM,SAAS,GAAG,CAAC,CAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAG,CAAC,CAAC,CAAA,CAAC;QACtC,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;IACjD,CAAC;IAED,OAAO,QAAQ,CAAC;AACpB,CAAC"}
|
@@ -22,6 +22,6 @@ export const TabletControls = ({ tablet }) => {
|
|
22
22
|
const isDisabledRestart = tablet.State === ETabletState.Stopped;
|
23
23
|
const isDisabledResume = tablet.State !== ETabletState.Stopped && tablet.State !== ETabletState.Dead;
|
24
24
|
const isDisabledStop = tablet.State === ETabletState.Stopped || tablet.State === ETabletState.Deleted;
|
25
|
-
return (_jsxs(Flex, { gap: 2, wrap: "nowrap", children: [_jsxs(ButtonWithConfirmDialog, {
|
25
|
+
return (_jsxs(Flex, { gap: 2, wrap: "nowrap", children: [_jsxs(ButtonWithConfirmDialog, { dialogHeader: i18n('dialog.kill-header'), dialogText: i18n('dialog.kill-text'), onConfirmAction: () => killTablet({ id: TabletId }).unwrap(), buttonDisabled: isDisabledRestart || !isUserAllowedToMakeChanges, withPopover: true, buttonView: "normal", popoverContent: i18n('controls.kill-not-allowed'), popoverPlacement: 'bottom', popoverDisabled: isUserAllowedToMakeChanges, children: [_jsx(Icon, { data: ArrowRotateLeft }), i18n('controls.kill')] }), hasHiveId && (_jsxs(React.Fragment, { children: [_jsxs(ButtonWithConfirmDialog, { dialogHeader: i18n('dialog.stop-header'), dialogText: i18n('dialog.stop-text'), onConfirmAction: () => stopTablet({ id: TabletId, hiveId: HiveId }).unwrap(), buttonDisabled: isDisabledStop || !isUserAllowedToMakeChanges, withPopover: true, buttonView: "normal", popoverContent: i18n('controls.stop-not-allowed'), popoverPlacement: 'bottom', popoverDisabled: isUserAllowedToMakeChanges, children: [_jsx(Icon, { data: StopFill }), i18n('controls.stop')] }), _jsxs(ButtonWithConfirmDialog, { dialogHeader: i18n('dialog.resume-header'), dialogText: i18n('dialog.resume-text'), onConfirmAction: () => resumeTablet({ id: TabletId, hiveId: HiveId }).unwrap(), buttonDisabled: isDisabledResume || !isUserAllowedToMakeChanges, withPopover: true, buttonView: "normal", popoverContent: i18n('controls.resume-not-allowed'), popoverPlacement: 'bottom', popoverDisabled: isUserAllowedToMakeChanges, children: [_jsx(Icon, { data: TriangleRightFill }), i18n('controls.resume')] })] }))] }));
|
26
26
|
};
|
27
27
|
//# sourceMappingURL=TabletControls.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabletControls.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletControls/TabletControls.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,eAAe,EAAE,QAAQ,EAAE,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,uBAAuB,EAAC,MAAM,wEAAwE,CAAC;AAC/G,OAAO,EAAC,gCAAgC,EAAC,MAAM,0DAA0D,CAAC;AAC1G,OAAO,EAAC,SAAS,EAAC,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAE1D,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,IAAI,MAAM,YAAY,CAAC;AAC9B,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAMpC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAAC,MAAM,EAAsB,EAAE,EAAE;IAC5D,MAAM,EAAC,QAAQ,EAAE,MAAM,EAAC,GAAG,MAAM,CAAC;IAElC,MAAM,0BAA0B,GAAG,gBAAgB,CAAC,gCAAgC,CAAC,CAAC;IAEtF,MAAM,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,qBAAqB,EAAE,CAAC;IACvD,MAAM,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,qBAAqB,EAAE,CAAC;IACvD,MAAM,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,uBAAuB,EAAE,CAAC;IAE3D,IAAI,CAAC,QAAQ,EAAE,CAAC;QACZ,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAElC,MAAM,iBAAiB,GAAG,MAAM,CAAC,KAAK,KAAK,YAAY,CAAC,OAAO,CAAC;IAEhE,MAAM,gBAAgB,GAClB,MAAM,CAAC,KAAK,KAAK,YAAY,CAAC,OAAO,IAAI,MAAM,CAAC,KAAK,KAAK,YAAY,CAAC,IAAI,CAAC;IAEhF,MAAM,cAAc,GAChB,MAAM,CAAC,KAAK,KAAK,YAAY,CAAC,OAAO,IAAI,MAAM,CAAC,KAAK,KAAK,YAAY,CAAC,OAAO,CAAC;IAEnF,OAAO,CACH,MAAC,IAAI,IAAC,GAAG,EAAE,CAAC,EAAE,IAAI,EAAC,QAAQ,aACvB,MAAC,uBAAuB,IACpB,
|
1
|
+
{"version":3,"file":"TabletControls.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletControls/TabletControls.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,eAAe,EAAE,QAAQ,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AAI,CAAC,sBAAsB,CAAC,EAC1C,UAAU,EAAE,IAAI,CAAC,oBAAoB,CAAC,EACtC,eAAe,EAAE,GAAG,EAAE,CAClB,YAAY,CAAC,EAAC,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAC,CAAC,CAAC,MAAM,EAAE,EAEzD,cAAc,EAAE,gBAAgB,IAAI,CAAC,0BAA0B,EAC/D,WAAW,QACX,UAAU,EAAC,QAAQ,EACnB,cAAc,EAAE,IAAI,CAAC,6BAA6B,CAAC,EACnD,gBAAgB,EAAE,QAAQ,EAC1B,eAAe,EAAE,0BAA0B,aAE3C,KAAC,IAAI,IAAC,IAAI,EAAE,iBAAiB,GAAI,EAChC,IAAI,CAAC,iBAAiB,CAAC,IACF,IACb,CACpB,IACE,CACV,CAAC;AACN,CAAC,CAAC"}
|
@@ -8,9 +8,12 @@
|
|
8
8
|
"controls.kill-not-allowed": "You don't have enough rights to restart tablet",
|
9
9
|
"controls.stop-not-allowed": "You don't have enough rights to stop tablet",
|
10
10
|
"controls.resume-not-allowed": "You don't have enough rights to resume tablet",
|
11
|
-
"dialog.kill": "
|
12
|
-
"dialog.stop": "
|
13
|
-
"dialog.resume": "
|
11
|
+
"dialog.kill-header": "Restart tablet",
|
12
|
+
"dialog.stop-header": "Stop tablet",
|
13
|
+
"dialog.resume-header": "Resume tablet",
|
14
|
+
"dialog.kill-text": "The tablet will be restarted. Do you want to proceed?",
|
15
|
+
"dialog.stop-text": "The tablet will be stopped. Do you want to proceed?",
|
16
|
+
"dialog.resume-text": "The tablet will be resumed. Do you want to proceed?",
|
14
17
|
"emptyState": "The tablet was not found",
|
15
18
|
"label_tablet-history": "Tablets",
|
16
19
|
"label_tablet-channels": "Storage"
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "dialog.kill" | "controls.kill-not-allowed" | "tablet.header" | "tablet.meta-database" | "tablet.meta-follower" | "controls.kill" | "controls.stop" | "controls.resume" | "controls.stop-not-allowed" | "controls.resume-not-allowed" | "dialog.stop" | "dialog.resume" | "emptyState" | "label_tablet-history" | "label_tablet-channels", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "dialog.kill-header" | "dialog.kill-text" | "controls.kill-not-allowed" | "tablet.header" | "tablet.meta-database" | "tablet.meta-follower" | "controls.kill" | "controls.stop" | "controls.resume" | "controls.stop-not-allowed" | "controls.resume-not-allowed" | "dialog.stop-header" | "dialog.resume-header" | "dialog.stop-text" | "dialog.resume-text" | "emptyState" | "label_tablet-history" | "label_tablet-channels", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -124,7 +124,7 @@ function TabletActions(tablet) {
|
|
124
124
|
if (!id) {
|
125
125
|
return null;
|
126
126
|
}
|
127
|
-
return (_jsx(ButtonWithConfirmDialog, { buttonView: "outlined",
|
127
|
+
return (_jsx(ButtonWithConfirmDialog, { buttonView: "outlined", dialogHeader: i18n('dialog.kill-header'), dialogText: i18n('dialog.kill-text'), onConfirmAction: () => {
|
128
128
|
return killTablet({ id }).unwrap();
|
129
129
|
}, buttonDisabled: isDisabledRestart || !isUserAllowedToMakeChanges, withPopover: true, popoverContent: i18n('controls.kill-not-allowed'), popoverDisabled: isUserAllowedToMakeChanges, children: _jsx(Icon, { data: ArrowsRotateRight }) }));
|
130
130
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Tablets.js","sourceRoot":"","sources":["../../../src/containers/Tablets/Tablets.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,qBAAqB,EAAC,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAC,YAAY,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"Generation",
|
9
9
|
"Uptime": "Uptime",
|
10
|
-
"dialog.kill": "
|
10
|
+
"dialog.kill-header": "Restart tablet",
|
11
|
+
"dialog.kill-text": "The tablet will be restarted. Do you want to proceed?",
|
11
12
|
"controls.kill-not-allowed": "You don't have enough rights to restart tablet"
|
12
13
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "Tablet" | "Uptime" | "Type" | "State" | "Generation" | "Node ID" | "Node FQDN" | "noTabletsData" | "dialog.kill" | "controls.kill-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "Tablet" | "Uptime" | "Type" | "State" | "Generation" | "Node ID" | "Node FQDN" | "noTabletsData" | "dialog.kill-header" | "dialog.kill-text" | "controls.kill-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
|
3
3
|
import { topStorageGroupsApi } from '../../../../../store/reducers/tenantOverview/topStorageGroups/topStorageGroups';
|
4
4
|
import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
|
5
|
-
import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, getStorageTopGroupsColumns, } from '../../../../Storage/StorageGroups/getStorageGroupsColumns';
|
5
|
+
import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, getStorageTopGroupsColumns, } from '../../../../Storage/StorageGroups/columns/getStorageGroupsColumns';
|
6
6
|
import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
|
7
7
|
import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
|
8
8
|
import { getSectionTitle } from '../getSectionTitle';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TopGroups.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAC3F,OAAO,EAAC,mBAAmB,EAAC,MAAM,gFAAgF,CAAC;AACnH,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EACH,mCAAmC,EACnC,0BAA0B,GAC7B,MAAM,
|
1
|
+
{"version":3,"file":"TopGroups.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAC3F,OAAO,EAAC,mBAAmB,EAAC,MAAM,gFAAgF,CAAC;AACnH,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EACH,mCAAmC,EACnC,0BAA0B,GAC7B,MAAM,mEAAmE,CAAC;AAC3E,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;AAM3B,MAAM,UAAU,SAAS,CAAC,EAAC,MAAM,EAAiB;IAC9C,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IAEvD,MAAM,OAAO,GAAG,0BAA0B,EAAE,CAAC;IAE7C,MAAM,EAAC,WAAW,EAAE,UAAU,EAAE,KAAK,EAAC,GAAG,mBAAmB,CAAC,2BAA2B,CACpF,EAAC,MAAM,EAAC,EACR,EAAC,eAAe,EAAE,mBAAmB,EAAC,CACzC,CAAC;IACF,MAAM,OAAO,GAAG,UAAU,IAAI,WAAW,KAAK,SAAS,CAAC;IACxD,MAAM,SAAS,GAAG,WAAW,CAAC;IAE9B,MAAM,KAAK,GAAG,eAAe,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC;QACzB,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,OAAO;SACzE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,mCAAmC,EACtD,IAAI,EAAE,SAAS,IAAI,EAAE,EACrB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,GACd,CACL,CAAC;AACN,CAAC"}
|
@@ -75,7 +75,7 @@ export const TopShards = ({ tenantName, path, type }) => {
|
|
75
75
|
return defaultValue;
|
76
76
|
});
|
77
77
|
const [sortOrder, setSortOrder] = React.useState(TOP_SHARD_COLUMNS_IDS.CPUCores);
|
78
|
-
const {
|
78
|
+
const { currentData: result, isFetching, error, } = shardApi.useSendShardQueryQuery({
|
79
79
|
database: tenantName,
|
80
80
|
path: path,
|
81
81
|
sortOrder: stringToQuerySortOrder(sortOrder),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TopShards.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TopShards/TopShards.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,uBAAuB,EAAC,MAAM,wEAAwE,CAAC;AAC/G,OAAO,EAC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AO,YAC1C,aAAa,EAAE,GACY,IACV,CAC7B,CAAC;AACN,CAAC,CAAC"}
|
@@ -18,6 +18,7 @@ import { cn } from '../../../../utils/cn';
|
|
18
18
|
import { getStringifiedData } from '../../../../utils/dataFormatters/dataFormatters';
|
19
19
|
import { useTypedDispatch } from '../../../../utils/hooks';
|
20
20
|
import { parseQueryError } from '../../../../utils/query';
|
21
|
+
import { ClusterModeGuard } from '../../../ClusterModeGuard';
|
21
22
|
import { PaneVisibilityToggleButtons } from '../../utils/paneVisibilityToggleHelpers';
|
22
23
|
import { SimplifiedPlan } from '../ExplainResult/components/SimplifiedPlan/SimplifiedPlan';
|
23
24
|
import { ResultIssues } from '../Issues/Issues';
|
@@ -25,6 +26,7 @@ import { QueryDuration } from '../QueryDuration/QueryDuration';
|
|
25
26
|
import { QuerySettingsBanner } from '../QuerySettingsBanner/QuerySettingsBanner';
|
26
27
|
import { getPreparedResult } from '../utils/getPreparedResult';
|
27
28
|
import { isQueryCancelledError } from '../utils/isQueryCancelledError';
|
29
|
+
import { TraceButton } from './TraceButton';
|
28
30
|
import i18n from './i18n';
|
29
31
|
import { getPlan } from './utils';
|
30
32
|
import './ExecuteResult.scss';
|
@@ -145,6 +147,6 @@ export function ExecuteResult({ data, error, cancelError, isResultsCollapsed, on
|
|
145
147
|
}
|
146
148
|
return null;
|
147
149
|
};
|
148
|
-
return (_jsxs(React.Fragment, { children: [_jsxs("div", { className: b('controls'), children: [_jsxs("div", { className: b('controls-right'), children: [_jsx(QueryExecutionStatus, { error: error, loading: loading }), !error && !loading && (_jsxs(React.Fragment, { children: [(stats === null || stats === void 0 ? void 0 : stats.DurationUs) !== undefined && (_jsx(QueryDuration, { duration: Number(stats.DurationUs) })), resultOptions && activeSection && (_jsxs(React.Fragment, { children: [_jsx(Divider, {}), _jsx(RadioButton, { options: resultOptions, value: activeSection, onUpdate: onSelectSection })] }))] })), loading ? (_jsxs(React.Fragment, { children: [_jsx(ElapsedTime, { className: b('elapsed-time') }), _jsxs(Button, { loading: cancelQueryLoading, onClick: onStopButtonClick, className: b('stop-button', { error: Boolean(cancelError) }), children: [_jsx(Icon, { data: StopFill, size: 16 }), i18n('action.stop')] })] })) : null] }), _jsxs("div", { className: b('controls-left'), children: [renderClipboardButton(), _jsx(EnableFullscreenButton, {}), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseResults, onExpand: onExpandResults, isCollapsed: isResultsCollapsed, initialDirection: "bottom" })] })] }), loading || isQueryCancelledError(error) ? null : _jsx(QuerySettingsBanner, {}), _jsx(LoaderWrapper, { loading: loading, children: _jsx(Fullscreen, { children: renderResultSection() }) })] }));
|
150
|
+
return (_jsxs(React.Fragment, { children: [_jsxs("div", { className: b('controls'), children: [_jsxs("div", { className: b('controls-right'), children: [_jsx(QueryExecutionStatus, { error: error, loading: loading }), !error && !loading && (_jsxs(React.Fragment, { children: [(stats === null || stats === void 0 ? void 0 : stats.DurationUs) !== undefined && (_jsx(QueryDuration, { duration: Number(stats.DurationUs) })), resultOptions && activeSection && (_jsxs(React.Fragment, { children: [_jsx(Divider, {}), _jsx(RadioButton, { options: resultOptions, value: activeSection, onUpdate: onSelectSection })] }))] })), loading ? (_jsxs(React.Fragment, { children: [_jsx(ElapsedTime, { className: b('elapsed-time') }), _jsxs(Button, { loading: cancelQueryLoading, onClick: onStopButtonClick, className: b('stop-button', { error: Boolean(cancelError) }), children: [_jsx(Icon, { data: StopFill, size: 16 }), i18n('action.stop')] })] })) : null, _jsx(ClusterModeGuard, { mode: "multi", children: _jsx(TraceButton, { traceId: data === null || data === void 0 ? void 0 : data.traceId }) })] }), _jsxs("div", { className: b('controls-left'), children: [renderClipboardButton(), _jsx(EnableFullscreenButton, {}), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseResults, onExpand: onExpandResults, isCollapsed: isResultsCollapsed, initialDirection: "bottom" })] })] }), loading || isQueryCancelledError(error) ? null : _jsx(QuerySettingsBanner, {}), _jsx(LoaderWrapper, { loading: loading, children: _jsx(Fullscreen, { children: renderResultSection() }) })] }));
|
149
151
|
}
|
150
152
|
//# sourceMappingURL=ExecuteResult.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ExecuteResult.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/ExecuteResult/ExecuteResult.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAClE,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAE5C,OAAO,EAAC,eAAe,EAAC,MAAM,wCAAwC,CAAC;AACvE,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,WAAW,MAAM,gDAAgD,CAAC;AACzE,OAAO,sBAAsB,MAAM,sEAAsE,CAAC;AAC1G,OAAO,UAAU,MAAM,8CAA8C,CAAC;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,aAAa,EAAC,MAAM,oDAAoD,CAAC;AACjF,OAAO,EAAC,oBAAoB,EAAC,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAC,gBAAgB,EAAC,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AAIxE,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,kBAAkB,EAAC,MAAM,iDAAiD,CAAC;AACnF,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAC,2BAA2B,EAAC,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAC,cAAc,E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