ydb-embedded-ui 7.2.0 → 8.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Graph/Graph.d.ts +1 -2
- package/dist/components/Graph/Graph.js +1 -1
- package/dist/components/Graph/Graph.js.map +1 -1
- package/dist/containers/Cluster/Cluster.js +2 -2
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +24 -8
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +7 -26
- package/dist/containers/Cluster/ClusterInfo/utils.d.ts +2 -4
- package/dist/containers/Cluster/ClusterInfo/utils.js +2 -19
- package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
- package/dist/containers/Cluster/i18n/en.json +3 -1
- package/dist/containers/Cluster/i18n/index.d.ts +1 -1
- package/dist/containers/Node/Node.d.ts +0 -1
- package/dist/containers/Node/Node.js +5 -3
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Operations/Operations.js +2 -1
- package/dist/containers/Operations/Operations.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +5 -2
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/ReduxTooltip/ReduxTooltip.scss +0 -30
- package/dist/containers/Storage/PaginatedStorage.d.ts +1 -1
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +0 -2
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +2 -5
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +2 -2
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +1 -0
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js +5 -2
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/types.d.ts +1 -1
- package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.d.ts +0 -5
- package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.js +1 -1
- package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.js.map +1 -1
- package/dist/containers/Storage/utils/index.d.ts +3 -6
- package/dist/containers/Storage/utils/index.js +7 -34
- package/dist/containers/Storage/utils/index.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.js +4 -2
- package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
- package/dist/containers/Tablet/Tablet.d.ts +0 -1
- package/dist/containers/Tablet/Tablet.js +1 -1
- package/dist/containers/Tablet/Tablet.js.map +1 -1
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +0 -163
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +10 -10
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +0 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/utils.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/TopShards/utils.d.ts +1 -1
- package/dist/containers/Tenant/Query/Issues/models.d.ts +2 -2
- package/dist/containers/Tenant/Query/Issues/models.js +2 -2
- package/dist/containers/Tenant/Query/Issues/models.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/helpers.d.ts +0 -1
- package/dist/containers/Tenant/Query/QueryEditor/helpers.js +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/helpers.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryResult/components/PlanToSvgButton/PlanToSvgButton.js +49 -8
- package/dist/containers/Tenant/Query/QueryResult/components/PlanToSvgButton/PlanToSvgButton.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryResult/i18n/en.json +2 -1
- package/dist/containers/Tenant/Query/QueryResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +0 -104
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +4 -4
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.d.ts +0 -12
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.d.ts +1 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
- package/dist/containers/Tenant/utils/schema.d.ts +0 -1
- package/dist/containers/Tenant/utils/schema.js +0 -18
- package/dist/containers/Tenant/utils/schema.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +1 -3
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +0 -1
- package/dist/containers/UserSettings/settings.js +2 -7
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.js +7 -2
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +0 -1
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js +1 -1
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
- package/dist/lib.d.ts +2 -2
- package/dist/lib.js +1 -1
- package/dist/lib.js.map +1 -1
- package/dist/routes.d.ts +2 -2
- package/dist/services/settings.d.ts +0 -1
- package/dist/services/settings.js +1 -2
- package/dist/services/settings.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.d.ts +0 -164
- package/dist/store/reducers/cluster/cluster.js +1 -1
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/cluster/types.d.ts +2 -6
- package/dist/store/reducers/executeTopQueries/types.d.ts +0 -3
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +0 -195
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js +1 -1
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js.map +1 -1
- package/dist/store/reducers/nodes/types.d.ts +1 -6
- package/dist/store/reducers/query/types.d.ts +2 -1
- package/dist/store/reducers/schema/schema.d.ts +0 -6
- package/dist/store/reducers/schema/schema.js +1 -1
- package/dist/store/reducers/schema/schema.js.map +1 -1
- package/dist/store/reducers/shardsWorkload/types.d.ts +0 -3
- package/dist/store/reducers/storage/types.d.ts +1 -6
- package/dist/store/reducers/storage/types.js.map +1 -1
- package/dist/store/reducers/storage/utils.d.ts +2 -5
- package/dist/store/reducers/storage/utils.js +3 -3
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/store/reducers/tableSchemaData.d.ts +2 -1
- package/dist/store/reducers/tablets.d.ts +0 -131
- package/dist/store/reducers/tablets.js +1 -1
- package/dist/store/reducers/tablets.js.map +1 -1
- package/dist/store/reducers/tenants/utils.d.ts +0 -11
- package/dist/store/reducers/tenants/utils.js +1 -14
- package/dist/store/reducers/tenants/utils.js.map +1 -1
- package/dist/store/reducers/tooltip.d.ts +1 -1
- package/dist/store/reducers/tooltip.js +1 -1
- package/dist/store/reducers/vdisk/types.d.ts +0 -2
- package/dist/types/additionalProps.d.ts +2 -2
- package/dist/types/api/error.d.ts +1 -1
- package/dist/types/components.d.ts +5 -0
- package/dist/types/components.js +2 -0
- package/dist/types/components.js.map +1 -0
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/store/tablet.d.ts +1 -8
- package/dist/types/store/tablets.d.ts +0 -8
- package/dist/types/store/tooltip.d.ts +2 -4
- package/dist/utils/constants.d.ts +0 -38
- package/dist/utils/constants.js +1 -28
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/dataFormatters/__test__/formatUptime.test.js +39 -4
- package/dist/utils/dataFormatters/__test__/formatUptime.test.js.map +1 -1
- package/dist/utils/dataFormatters/dataFormatters.d.ts +6 -3
- package/dist/utils/dataFormatters/dataFormatters.js +34 -16
- package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
- package/dist/utils/dataFormatters/i18n/en.json +3 -1
- package/dist/utils/dataFormatters/i18n/index.d.ts +1 -1
- package/dist/utils/dataFormatters/i18n/index.js +1 -2
- package/dist/utils/dataFormatters/i18n/index.js.map +1 -1
- package/dist/utils/errors/i18n/en.json +3 -0
- package/dist/utils/errors/i18n/index.d.ts +2 -0
- package/dist/utils/errors/i18n/index.js +5 -0
- package/dist/utils/errors/i18n/index.js.map +1 -0
- package/dist/utils/errors/index.d.ts +6 -0
- package/dist/utils/errors/index.js +33 -0
- package/dist/utils/errors/index.js.map +1 -0
- package/dist/utils/hooks/useTableSort.d.ts +1 -1
- package/dist/utils/monitoring.d.ts +3 -2
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/tablet.d.ts +0 -2
- package/dist/utils/tablet.js +0 -10
- package/dist/utils/tablet.js.map +1 -1
- package/dist/utils/tooltip.d.ts +0 -4
- package/dist/utils/tooltip.js +1 -23
- package/dist/utils/tooltip.js.map +1 -1
- package/dist/utils/utils.d.ts +0 -1
- package/dist/utils/utils.js +0 -10
- package/dist/utils/utils.js.map +1 -1
- package/package.json +2 -2
- package/dist/components/GroupInfo/GroupInfo.d.ts +0 -7
- package/dist/components/GroupInfo/GroupInfo.js +0 -27
- package/dist/components/GroupInfo/GroupInfo.js.map +0 -1
- package/dist/components/GroupInfo/i18n/en.json +0 -6
- package/dist/components/GroupInfo/i18n/index.d.ts +0 -1
- package/dist/components/GroupInfo/i18n/index.js +0 -5
- package/dist/components/GroupInfo/i18n/index.js.map +0 -1
- package/dist/components/QuerySettingsDescription/index.d.ts +0 -1
- package/dist/components/QuerySettingsDescription/index.js +0 -2
- package/dist/components/QuerySettingsDescription/index.js.map +0 -1
- package/dist/components/Tablet/Tablet.d.ts +0 -8
- package/dist/components/Tablet/Tablet.js +0 -18
- package/dist/components/Tablet/Tablet.js.map +0 -1
- package/dist/components/Tablet/Tablet.scss +0 -40
- package/dist/components/Tablet/index.d.ts +0 -1
- package/dist/components/Tablet/index.js +0 -2
- package/dist/components/Tablet/index.js.map +0 -1
- package/dist/components/TabletsOverall/TabletsOverall.d.ts +0 -8
- package/dist/components/TabletsOverall/TabletsOverall.js +0 -69
- package/dist/components/TabletsOverall/TabletsOverall.js.map +0 -1
- package/dist/components/TabletsOverall/TabletsOverall.scss +0 -18
- package/dist/containers/ClusterModeGuard/index.d.ts +0 -1
- package/dist/containers/ClusterModeGuard/index.js +0 -2
- package/dist/containers/ClusterModeGuard/index.js.map +0 -1
- package/dist/containers/Nodes/columns/hooks.d.ts +0 -6
- package/dist/containers/Nodes/columns/hooks.js +0 -12
- package/dist/containers/Nodes/columns/hooks.js.map +0 -1
- package/dist/containers/Nodes/index.d.ts +0 -1
- package/dist/containers/Nodes/index.js +0 -2
- package/dist/containers/Nodes/index.js.map +0 -1
- package/dist/containers/PDiskPage/shared.d.ts +0 -1
- package/dist/containers/PDiskPage/shared.js +0 -3
- package/dist/containers/PDiskPage/shared.js.map +0 -1
- package/dist/containers/Storage/Storage.d.ts +0 -17
- package/dist/containers/Storage/Storage.js +0 -101
- package/dist/containers/Storage/Storage.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/StorageGroupsTable.d.ts +0 -14
- package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js +0 -14
- package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js.map +0 -1
- package/dist/containers/Storage/StorageNodes/StorageNodesTable.d.ts +0 -16
- package/dist/containers/Storage/StorageNodes/StorageNodesTable.js +0 -22
- package/dist/containers/Storage/StorageNodes/StorageNodesTable.js.map +0 -1
- package/dist/containers/Storage/StorageNodes/shared.d.ts +0 -3
- package/dist/containers/Storage/StorageNodes/shared.js +0 -5
- package/dist/containers/Storage/StorageNodes/shared.js.map +0 -1
- package/dist/containers/Storage/StorageWrapper.d.ts +0 -10
- package/dist/containers/Storage/StorageWrapper.js +0 -20
- package/dist/containers/Storage/StorageWrapper.js.map +0 -1
- package/dist/store/reducers/nodes/selectors.d.ts +0 -4
- package/dist/store/reducers/nodes/selectors.js +0 -13
- package/dist/store/reducers/nodes/selectors.js.map +0 -1
- package/dist/store/reducers/schema/types.d.ts +0 -10
- package/dist/store/reducers/schema/types.js +0 -2
- package/dist/store/reducers/schema/types.js.map +0 -1
- package/dist/store/reducers/storage/selectors.d.ts +0 -4
- package/dist/store/reducers/storage/selectors.js +0 -37
- package/dist/store/reducers/storage/selectors.js.map +0 -1
- package/dist/utils/dataFormatters/i18n/ru.json +0 -3
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PaginatedStorageNodesTable.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/PaginatedStorageNodesTable.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,wBAAwB,EAAC,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAG3E,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;
|
1
|
+
{"version":3,"file":"PaginatedStorageNodesTable.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/PaginatedStorageNodesTable.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,wBAAwB,EAAC,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAC,gBA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nD,CAAC;YACC,OAAO,CACH,KAAC,4BAA4B,IACzB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,GAClC,CACL,CAAC;QACN,CAAC;QAED,OAAO,IAAI,CAAC,eAAe,CAAC,CAAC;IACjC,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,wBAAwB,IACrB,iBAAiB,EAAE,kCAAkC,EACrD,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,eAAe,EAC1B,SAAS,EAAE,EAAE,EACb,KAAK,EAAE,EAAE,EACT,oBAAoB,EAAE,oBAAoB,EAC1C,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,sBAAsB,EAAE,sBAAsB,EAC9C,eAAe,EAAE,0BAA0B,EAC3C,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,eAAe,GAC3B,CACL,CAAC;AACN,CAAC,CAAC"}
|
package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.d.ts
CHANGED
@@ -1,9 +1,4 @@
|
|
1
1
|
import type { VisibleEntities } from '../../../store/reducers/storage/types';
|
2
|
-
export declare const VisibleEntitiesTitles: {
|
3
|
-
all: string;
|
4
|
-
missing: string;
|
5
|
-
space: string;
|
6
|
-
};
|
7
2
|
interface StorageProblemFilterProps {
|
8
3
|
value: VisibleEntities;
|
9
4
|
onChange: (value: VisibleEntities) => void;
|
package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import { RadioButton } from '@gravity-ui/uikit';
|
3
3
|
import { VISIBLE_ENTITIES } from '../../../store/reducers/storage/constants';
|
4
|
-
|
4
|
+
const VisibleEntitiesTitles = {
|
5
5
|
[VISIBLE_ENTITIES.all]: 'All',
|
6
6
|
[VISIBLE_ENTITIES.missing]: 'Degraded',
|
7
7
|
[VISIBLE_ENTITIES.space]: 'Out of Space',
|
package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StorageVisibleEntitiesFilter.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAG3E,MAAM,
|
1
|
+
{"version":3,"file":"StorageVisibleEntitiesFilter.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAC,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAG3E,MAAM,qBAAqB,GAAG;IAC1B,CAAC,gBAAgB,CAAC,GAAG,CAAC,EAAE,KAAK;IAC7B,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAAE,UAAU;IACtC,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,cAAc;CAC3C,CAAC;AAOF,MAAM,8BAA8B,GAAG,iCAAiC,CAAC;AAEzE,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,EAAC,KAAK,EAAE,QAAQ,EAA4B,EAAE,EAAE;IACzF,OAAO,CACH,MAAC,WAAW,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,8BAA8B,aAC7E,KAAC,WAAW,CAAC,MAAM,IAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,YAC9C,qBAAqB,CAAC,gBAAgB,CAAC,OAAO,CAAC,GAC/B,EACrB,KAAC,WAAW,CAAC,MAAM,IAAC,KAAK,EAAE,gBAAgB,CAAC,KAAK,YAC5C,qBAAqB,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAC7B,EACrB,KAAC,WAAW,CAAC,MAAM,IAAC,KAAK,EAAE,gBAAgB,CAAC,GAAG,YAC1C,qBAAqB,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAC3B,IACX,CACjB,CAAC;AACN,CAAC,CAAC"}
|
@@ -1,10 +1,7 @@
|
|
1
|
-
import type {
|
2
|
-
import type { PreparedStorageGroup, StorageSortParams, VisibleEntities } from '../../../store/reducers/storage/types';
|
1
|
+
import type { PreparedStorageGroup } from '../../../store/reducers/storage/types';
|
3
2
|
import type { PreparedVDisk } from '../../../utils/disks/types';
|
4
3
|
import type { StorageViewContext } from '../types';
|
5
4
|
export declare const getDegradedSeverity: (group: PreparedStorageGroup) => "warning" | "danger" | "success" | undefined;
|
6
|
-
export declare const defaultSortNode: NodesSortParams;
|
7
|
-
export declare function getDefaultSortGroup(visibleEntities: VisibleEntities): StorageSortParams;
|
8
5
|
export declare function isVdiskActive(vDisk: PreparedVDisk, viewContext?: StorageViewContext): boolean;
|
9
|
-
export declare function getStorageNodesInitialEntitiesCount(
|
10
|
-
export declare function getStorageGroupsInitialEntitiesCount(
|
6
|
+
export declare function getStorageNodesInitialEntitiesCount(context?: StorageViewContext): number | undefined;
|
7
|
+
export declare function getStorageGroupsInitialEntitiesCount(context?: StorageViewContext): number | undefined;
|
@@ -1,9 +1,5 @@
|
|
1
|
-
import { ASCENDING, DESCENDING } from '@gravity-ui/react-data-table/build/esm/lib/constants';
|
2
|
-
import { NODES_COLUMNS_IDS } from '../../../components/nodesColumns/constants';
|
3
|
-
import { VISIBLE_ENTITIES } from '../../../store/reducers/storage/constants';
|
4
1
|
import { valueIsDefined } from '../../../utils';
|
5
2
|
import { generateEvaluator } from '../../../utils/generateEvaluator';
|
6
|
-
import { STORAGE_GROUPS_COLUMNS_IDS } from '../StorageGroups/columns/constants';
|
7
3
|
const defaultDegradationEvaluator = generateEvaluator(1, 2, ['success', 'warning', 'danger']);
|
8
4
|
const degradationEvaluators = {
|
9
5
|
'block-4-2': generateEvaluator(1, 2, ['success', 'warning', 'danger']),
|
@@ -16,31 +12,6 @@ export const getDegradedSeverity = (group) => {
|
|
16
12
|
: defaultDegradationEvaluator;
|
17
13
|
return evaluate(group.Degraded);
|
18
14
|
};
|
19
|
-
export const defaultSortNode = {
|
20
|
-
sortValue: NODES_COLUMNS_IDS.NodeId,
|
21
|
-
sortOrder: ASCENDING,
|
22
|
-
};
|
23
|
-
const defaultSortGroup = {
|
24
|
-
sortValue: STORAGE_GROUPS_COLUMNS_IDS.PoolName,
|
25
|
-
sortOrder: ASCENDING,
|
26
|
-
};
|
27
|
-
const defaultSortGroupMissing = {
|
28
|
-
sortValue: STORAGE_GROUPS_COLUMNS_IDS.Degraded,
|
29
|
-
sortOrder: DESCENDING,
|
30
|
-
};
|
31
|
-
const defaultSortGroupSpace = {
|
32
|
-
sortValue: STORAGE_GROUPS_COLUMNS_IDS.Usage,
|
33
|
-
sortOrder: DESCENDING,
|
34
|
-
};
|
35
|
-
export function getDefaultSortGroup(visibleEntities) {
|
36
|
-
if (visibleEntities === VISIBLE_ENTITIES.missing) {
|
37
|
-
return defaultSortGroupMissing;
|
38
|
-
}
|
39
|
-
if (visibleEntities === VISIBLE_ENTITIES.space) {
|
40
|
-
return defaultSortGroupSpace;
|
41
|
-
}
|
42
|
-
return defaultSortGroup;
|
43
|
-
}
|
44
15
|
export function isVdiskActive(vDisk, viewContext) {
|
45
16
|
var _a;
|
46
17
|
let isActive = true;
|
@@ -63,8 +34,10 @@ const DEFAULT_ENTITIES_COUNT = 10;
|
|
63
34
|
// GroupPage - DEFAULT_ENTITIES_COUNT nodes
|
64
35
|
// PDiskPage - 1 node
|
65
36
|
// VDiskPage - 1 node
|
66
|
-
export function getStorageNodesInitialEntitiesCount(
|
67
|
-
if (valueIsDefined(
|
37
|
+
export function getStorageNodesInitialEntitiesCount(context) {
|
38
|
+
if (valueIsDefined(context === null || context === void 0 ? void 0 : context.nodeId) ||
|
39
|
+
valueIsDefined(context === null || context === void 0 ? void 0 : context.pDiskId) ||
|
40
|
+
valueIsDefined(context === null || context === void 0 ? void 0 : context.vDiskSlotId)) {
|
68
41
|
return 1;
|
69
42
|
}
|
70
43
|
return DEFAULT_ENTITIES_COUNT;
|
@@ -73,11 +46,11 @@ export function getStorageNodesInitialEntitiesCount({ nodeId, pDiskId, vDiskSlot
|
|
73
46
|
// GroupPage - 1 group
|
74
47
|
// PDiskPage - DEFAULT_ENTITIES_COUNT groups
|
75
48
|
// VDiskPage - 1 group
|
76
|
-
export function getStorageGroupsInitialEntitiesCount(
|
77
|
-
if (valueIsDefined(groupId)) {
|
49
|
+
export function getStorageGroupsInitialEntitiesCount(context) {
|
50
|
+
if (valueIsDefined(context === null || context === void 0 ? void 0 : context.groupId)) {
|
78
51
|
return 1;
|
79
52
|
}
|
80
|
-
if (valueIsDefined(vDiskSlotId)) {
|
53
|
+
if (valueIsDefined(context === null || context === void 0 ? void 0 : context.vDiskSlotId)) {
|
81
54
|
return 1;
|
82
55
|
}
|
83
56
|
return DEFAULT_ENTITIES_COUNT;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/Storage/utils/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/Storage/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAC,iBAAiB,EAAC,MAAM,kCAAkC,CAAC;AAGnE,MAAM,2BAA2B,GAAG,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC;AAE9F,MAAM,qBAAqB,GAAG;IAC1B,WAAW,EAAE,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,C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{ EFlag } from '../../types/api/enums';
|
|
15
15
|
import { valueIsDefined } from '../../utils';
|
16
16
|
import { cn } from '../../utils/cn';
|
17
17
|
import { useAutoRefreshInterval, useTypedDispatch } from '../../utils/hooks';
|
18
|
-
import {
|
18
|
+
import { PaginatedStorage } from '../Storage/PaginatedStorage';
|
19
19
|
import { storageGroupPageKeyset } from './i18n';
|
20
20
|
import './StorageGroupPage.scss';
|
21
21
|
const storageGroupPageCn = cn('ydb-storage-group-page');
|
@@ -64,7 +64,9 @@ export function StorageGroupPage() {
|
|
64
64
|
if (!groupId) {
|
65
65
|
return null;
|
66
66
|
}
|
67
|
-
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: storageGroupPageCn('storage-title'), children: storageGroupPageKeyset('storage') }), _jsx(
|
67
|
+
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: storageGroupPageCn('storage-title'), children: storageGroupPageKeyset('storage') }), _jsx(PaginatedStorage, { groupId: groupId, parentRef: containerRef, viewContext: {
|
68
|
+
groupId: groupId === null || groupId === void 0 ? void 0 : groupId.toString(),
|
69
|
+
} })] }));
|
68
70
|
};
|
69
71
|
const renderError = () => {
|
70
72
|
if (!groupQuery.error) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StorageGroupPage.js","sourceRoot":"","sources":["../../../src/containers/StorageGroupPage/StorageGroupPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,eAAe,EAAC,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC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{ TabletTable } from './components/TabletTable';
|
|
27
27
|
import i18n from './i18n';
|
28
28
|
import { hasHive } from './utils';
|
29
29
|
import './Tablet.scss';
|
30
|
-
|
30
|
+
const b = cn('ydb-tablet-page');
|
31
31
|
const TABLET_TABS_IDS = {
|
32
32
|
history: 'history',
|
33
33
|
channels: 'channels',
|
@@ -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,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,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,EAAE,qBAAqB,EAAC,MAAM,cAAc,CAAC;AACtE,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAC,KAAK,EAAC,MAAM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,IAAI,EAClE,SAAS,KAAK,UAAU,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAC3C,KAAC,QAAQ,IAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,GAAI,CACvC,CAAC,CAAC,CAAC,IAAI,IACL,CACV,CAAC;AACN,CAAC;AAED,SAAS,QAAQ,CAAC,EAAC,EAAE,EAAE,MAAM,EAA+B;IACxD,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IACvD,MAAM,EAAC,WAAW,EAAE,KAAK,EAAE,UAAU,EAAC,GAAG,SAAS,CAAC,4BAA4B,CAC3E,EAAC,EAAE,EAAE,MAAM,EAAC,EACZ;QACI,eAAe,EAAE,mBAAmB;KACvC,CACJ,CAAC;IAEF,MAAM,OAAO,GAAG,UAAU,IAAI,WAAW,KAAK,SAAS,CAAC;IAExD,OAAO,CACH,MAAC,aAAa,IAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,GAAG,aACpC,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9C,WAAW,CAAC,CAAC,CAAC,KAAC,iBAAiB,IAAC,IAAI,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,IAClD,CACnB,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
export declare const tabletInfoKeyset: (key: "field_links" | "field_scheme-shard" | "field_follower" | "field_generation" | "field_hive" | "field_state" | "field_uptime" | "field_node" | "field_developer-ui-app" | "field_developer-ui-counters" | "field_developer-ui-executor" | "field_developer-ui-state"
|
1
|
+
export declare const tabletInfoKeyset: (key: "field_links" | "title_info" | "title_links" | "field_scheme-shard" | "field_follower" | "field_generation" | "field_hive" | "field_state" | "field_uptime" | "field_node" | "field_developer-ui-app" | "field_developer-ui-counters" | "field_developer-ui-executor" | "field_developer-ui-state", params?: import("@gravity-ui/i18n").Params) => string;
|
@@ -13,7 +13,7 @@ import { useTypedDispatch, useTypedSelector } from '../../../utils/hooks';
|
|
13
13
|
import { Heatmap } from '../../Heatmap';
|
14
14
|
import { Nodes } from '../../Nodes/Nodes';
|
15
15
|
import { Operations } from '../../Operations';
|
16
|
-
import {
|
16
|
+
import { PaginatedStorage } from '../../Storage/PaginatedStorage';
|
17
17
|
import { Tablets } from '../../Tablets';
|
18
18
|
import { SchemaViewer } from '../Schema/SchemaViewer/SchemaViewer';
|
19
19
|
import { TenantTabsGroups, getTenantPath } from '../TenantPages';
|
@@ -75,7 +75,7 @@ function Diagnostics(props) {
|
|
75
75
|
return _jsx(Tablets, { path: path, database: tenantName });
|
76
76
|
}
|
77
77
|
case TENANT_DIAGNOSTICS_TABS_IDS.storage: {
|
78
|
-
return _jsx(
|
78
|
+
return _jsx(PaginatedStorage, { database: tenantName, parentRef: containerRef });
|
79
79
|
}
|
80
80
|
case TENANT_DIAGNOSTICS_TABS_IDS.network: {
|
81
81
|
return (_jsx(NetworkWrapper, { path: path, database: tenantName, additionalNodesProps: props.additionalNodesProps, parentRef: containerRef }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Diagnostics.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/Diagnostics.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,kBAAkB,EAAC,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAC,wBAAwB,EAAC,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAC,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CAAC;IACL,CAAC,CAAC;IACF,MAAM,UAAU,GAAG,GAAG,EAAE;QACpB,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,gBAAgB,CAAC,YAC/B,eAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,KAAC,IAAI,IACD,IAAI,EAAC,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,EAAE,EACxB,MAAM,EAAE,CAAC,EAAC,EAAE,EAAC,EAAE,IAAI,EAAE,EAAE;4BACnB,MAAM,IAAI,GAAG,aAAa,CAAC;gCACvB,GAAG,WAAW;gCACd,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,EAAE;6BACxC,CAAC,CAAC;4BAEH,OAAO,CACH,KAAC,IAAI,IAAC,EAAE,EAAE,IAAI,EAAW,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,YACvC,IAAI,IADY,EAAE,CAEhB,CACV,CAAC;wBACN,CAAC,EACD,gBAAgB,EAAE,IAAI,GACxB,EACF,KAAC,kBAAkB,KAAG,IACpB,GACJ,CACT,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACd,SAAS,CAAC,CAAC,CAAC,CACT,KAAC,MAAM,cACH,0BAAQ,SAAS,CAAC,KAAK,GAAS,GAC3B,CACZ,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,EAAE,EACb,cAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,YAAY,YAC/C,gBAAgB,EAAE,GACjB,IACJ,CACT,CAAC;AACN,CAAC;AAED,eAAe,WAAW,CAAC"}
|
@@ -4,169 +4,6 @@ type Page = {
|
|
4
4
|
id: TenantDiagnosticsTab;
|
5
5
|
title: string;
|
6
6
|
};
|
7
|
-
export declare const ASYNC_REPLICATION_PAGES: ({
|
8
|
-
id: "overview";
|
9
|
-
title: string;
|
10
|
-
} | {
|
11
|
-
id: "tablets";
|
12
|
-
title: string;
|
13
|
-
} | {
|
14
|
-
id: "describe";
|
15
|
-
title: string;
|
16
|
-
})[];
|
17
|
-
export declare const DATABASE_PAGES: ({
|
18
|
-
id: "overview";
|
19
|
-
title: string;
|
20
|
-
} | {
|
21
|
-
id: "topQueries";
|
22
|
-
title: string;
|
23
|
-
} | {
|
24
|
-
id: "topShards";
|
25
|
-
title: string;
|
26
|
-
} | {
|
27
|
-
id: "nodes";
|
28
|
-
title: string;
|
29
|
-
} | {
|
30
|
-
id: "tablets";
|
31
|
-
title: string;
|
32
|
-
} | {
|
33
|
-
id: "storage";
|
34
|
-
title: string;
|
35
|
-
} | {
|
36
|
-
id: "network";
|
37
|
-
title: string;
|
38
|
-
} | {
|
39
|
-
id: "describe";
|
40
|
-
title: string;
|
41
|
-
} | {
|
42
|
-
id: "configs";
|
43
|
-
title: string;
|
44
|
-
} | {
|
45
|
-
id: "operations";
|
46
|
-
title: string;
|
47
|
-
})[];
|
48
|
-
export declare const TABLE_PAGES: ({
|
49
|
-
id: "overview";
|
50
|
-
title: string;
|
51
|
-
} | {
|
52
|
-
id: "schema";
|
53
|
-
title: string;
|
54
|
-
} | {
|
55
|
-
id: "topShards";
|
56
|
-
title: string;
|
57
|
-
} | {
|
58
|
-
id: "nodes";
|
59
|
-
title: string;
|
60
|
-
} | {
|
61
|
-
id: "tablets";
|
62
|
-
title: string;
|
63
|
-
} | {
|
64
|
-
id: "describe";
|
65
|
-
title: string;
|
66
|
-
} | {
|
67
|
-
id: "hotKeys";
|
68
|
-
title: string;
|
69
|
-
} | {
|
70
|
-
id: "graph";
|
71
|
-
title: string;
|
72
|
-
})[];
|
73
|
-
export declare const COLUMN_TABLE_PAGES: ({
|
74
|
-
id: "overview";
|
75
|
-
title: string;
|
76
|
-
} | {
|
77
|
-
id: "schema";
|
78
|
-
title: string;
|
79
|
-
} | {
|
80
|
-
id: "topShards";
|
81
|
-
title: string;
|
82
|
-
} | {
|
83
|
-
id: "nodes";
|
84
|
-
title: string;
|
85
|
-
} | {
|
86
|
-
id: "tablets";
|
87
|
-
title: string;
|
88
|
-
} | {
|
89
|
-
id: "describe";
|
90
|
-
title: string;
|
91
|
-
})[];
|
92
|
-
export declare const DIR_PAGES: ({
|
93
|
-
id: "overview";
|
94
|
-
title: string;
|
95
|
-
} | {
|
96
|
-
id: "topShards";
|
97
|
-
title: string;
|
98
|
-
} | {
|
99
|
-
id: "nodes";
|
100
|
-
title: string;
|
101
|
-
} | {
|
102
|
-
id: "describe";
|
103
|
-
title: string;
|
104
|
-
})[];
|
105
|
-
export declare const CDC_STREAM_PAGES: ({
|
106
|
-
id: "overview";
|
107
|
-
title: string;
|
108
|
-
} | {
|
109
|
-
id: "nodes";
|
110
|
-
title: string;
|
111
|
-
} | {
|
112
|
-
id: "tablets";
|
113
|
-
title: string;
|
114
|
-
} | {
|
115
|
-
id: "describe";
|
116
|
-
title: string;
|
117
|
-
} | {
|
118
|
-
id: "consumers";
|
119
|
-
title: string;
|
120
|
-
} | {
|
121
|
-
id: "partitions";
|
122
|
-
title: string;
|
123
|
-
})[];
|
124
|
-
export declare const TOPIC_PAGES: ({
|
125
|
-
id: "overview";
|
126
|
-
title: string;
|
127
|
-
} | {
|
128
|
-
id: "nodes";
|
129
|
-
title: string;
|
130
|
-
} | {
|
131
|
-
id: "tablets";
|
132
|
-
title: string;
|
133
|
-
} | {
|
134
|
-
id: "describe";
|
135
|
-
title: string;
|
136
|
-
} | {
|
137
|
-
id: "consumers";
|
138
|
-
title: string;
|
139
|
-
} | {
|
140
|
-
id: "partitions";
|
141
|
-
title: string;
|
142
|
-
})[];
|
143
|
-
export declare const EXTERNAL_DATA_SOURCE_PAGES: ({
|
144
|
-
id: "overview";
|
145
|
-
title: string;
|
146
|
-
} | {
|
147
|
-
id: "describe";
|
148
|
-
title: string;
|
149
|
-
})[];
|
150
|
-
export declare const EXTERNAL_TABLE_PAGES: ({
|
151
|
-
id: "overview";
|
152
|
-
title: string;
|
153
|
-
} | {
|
154
|
-
id: "schema";
|
155
|
-
title: string;
|
156
|
-
} | {
|
157
|
-
id: "describe";
|
158
|
-
title: string;
|
159
|
-
})[];
|
160
|
-
export declare const VIEW_PAGES: ({
|
161
|
-
id: "overview";
|
162
|
-
title: string;
|
163
|
-
} | {
|
164
|
-
id: "schema";
|
165
|
-
title: string;
|
166
|
-
} | {
|
167
|
-
id: "describe";
|
168
|
-
title: string;
|
169
|
-
})[];
|
170
7
|
export declare const getPagesByType: (type?: EPathType) => Page[];
|
171
8
|
export declare const getDataBasePages: ({ hasFeatureFlags }: {
|
172
9
|
hasFeatureFlags?: boolean;
|
@@ -60,8 +60,8 @@ const operations = {
|
|
60
60
|
id: TENANT_DIAGNOSTICS_TABS_IDS.operations,
|
61
61
|
title: 'Operations',
|
62
62
|
};
|
63
|
-
|
64
|
-
|
63
|
+
const ASYNC_REPLICATION_PAGES = [overview, tablets, describe];
|
64
|
+
const DATABASE_PAGES = [
|
65
65
|
overview,
|
66
66
|
topQueries,
|
67
67
|
topShards,
|
@@ -73,14 +73,14 @@ export const DATABASE_PAGES = [
|
|
73
73
|
configs,
|
74
74
|
operations,
|
75
75
|
];
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
76
|
+
const TABLE_PAGES = [overview, schema, topShards, nodes, graph, tablets, hotKeys, describe];
|
77
|
+
const COLUMN_TABLE_PAGES = [overview, schema, topShards, nodes, tablets, describe];
|
78
|
+
const DIR_PAGES = [overview, topShards, nodes, describe];
|
79
|
+
const CDC_STREAM_PAGES = [overview, consumers, partitions, nodes, tablets, describe];
|
80
|
+
const TOPIC_PAGES = [overview, consumers, partitions, nodes, tablets, describe];
|
81
|
+
const EXTERNAL_DATA_SOURCE_PAGES = [overview, describe];
|
82
|
+
const EXTERNAL_TABLE_PAGES = [overview, schema, describe];
|
83
|
+
const VIEW_PAGES = [overview, schema, describe];
|
84
84
|
// verbose mapping to guarantee correct tabs for new path types
|
85
85
|
// TS will error when a new type is added but not mapped here
|
86
86
|
const pathTypeToPages = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DiagnosticsPages.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/DiagnosticsPages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AAErF,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AAOpD,MAAM,QAAQ,GAAG;IACb,EAAE,EAAE,2BAA2B,CAAC,QAAQ;IACxC,KAAK,EAAE,MAAM;CAChB,CAAC;AAEF,MAAM,MAAM,GAAG;IACX,EAAE,EAAE,2BAA2B,CAAC,MAAM;IACtC,KAAK,EAAE,QAAQ;CAClB,CAAC;AAEF,MAAM,UAAU,GAAG;IACf,EAAE,EAAE,2BAA2B,CAAC,UAAU;IAC1C,KAAK,EAAE,SAAS;CACnB,CAAC;AAEF,MAAM,SAAS,GAAG;IACd,EAAE,EAAE,2BAA2B,CAAC,SAAS;IACzC,KAAK,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,KAAK,GAAG;IACV,EAAE,EAAE,2BAA2B,CAAC,KAAK;IACrC,KAAK,EAAE,OAAO;CACjB,CAAC;AAEF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AACF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AACF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AAEF,MAAM,QAAQ,GAAG;IACb,EAAE,EAAE,2BAA2B,CAAC,QAAQ;IACxC,KAAK,EAAE,UAAU;CACpB,CAAC;AAEF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,UAAU;CACpB,CAAC;AAEF,MAAM,KAAK,GAAG;IACV,EAAE,EAAE,2BAA2B,CAAC,KAAK;IACrC,KAAK,EAAE,OAAO;CACjB,CAAC;AAEF,MAAM,SAAS,GAAG;IACd,EAAE,EAAE,2BAA2B,CAAC,SAAS;IACzC,KAAK,EAAE,WAAW;CACrB,CAAC;AAEF,MAAM,UAAU,GAAG;IACf,EAAE,EAAE,2BAA2B,CAAC,UAAU;IAC1C,KAAK,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AAEF,MAAM,UAAU,GAAG;IACf,EAAE,EAAE,2BAA2B,CAAC,UAAU;IAC1C,KAAK,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,
|
1
|
+
{"version":3,"file":"DiagnosticsPages.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/DiagnosticsPages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AAErF,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AAOpD,MAAM,QAAQ,GAAG;IACb,EAAE,EAAE,2BAA2B,CAAC,QAAQ;IACxC,KAAK,EAAE,MAAM;CAChB,CAAC;AAEF,MAAM,MAAM,GAAG;IACX,EAAE,EAAE,2BAA2B,CAAC,MAAM;IACtC,KAAK,EAAE,QAAQ;CAClB,CAAC;AAEF,MAAM,UAAU,GAAG;IACf,EAAE,EAAE,2BAA2B,CAAC,UAAU;IAC1C,KAAK,EAAE,SAAS;CACnB,CAAC;AAEF,MAAM,SAAS,GAAG;IACd,EAAE,EAAE,2BAA2B,CAAC,SAAS;IACzC,KAAK,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,KAAK,GAAG;IACV,EAAE,EAAE,2BAA2B,CAAC,KAAK;IACrC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mB,CAAC,EAAE,SAAS;IAE1C,CAAC,SAAS,CAAC,kBAAkB,CAAC,EAAE,gBAAgB;IAEhD,CAAC,SAAS,CAAC,uBAAuB,CAAC,EAAE,WAAW;IAEhD,CAAC,SAAS,CAAC,2BAA2B,CAAC,EAAE,0BAA0B;IACnE,CAAC,SAAS,CAAC,sBAAsB,CAAC,EAAE,oBAAoB;IAExD,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,UAAU;IAErC,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,uBAAuB;CAC5D,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,IAAgB,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC,IAAI,SAAS,CAAC;AAEjG,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAC,eAAe,EAA8B,EAAE,EAAE;IAC/E,OAAO,eAAe;QAClB,CAAC,CAAC,cAAc;QAChB,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,2BAA2B,CAAC,OAAO,CAAC,CAAC;AAC3F,CAAC,CAAC"}
|
@@ -1,9 +1,4 @@
|
|
1
|
-
import type { Column } from '@gravity-ui/react-data-table';
|
2
|
-
import type { GetNodesColumnsParams } from '../../../../../components/nodesColumns/types';
|
3
|
-
import type { NodesPreparedEntity } from '../../../../../store/reducers/nodes/types';
|
4
1
|
import type { AdditionalNodesProps } from '../../../../../types/additionalProps';
|
5
|
-
import type { NodesRequiredField } from '../../../../../types/api/nodes';
|
6
|
-
export declare function getTopNodesByCpuColumns(params: GetNodesColumnsParams): [Column<NodesPreparedEntity>[], NodesRequiredField[]];
|
7
2
|
interface TopNodesByCpuProps {
|
8
3
|
tenantName: string;
|
9
4
|
additionalNodesProps?: AdditionalNodesProps;
|
@@ -10,7 +10,7 @@ import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
|
|
10
10
|
import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
|
11
11
|
import { getSectionTitle } from '../getSectionTitle';
|
12
12
|
import i18n from '../i18n';
|
13
|
-
|
13
|
+
function getTopNodesByCpuColumns(params) {
|
14
14
|
const hostColumn = { ...getHostColumn(params), width: undefined };
|
15
15
|
const columns = [
|
16
16
|
getPoolsColumn(),
|
@@ -1 +1 @@
|
|
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,EAC5B,0BAA0B,GAC7B,MAAM,kDAAkD,CAAC;AAE1D,OAAO,EAAC,QAAQ,EAAC,MAAM,2CAA2C,CAAC;AAEnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAG3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAC,qBAAqB,EAAC,MAAM,uDAAuD,CAAC;AAC5F,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;AAE3B,
|
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,4BAA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 @@ import type { Settings } from '@gravity-ui/react-data-table';
|
|
2
2
|
export declare const TOP_QUERIES_TABLE_SETTINGS: Settings;
|
3
3
|
export declare function useTopQueriesSort(): {
|
4
4
|
tableSort: import("@gravity-ui/react-data-table").SortOrder[] | undefined;
|
5
|
-
handleTableSort: import("
|
5
|
+
handleTableSort: (rawValue: import("@gravity-ui/react-data-table").SortOrder | import("@gravity-ui/react-data-table").SortOrder[] | undefined) => void;
|
6
6
|
backendSort: import("@gravity-ui/react-data-table").SortOrder[] | undefined;
|
7
7
|
};
|
8
8
|
export declare function useRunningQueriesSort(): {
|
9
9
|
tableSort: import("@gravity-ui/react-data-table").SortOrder[] | undefined;
|
10
|
-
handleTableSort: import("
|
10
|
+
handleTableSort: (rawValue: import("@gravity-ui/react-data-table").SortOrder | import("@gravity-ui/react-data-table").SortOrder[] | undefined) => void;
|
11
11
|
backendSort: import("@gravity-ui/react-data-table").SortOrder[] | undefined;
|
12
12
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export declare function useTopShardSort(): {
|
2
2
|
tableSort: import("@gravity-ui/react-data-table").SortOrder[] | undefined;
|
3
|
-
handleTableSort: import("
|
3
|
+
handleTableSort: (rawValue: import("@gravity-ui/react-data-table").SortOrder | import("@gravity-ui/react-data-table").SortOrder[] | undefined) => void;
|
4
4
|
backendSort: import("@gravity-ui/react-data-table").SortOrder[] | undefined;
|
5
5
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
declare const SEVERITY_LIST: readonly ["S_FATAL", "S_ERROR", "S_WARNING", "S_INFO"];
|
2
2
|
export type SEVERITY = (typeof SEVERITY_LIST)[number];
|
3
|
-
export declare function isSeverity(value: number | undefined): boolean;
|
4
3
|
export declare function getSeverity(value: number | undefined): "S_FATAL" | "S_ERROR" | "S_WARNING" | "S_INFO";
|
4
|
+
export {};
|
@@ -1,10 +1,10 @@
|
|
1
|
-
|
1
|
+
const SEVERITY_LIST = ['S_FATAL', 'S_ERROR', 'S_WARNING', 'S_INFO'];
|
2
2
|
// Severity values from ydb/library/yql/public/issue/protos/issue_severity.proto
|
3
3
|
// FATAL = 0;
|
4
4
|
// ERROR = 1;
|
5
5
|
// WARNING = 2;
|
6
6
|
// INFO = 3;
|
7
|
-
|
7
|
+
function isSeverity(value) {
|
8
8
|
return value ? SEVERITY_LIST[value] !== undefined : false;
|
9
9
|
}
|
10
10
|
export function getSeverity(value) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/Issues/models.ts"],"names":[],"mappings":"AAAA,MAAM,
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/Issues/models.ts"],"names":[],"mappings":"AAAA,MAAM,aAAa,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,CAAU,CAAC;AAI7E,gFAAgF;AAChF,aAAa;AACb,aAAa;AACb,eAAe;AACf,YAAY;AACZ,SAAS,UAAU,CAAC,KAAyB;IACzC,OAAO,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,KAAyB;IACjD,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,KAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;AAChE,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { AUTOCOMPLETE_ON_ENTER, ENABLE_AUTOCOMPLETE } from '../../../../utils/constants';
|
3
3
|
import { useSetting } from '../../../../utils/hooks';
|
4
|
-
|
4
|
+
const EDITOR_OPTIONS = {
|
5
5
|
automaticLayout: true,
|
6
6
|
selectOnLineNumbers: true,
|
7
7
|
minimap: {
|