ydb-embedded-ui 6.17.2 → 6.19.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/ComponentsProvider/ComponentsProvider.d.ts +2 -2
- 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/GroupInfo/GroupInfo.js +3 -3
- 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/MetricChart/reducer.d.ts +2 -2
- 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 +16 -14
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js +2 -1
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.js +12 -4
- 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/AppWithClusters/ExtendedNode/ExtendedNode.js +4 -2
- package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js.map +1 -1
- package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +4 -3
- package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js.map +1 -1
- package/dist/containers/AppWithClusters/useClusterData.d.ts +7 -1
- package/dist/containers/AppWithClusters/useClusterData.js +8 -8
- package/dist/containers/AppWithClusters/useClusterData.js.map +1 -1
- package/dist/containers/AsideNavigation/AsideNavigation.d.ts +3 -0
- package/dist/containers/AsideNavigation/AsideNavigation.js +6 -10
- package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
- package/dist/containers/AsideNavigation/Navigation.js +4 -1
- package/dist/containers/AsideNavigation/Navigation.js.map +1 -1
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.d.ts +3 -1
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +2 -4
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js.map +1 -1
- package/dist/containers/Cluster/Cluster.js +5 -13
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/Cluster.scss +1 -0
- package/dist/containers/Header/Header.js +3 -7
- package/dist/containers/Header/Header.js.map +1 -1
- package/dist/containers/Node/Node.js +1 -5
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Node/NodePages.js +5 -4
- package/dist/containers/Node/NodePages.js.map +1 -1
- package/dist/containers/Node/NodeStructure/NodeStructure.js +9 -3
- package/dist/containers/Node/NodeStructure/NodeStructure.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 +19 -14
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +2 -0
- package/dist/containers/PDiskPage/PDiskGroups/utils.js +14 -0
- package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +1 -0
- package/dist/containers/PDiskPage/PDiskPage.js +33 -15
- 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 +11 -13
- 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 +11 -7
- 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} +47 -40
- 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.map +1 -0
- package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -1
- package/dist/containers/Storage/StorageGroups/getGroups.js +27 -24
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +1 -1
- 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/Storage/utils/index.js +3 -4
- package/dist/containers/Storage/utils/index.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/Configs/Configs.d.ts +6 -0
- package/dist/containers/Tenant/Diagnostics/Configs/Configs.js +79 -0
- package/dist/containers/Tenant/Diagnostics/Configs/Configs.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Configs/Configs.scss +8 -0
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/en.json +11 -0
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js +5 -0
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -0
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +3 -0
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +5 -0
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +22 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +7 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +1 -0
- 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/ObjectGeneral/ObjectGeneral.js +8 -3
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.d.ts +7 -0
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js +17 -0
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js.map +1 -0
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.scss +9 -0
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +5 -9
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +8 -6
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +0 -6
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +5 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +28 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -0
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -2
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +4 -12
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +7 -5
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +0 -6
- package/dist/containers/Tenant/Query/ExplainResult/i18n/en.json +1 -2
- package/dist/containers/Tenant/Query/ExplainResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/Query.js +14 -2
- package/dist/containers/Tenant/Query/Query.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +3 -2
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +18 -36
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/i18n/en.json +1 -0
- 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/Tenant/utils/queryTemplates.js +1 -1
- package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
- 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.d.ts +3 -4
- package/dist/containers/VDiskPage/VDiskPage.js +37 -17
- 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/containers/VDiskPage/utils.d.ts +2 -0
- package/dist/containers/VDiskPage/utils.js +7 -0
- package/dist/containers/VDiskPage/utils.js.map +1 -0
- package/dist/lib.d.ts +1 -0
- package/dist/lib.js +1 -0
- package/dist/lib.js.map +1 -1
- package/dist/services/api.d.ts +27 -11
- package/dist/services/api.js +110 -21
- package/dist/services/api.js.map +1 -1
- package/dist/services/parsers/parseMetaCluster.d.ts +14 -0
- package/dist/services/parsers/parseMetaCluster.js +20 -1
- package/dist/services/parsers/parseMetaCluster.js.map +1 -1
- package/dist/services/settings.d.ts +1 -0
- package/dist/services/settings.js +2 -1
- package/dist/services/settings.js.map +1 -1
- package/dist/store/configureStore.d.ts +4 -4
- package/dist/store/defaultStore.d.ts +2 -2
- package/dist/store/getUrlData.js +9 -6
- package/dist/store/getUrlData.js.map +1 -1
- package/dist/store/reducers/api.d.ts +1 -1
- package/dist/store/reducers/api.js +1 -1
- package/dist/store/reducers/api.js.map +1 -1
- package/dist/store/reducers/authentication/authentication.d.ts +4 -4
- package/dist/store/reducers/cancelQuery.d.ts +2 -2
- package/dist/store/reducers/cancelQuery.js.map +1 -1
- package/dist/store/reducers/capabilities/capabilities.d.ts +6 -6
- package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
- package/dist/store/reducers/capabilities/hooks.js +8 -1
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.d.ts +230 -2
- package/dist/store/reducers/cluster/cluster.js +36 -3
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/cluster/utils.d.ts +1 -0
- package/dist/store/reducers/cluster/utils.js +7 -0
- package/dist/store/reducers/cluster/utils.js.map +1 -1
- package/dist/store/reducers/clusters/clusters.d.ts +2 -2
- package/dist/store/reducers/describe.d.ts +2 -2
- package/dist/store/reducers/executeQuery.d.ts +8 -4
- package/dist/store/reducers/executeQuery.js +36 -1
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
- package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -3
- package/dist/store/reducers/explainQuery/explainQuery.js +23 -2
- package/dist/store/reducers/explainQuery/explainQuery.js.map +1 -1
- package/dist/store/reducers/explainQuery/types.d.ts +1 -0
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -58
- package/dist/store/reducers/heatmap.d.ts +2 -2
- package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
- package/dist/store/reducers/index.d.ts +3 -3
- package/dist/store/reducers/network/network.d.ts +2 -2
- package/dist/store/reducers/node/node.d.ts +3 -3
- package/dist/store/reducers/node/selectors.d.ts +1 -1
- package/dist/store/reducers/nodes/nodes.d.ts +3 -3
- package/dist/store/reducers/nodes/nodes.js +1 -2
- package/dist/store/reducers/nodes/nodes.js.map +1 -1
- package/dist/store/reducers/nodesList.d.ts +3 -3
- package/dist/store/reducers/overview/overview.d.ts +2 -2
- package/dist/store/reducers/partitions/partitions.d.ts +2 -2
- package/dist/store/reducers/pdisk/pdisk.d.ts +2 -3
- package/dist/store/reducers/pdisk/pdisk.js +1 -21
- package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
- package/dist/store/reducers/pdisk/utils.d.ts +0 -3
- package/dist/store/reducers/pdisk/utils.js +0 -22
- package/dist/store/reducers/pdisk/utils.js.map +1 -1
- package/dist/store/reducers/preview.d.ts +2 -2
- package/dist/store/reducers/schema/schema.d.ts +3 -3
- package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
- package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
- package/dist/store/reducers/storage/requestStorageData.d.ts +5 -0
- package/dist/store/reducers/storage/requestStorageData.js +12 -0
- package/dist/store/reducers/storage/requestStorageData.js.map +1 -0
- package/dist/store/reducers/storage/selectors.js +1 -1
- package/dist/store/reducers/storage/storage.d.ts +6 -4
- package/dist/store/reducers/storage/storage.js +6 -6
- package/dist/store/reducers/storage/storage.js.map +1 -1
- package/dist/store/reducers/storage/types.d.ts +11 -23
- package/dist/store/reducers/storage/utils.d.ts +3 -2
- package/dist/store/reducers/storage/utils.js +52 -26
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/store/reducers/tableData.d.ts +1 -1
- package/dist/store/reducers/tablet.d.ts +7 -7
- package/dist/store/reducers/tablets.d.ts +13 -13
- package/dist/store/reducers/tenant/constants.d.ts +1 -0
- package/dist/store/reducers/tenant/constants.js +1 -0
- package/dist/store/reducers/tenant/constants.js.map +1 -1
- package/dist/store/reducers/tenant/tenant.d.ts +5 -2
- package/dist/store/reducers/tenant/tenant.js +12 -0
- package/dist/store/reducers/tenant/tenant.js.map +1 -1
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
- package/dist/store/reducers/tenants/selectors.d.ts +27 -27
- package/dist/store/reducers/tenants/tenants.d.ts +2 -2
- package/dist/store/reducers/topic.d.ts +44 -44
- package/dist/store/reducers/trace.d.ts +7 -0
- package/dist/store/reducers/trace.js +18 -0
- package/dist/store/reducers/trace.js.map +1 -0
- package/dist/store/reducers/vdisk/utils.d.ts +0 -2
- package/dist/store/reducers/vdisk/utils.js +0 -10
- package/dist/store/reducers/vdisk/utils.js.map +1 -1
- package/dist/store/reducers/vdisk/vdisk.d.ts +8 -5
- package/dist/store/reducers/vdisk/vdisk.js +17 -32
- package/dist/store/reducers/vdisk/vdisk.js.map +1 -1
- package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
- package/dist/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/cluster.d.ts +3 -0
- package/dist/types/api/compute.d.ts +1 -4
- package/dist/types/api/compute.js +1 -5
- package/dist/types/api/compute.js.map +1 -1
- package/dist/types/api/featureFlags.d.ts +13 -0
- package/dist/types/api/featureFlags.js +2 -0
- package/dist/types/api/featureFlags.js.map +1 -0
- package/dist/types/api/meta.d.ts +5 -1
- package/dist/types/api/modifyDisk.d.ts +1 -0
- package/dist/types/api/pdisk.d.ts +2 -2
- package/dist/types/api/query.d.ts +7 -1
- package/dist/types/api/storage.d.ts +132 -6
- package/dist/types/api/storage.js +1 -5
- package/dist/types/api/storage.js.map +1 -1
- package/dist/types/api/trace.d.ts +17 -0
- package/dist/types/api/trace.js +8 -0
- package/dist/types/api/trace.js.map +1 -0
- package/dist/types/api/vdisk.d.ts +1 -1
- package/dist/types/store/executeQuery.d.ts +25 -3
- package/dist/types/store/executeQuery.js +5 -1
- package/dist/types/store/executeQuery.js.map +1 -1
- package/dist/types/store/query.d.ts +1 -0
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/constants.js +1 -0
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/disks/helpers.d.ts +5 -2
- package/dist/utils/disks/helpers.js +12 -2
- 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/index.d.ts +1 -0
- package/dist/utils/index.js +5 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/monaco/yql/generateSuggestions.js +8 -3
- package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
- package/dist/utils/query.js.map +1 -1
- package/dist/utils/storage.d.ts +2 -21
- package/dist/utils/storage.js +14 -19
- package/dist/utils/storage.js.map +1 -1
- package/package.json +1 -6
- 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/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +0 -9
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +0 -9
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +0 -1
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +0 -3
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +0 -62
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +0 -1
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +0 -4
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js +0 -29
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js.map +0 -1
- package/dist/store/reducers/tenantOverview/topStorageGroups/types.d.ts +0 -4
- package/dist/store/reducers/tenantOverview/topStorageGroups/types.js.map +0 -1
- package/dist/store/reducers/tenantOverview/topStorageGroups/utils.d.ts +0 -3
- package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js +0 -13
- package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js.map +0 -1
- /package/dist/{store/reducers/tenantOverview/topStorageGroups → containers/Storage/StorageGroups/columns}/types.js +0 -0
@@ -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,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isabledRestart = 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,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,MA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AC,KAAK,CAAC,QAAQ,eACX,MAAC,uBAAuB,IACpB,YAAY,EAAE,IAAI,CAAC,oBAAoB,CAAC,EACxC,UAAU,EAAE,IAAI,CAAC,kBAAkB,CAAC,EACpC,eAAe,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,EAAC,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAC,CAAC,CAAC,MAAM,EAAE,EAC1E,cAAc,EAAE,cAAc,IAAI,CAAC,0BAA0B,EAC7D,WAAW,QACX,UAAU,EAAC,QAAQ,EACnB,cAAc,EAAE,IAAI,CAAC,2BAA2B,CAAC,EACjD,gBAAgB,EAAE,QAAQ,EAC1B,eAAe,EAAE,0BAA0B,aAE3C,KAAC,IAAI,IAAC,IAAI,EAAE,QAAQ,GAAI,EACvB,IAAI,CAAC,eAAe,CAAC,IACA,EAC1B,MAAC,uBAAuB,IACpB,YAAY,EAAE,IAAI,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,EAAC,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,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,WAAW,EAAC,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAC,iBAAiB,EAAC,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAC,qBAAqB,EAAE,UAAU,EAAC,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAC,YAAY,EAAC,MAAM,wBAAwB,CAAC;AAGpD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,sBAAsB,EAAE,sBAAsB,EAAC,MAAM,uB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AAO,EAAE,CAAC;QACV,OAAO,KAAC,aAAa,KAAG,CAAC;IAC7B,CAAC;IAED,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,aAC7B,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9C,WAAW,CAAC,CAAC,CAAC,CACX,KAAC,mBAAmB,IAChB,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,CAAC,CAAC,IAAI,IACN,CACT,CAAC;AACN,CAAC"}
|
@@ -7,6 +7,7 @@
|
|
7
7
|
"Node FQDN": "Node FQDN",
|
8
8
|
"Generation": "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" | "
|
1
|
+
declare const _default: (key: "Tablet" | "State" | "Uptime" | "Type" | "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;
|
@@ -0,0 +1,79 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { PersonPencil } from '@gravity-ui/icons';
|
3
|
+
import { Icon, Popover, Switch } from '@gravity-ui/uikit';
|
4
|
+
import { StringParam, useQueryParam } from 'use-query-params';
|
5
|
+
import { ResponseError } from '../../../../components/Errors/ResponseError';
|
6
|
+
import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
|
7
|
+
import { Search } from '../../../../components/Search';
|
8
|
+
import { TableWithControlsLayout } from '../../../../components/TableWithControlsLayout/TableWithControlsLayout';
|
9
|
+
import { tenantApi } from '../../../../store/reducers/tenant/tenant';
|
10
|
+
import { cn } from '../../../../utils/cn';
|
11
|
+
import { DEFAULT_TABLE_SETTINGS } from '../../../../utils/constants';
|
12
|
+
import i18n from './i18n';
|
13
|
+
import './Configs.scss';
|
14
|
+
const FEATURE_FLAGS_COLUMNS_WIDTH_LS_KEY = 'featureFlagsColumnsWidth';
|
15
|
+
const b = cn('ydb-diagnostics-configs');
|
16
|
+
const columns = [
|
17
|
+
{
|
18
|
+
name: 'Touched',
|
19
|
+
header: '',
|
20
|
+
render: ({ row }) => row.Current ? (_jsx(Popover, { content: i18n('flag-touched'), className: b('icon-touched'), placement: "left", children: _jsx(Icon, { data: PersonPencil }) })) : null,
|
21
|
+
width: 36,
|
22
|
+
sortable: false,
|
23
|
+
resizeable: false,
|
24
|
+
},
|
25
|
+
{
|
26
|
+
name: 'Name',
|
27
|
+
get header() {
|
28
|
+
return i18n('td-feature-flag');
|
29
|
+
},
|
30
|
+
render: ({ row }) => (row.Current ? _jsx("b", { children: row.Name }) : row.Name),
|
31
|
+
width: 400,
|
32
|
+
sortable: true,
|
33
|
+
sortAccessor: ({ Current, Name }) => {
|
34
|
+
return Number(!Current) + Name.toLowerCase();
|
35
|
+
},
|
36
|
+
},
|
37
|
+
{
|
38
|
+
name: 'Default',
|
39
|
+
get header() {
|
40
|
+
return i18n('td-default');
|
41
|
+
},
|
42
|
+
render: ({ row }) => {
|
43
|
+
switch (row.Default) {
|
44
|
+
case true:
|
45
|
+
return i18n('enabled');
|
46
|
+
case false:
|
47
|
+
return i18n('disabled');
|
48
|
+
default:
|
49
|
+
return '-';
|
50
|
+
}
|
51
|
+
},
|
52
|
+
width: 100,
|
53
|
+
sortable: false,
|
54
|
+
resizeable: false,
|
55
|
+
},
|
56
|
+
{
|
57
|
+
name: 'Current',
|
58
|
+
get header() {
|
59
|
+
return i18n('td-current');
|
60
|
+
},
|
61
|
+
render: ({ row }) => { var _a; return _jsx(Switch, { disabled: true, checked: ((_a = row.Current) !== null && _a !== void 0 ? _a : row.Default) || false }); },
|
62
|
+
width: 100,
|
63
|
+
sortable: false,
|
64
|
+
resizeable: false,
|
65
|
+
},
|
66
|
+
];
|
67
|
+
export const Configs = ({ database }) => {
|
68
|
+
const [search, setSearch] = useQueryParam('search', StringParam);
|
69
|
+
const { currentData = [], isFetching, error } = tenantApi.useGetClusterConfigQuery({ database });
|
70
|
+
const onChange = (value) => {
|
71
|
+
setSearch(value || undefined, 'replaceIn');
|
72
|
+
};
|
73
|
+
const featureFlagsFilter = search === null || search === void 0 ? void 0 : search.toLocaleLowerCase();
|
74
|
+
const featureFlags = featureFlagsFilter
|
75
|
+
? currentData.filter((item) => item.Name.toLocaleLowerCase().includes(featureFlagsFilter))
|
76
|
+
: currentData;
|
77
|
+
return (_jsxs(TableWithControlsLayout, { children: [_jsx(TableWithControlsLayout.Controls, { children: _jsx(Search, { value: featureFlagsFilter, onChange: onChange, placeholder: i18n('search-placeholder') }) }), _jsx(TableWithControlsLayout.Table, { loading: isFetching, children: error ? (_jsx(ResponseError, { error: error })) : (_jsx(ResizeableDataTable, { emptyDataMessage: i18n(featureFlagsFilter ? 'search-empty' : 'no-data'), columnsWidthLSKey: FEATURE_FLAGS_COLUMNS_WIDTH_LS_KEY, columns: columns, data: featureFlags, settings: DEFAULT_TABLE_SETTINGS })) })] }));
|
78
|
+
};
|
79
|
+
//# sourceMappingURL=Configs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Configs.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Configs/Configs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAC,IAAI,EAAE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QAAQ,EAAE,sBAAsB,GAClC,CACL,GAC2B,IACV,CAC7B,CAAC;AACN,CAAC,CAAC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"td-feature-flag": "Feature flag",
|
3
|
+
"td-default": "Default",
|
4
|
+
"td-current": "Current",
|
5
|
+
"enabled": "Enabled",
|
6
|
+
"disabled": "Disabled",
|
7
|
+
"flag-touched": "Flag is changed",
|
8
|
+
"search-placeholder": "Search by feature flag",
|
9
|
+
"search-empty": "Empty search result",
|
10
|
+
"no-data": "No data"
|
11
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/Configs/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,yBAAyB,CAAC;AAE5C,eAAe,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
|
@@ -17,6 +17,7 @@ import { Tablets } from '../../Tablets';
|
|
17
17
|
import { SchemaViewer } from '../Schema/SchemaViewer/SchemaViewer';
|
18
18
|
import { TenantTabsGroups } from '../TenantPages';
|
19
19
|
import { isDatabaseEntityType } from '../utils/schema';
|
20
|
+
import { Configs } from './Configs/Configs';
|
20
21
|
import { Consumers } from './Consumers';
|
21
22
|
import Describe from './Describe/Describe';
|
22
23
|
import DetailedOverview from './DetailedOverview/DetailedOverview';
|
@@ -92,6 +93,9 @@ function Diagnostics(props) {
|
|
92
93
|
case TENANT_DIAGNOSTICS_TABS_IDS.partitions: {
|
93
94
|
return _jsx(Partitions, { path: path, database: tenantName });
|
94
95
|
}
|
96
|
+
case TENANT_DIAGNOSTICS_TABS_IDS.configs: {
|
97
|
+
return _jsx(Configs, { database: tenantName });
|
98
|
+
}
|
95
99
|
default: {
|
96
100
|
return _jsx("div", { children: "No data..." });
|
97
101
|
}
|
@@ -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,MAAM,EAAE,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AAGxE,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AACtC,OAAO,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAC,cAAc,EAAC,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AACtC,OAAO,EAAC,YAAY,EAAC,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAC,oBAAoB,EAAC,MAAM,iBAAiB,CAAC;AAErD,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,gBAAgB,MAAM,qCAAqC,CAAC;AACnE,OAA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MAAM,EAAE,CAAC,EAAC,EAAE,EAAC,EAAE,IAAI,EAAE,EAAE;4BACnB,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE;gCAC9C,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,EAAE,GAAG,EAAE,SAAS,aAC9B,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,YAAG,gBAAgB,EAAE,GAAO,IAC3D,CACT,CAAC;AACN,CAAC;AAED,eAAe,WAAW,CAAC"}
|
@@ -52,6 +52,10 @@ const partitions = {
|
|
52
52
|
id: TENANT_DIAGNOSTICS_TABS_IDS.partitions,
|
53
53
|
title: 'Partitions',
|
54
54
|
};
|
55
|
+
const configs = {
|
56
|
+
id: TENANT_DIAGNOSTICS_TABS_IDS.configs,
|
57
|
+
title: 'Configs',
|
58
|
+
};
|
55
59
|
export const ASYNC_REPLICATION_PAGES = [overview, tablets, describe];
|
56
60
|
export const DATABASE_PAGES = [
|
57
61
|
overview,
|
@@ -62,6 +66,7 @@ export const DATABASE_PAGES = [
|
|
62
66
|
storage,
|
63
67
|
network,
|
64
68
|
describe,
|
69
|
+
configs,
|
65
70
|
];
|
66
71
|
export const TABLE_PAGES = [overview, schema, topShards, nodes, graph, tablets, hotKeys, describe];
|
67
72
|
export const COLUMN_TABLE_PAGES = [overview, schema, topShards, nodes, graph, tablets, describe];
|
@@ -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,aAAa;CACvB,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,CAAC,MAAM,uBAAuB,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAErE,MAAM,CAAC,MAAM,cAAc,GAAG;IAC1B,QAAQ;IACR,UAAU;IACV,SAAS;IACT,KAAK;IACL,OAAO;IACP,OAAO;IACP,OAAO;IACP,QAAQ;
|
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,aAAa;CACvB,CAAC;AAEF,MAAM,SAAS,GAAG;IACd,EAAE,EAAE,2BAA2B,CAAC,SAAS;IACzC,KAAK,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,KAAK,GAA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AC,EAAE,SAAS;IACnC,CAAC,SAAS,CAAC,mBAAmB,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"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "disabled" | "tableStats" | "tabletMetrics" | "partitionConfig" | "label.ttl" | "value.ttl" | "label.standalone" | "label.partitioning" | "label.partitioning-by-size" | "value.partitioning-by-size.enabled" | "label.partitioning-by-load" | "label.partitions-min" | "label.partitions-max" | "label.read-replicas" | "label.bloom-filter"
|
1
|
+
declare const _default: (key: "disabled" | "enabled" | "tableStats" | "tabletMetrics" | "partitionConfig" | "label.ttl" | "value.ttl" | "label.standalone" | "label.partitioning" | "label.partitioning-by-size" | "value.partitioning-by-size.enabled" | "label.partitioning-by-load" | "label.partitions-min" | "label.partitions-max" | "label.read-replicas" | "label.bloom-filter", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1,19 +1,36 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import React from 'react';
|
3
|
+
import { useCapabilitiesLoaded, useStorageGroupsHandlerAvailable, } from '../../../../../store/reducers/capabilities/hooks';
|
4
|
+
import { storageApi } from '../../../../../store/reducers/storage/storage';
|
2
5
|
import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
|
3
|
-
import {
|
6
|
+
import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
|
4
7
|
import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
|
5
|
-
import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, getStorageTopGroupsColumns, } from '../../../../Storage/StorageGroups/getStorageGroupsColumns';
|
8
|
+
import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, getStorageTopGroupsColumns, } from '../../../../Storage/StorageGroups/columns/getStorageGroupsColumns';
|
6
9
|
import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
|
7
10
|
import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
|
8
11
|
import { getSectionTitle } from '../getSectionTitle';
|
9
12
|
import i18n from '../i18n';
|
13
|
+
import { prepareTopStorageGroups } from './utils';
|
10
14
|
export function TopGroups({ tenant }) {
|
11
15
|
const query = useSearchQuery();
|
16
|
+
const capabilitiesLoaded = useCapabilitiesLoaded();
|
17
|
+
const groupsHandlerAvailable = useStorageGroupsHandlerAvailable();
|
12
18
|
const [autoRefreshInterval] = useAutoRefreshInterval();
|
13
19
|
const columns = getStorageTopGroupsColumns();
|
14
|
-
const { currentData, isFetching, error } =
|
20
|
+
const { currentData, isFetching, error } = storageApi.useGetStorageGroupsInfoQuery({
|
21
|
+
tenant,
|
22
|
+
sort: '-Usage',
|
23
|
+
with: 'all',
|
24
|
+
limit: TENANT_OVERVIEW_TABLES_LIMIT,
|
25
|
+
shouldUseGroupsHandler: groupsHandlerAvailable,
|
26
|
+
}, {
|
27
|
+
pollingInterval: autoRefreshInterval,
|
28
|
+
skip: !capabilitiesLoaded,
|
29
|
+
});
|
15
30
|
const loading = isFetching && currentData === undefined;
|
16
|
-
const
|
31
|
+
const preparedGroups = React.useMemo(() => {
|
32
|
+
return prepareTopStorageGroups(currentData);
|
33
|
+
}, [currentData]);
|
17
34
|
const title = getSectionTitle({
|
18
35
|
entity: i18n('groups'),
|
19
36
|
postfix: i18n('by-usage'),
|
@@ -22,6 +39,6 @@ export function TopGroups({ tenant }) {
|
|
22
39
|
[TenantTabsGroups.diagnosticsTab]: TENANT_DIAGNOSTICS_TABS_IDS.storage,
|
23
40
|
}),
|
24
41
|
});
|
25
|
-
return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, data:
|
42
|
+
return (_jsx(TenantOverviewTableLayout, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, data: preparedGroups, columns: columns, title: title, loading: loading || !capabilitiesLoaded, error: error }));
|
26
43
|
}
|
27
44
|
//# sourceMappingURL=TopGroups.js.map
|
@@ -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,
|
1
|
+
{"version":3,"file":"TopGroups.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAC3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EACH,mCAAmC,EACnC,0BAA0B,GAC7B,MAAM,mEAAmE,CAAC;AAC3E,OAAO,EAAC,gBAAgB,EAAE,a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2BAA2B,CAAC,OAAO;SACzE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,mCAAmC,EACtD,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,IAAI,CAAC,kBAAkB,EACvC,KAAK,EAAE,KAAK,GACd,CACL,CAAC;AACN,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
|
2
|
+
export const prepareTopStorageGroups = (data) => {
|
3
|
+
const { groups = [] } = data || {};
|
4
|
+
const sortedGroups = [...groups].sort((a, b) => b.Usage - a.Usage);
|
5
|
+
return sortedGroups.slice(0, TENANT_OVERVIEW_TABLES_LIMIT);
|
6
|
+
};
|
7
|
+
//# sourceMappingURL=utils.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAE5E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,IAA8B,EAAE,EAAE;IACtE,MAAM,EAAC,MAAM,GAAG,EAAE,EAAC,GAAG,IAAI,IAAI,EAAE,CAAC;IAEjC,MAAM,YAAY,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;IAEnE,OAAO,YAAY,CAAC,KAAK,CAAC,CAAC,EAAE,4BAA4B,CAAC,CAAC;AAC/D,CAAC,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,EACH,qBAAqB,EACrB,QAAQ,GACX,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAC,mBAAmB,EAAC,MAAM,iDAAiD,CAAC;AAIpF,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,sBAAsB,EAAC,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAC,cAAc,EAAC,MAAM,iDAAiD,CAAC;AAC/E,OAAO,EAAC,qBAAqB,EAAE,2BAA2B,EAAC,MAAM,+BAA+B,CAAC;AACjG,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACnG,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,+BAA+B,EAAE,wBAAwB,E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,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,+BAA+B,EAClD,OAAO,EAAE,YAAY,EACrB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,cAAc,EACxB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,0BAA0B,CAAC,SAAS,CAAC,GAClD,CACL,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,uBAAuB,eACpB,KAAC,uBAAuB,CAAC,QAAQ,cAAE,cAAc,EAAE,GAAoC,EAEtF,OAAO,CAAC,IAAI,KAAK,mBAAmB,CAAC,OAAO,IAAI,CAC7C,cAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,YAAG,IAAI,CAAC,aAAa,CAAC,GAAO,CACzD,EAEA,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,uBAAuB,CAAC,KAAK,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,EACxE,KAAC,uBAAuB,CAAC,KAAK,IAAC,OAAO,EAAE,OAAO,YAC1C,aAAa,EAAE,GACY,IACV,CAC7B,CAAC;AACN,CAAC,CAAC"}
|
@@ -1,7 +1,5 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import React from 'react';
|
3
2
|
import { useThemeValue } from '@gravity-ui/uikit';
|
4
|
-
import NotRenderUntilFirstVisible from '../../../components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible';
|
5
3
|
import { TENANT_PAGES_IDS } from '../../../store/reducers/tenant/constants';
|
6
4
|
import { cn } from '../../../utils/cn';
|
7
5
|
import { useTypedSelector } from '../../../utils/hooks';
|
@@ -15,7 +13,14 @@ function ObjectGeneral(props) {
|
|
15
13
|
const { tenantPage } = useTypedSelector((state) => state.tenant);
|
16
14
|
const renderPageContent = () => {
|
17
15
|
const { type, additionalTenantProps, additionalNodesProps, tenantName, path } = props;
|
18
|
-
|
16
|
+
switch (tenantPage) {
|
17
|
+
case TENANT_PAGES_IDS.query: {
|
18
|
+
return _jsx(Query, { tenantName: tenantName, path: path, theme: theme, type: type });
|
19
|
+
}
|
20
|
+
default: {
|
21
|
+
return (_jsx(Diagnostics, { type: type, tenantName: tenantName, path: path, additionalTenantProps: additionalTenantProps, additionalNodesProps: additionalNodesProps }));
|
22
|
+
}
|
23
|
+
}
|
19
24
|
};
|
20
25
|
return (_jsxs("div", { className: b(), children: [_jsx(TenantNavigation, {}), renderPageContent()] }));
|
21
26
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ObjectGeneral.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/ObjectGeneral/ObjectGeneral.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
1
|
+
{"version":3,"file":"ObjectGeneral.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/ObjectGeneral/ObjectGeneral.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAC,gBAAgB,EAAC,MAAM,0CAA0C,CAAC;AAG1E,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AAEtE,OAAO,sBAAsB,CAAC;AAE9B,MAAM,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,CAAC;AAU/B,SAAS,aAAa,CAAC,KAAyB;IAC5C,MAAM,KAAK,GAAG,aAAa,EAAE,CAAC;IAE9B,MAAM,EAAC,UAAU,EAAC,GAAG,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAE/D,MAAM,iBAAiB,GAAG,GAAG,EAAE;QAC3B,MAAM,EAAC,IAAI,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