ydb-embedded-ui 7.1.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/components/JSONTree/JSONTree.d.ts +9 -0
- package/dist/components/JSONTree/JSONTree.js +23 -0
- package/dist/components/JSONTree/JSONTree.js.map +1 -0
- package/dist/components/JSONTree/JSONTree.scss +20 -0
- package/dist/components/JSONTree/i18n/en.json +4 -0
- package/dist/components/JSONTree/i18n/index.d.ts +2 -0
- package/dist/components/JSONTree/i18n/index.js +5 -0
- package/dist/components/JSONTree/i18n/index.js.map +1 -0
- package/dist/components/MemoryViewer/MemoryViewer.scss +1 -1
- package/dist/components/Table/Table.d.ts +13 -0
- package/dist/components/Table/Table.js +21 -0
- package/dist/components/Table/Table.js.map +1 -0
- package/dist/components/Table/Table.scss +60 -0
- package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.js +2 -2
- package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.js.map +1 -1
- package/dist/components/nodesColumns/columns.js +1 -1
- package/dist/components/nodesColumns/constants.js +1 -1
- package/dist/components/nodesColumns/constants.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/Clusters/columns.js +5 -2
- package/dist/containers/Clusters/columns.js.map +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/TabletInfo.js +5 -2
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -1
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -1
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js +3 -14
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js.map +1 -1
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +0 -51
- package/dist/containers/Tablet/components/TabletStorageInfo/columns.js +6 -8
- package/dist/containers/Tablet/components/TabletStorageInfo/columns.js.map +1 -1
- package/dist/containers/Tablet/components/TabletTable/TabletTable.js +2 -2
- package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -1
- package/dist/containers/Tablets/TabletsTable.js +2 -2
- package/dist/containers/Tablets/TabletsTable.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.d.ts +0 -1
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +2 -5
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +1 -9
- 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/Healthcheck/IssuesViewer/IssueTree.js +2 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.scss +0 -2
- 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/TenantOverview/TenantCpu/TopQueries.js +5 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +11 -4
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +11 -10
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/columns/columns.d.ts +105 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/{getTopQueriesColumns.js → columns/columns.js} +53 -44
- package/dist/containers/Tenant/Diagnostics/TopQueries/columns/columns.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/columns/constants.d.ts +21 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/columns/constants.js +71 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/columns/constants.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/en.json +12 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/index.js +5 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/index.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/en.json +1 -5
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/utils.d.ts +12 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/utils.js +28 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/utils.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +9 -34
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/{getTopShardsColumns.d.ts → columns/columns.d.ts} +1 -2
- package/dist/containers/Tenant/Diagnostics/TopShards/{getTopShardsColumns.js → columns/columns.js} +16 -36
- package/dist/containers/Tenant/Diagnostics/TopShards/columns/columns.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/columns/constants.d.ts +17 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/columns/constants.js +55 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/columns/constants.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/columns/i18n/en.json +10 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/columns/i18n/index.js +5 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/columns/i18n/index.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/utils.d.ts +5 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/utils.js +17 -0
- package/dist/containers/Tenant/Diagnostics/TopShards/utils.js.map +1 -0
- 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/components/QueryJSONViewer/QueryJSONViewer.d.ts +0 -1
- package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.js +2 -5
- package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.scss +0 -3
- package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/OperationCell.js +1 -1
- package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/OperationCell.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.js +16 -25
- package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.scss +3 -53
- 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 +1 -1
- package/dist/services/settings.js +2 -2
- package/dist/services/settings.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.d.ts +2 -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/executeTopQueries.d.ts +8 -8
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js +10 -7
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
- 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/shardsWorkload.d.ts +1 -4
- package/dist/store/reducers/shardsWorkload/shardsWorkload.js +3 -5
- package/dist/store/reducers/shardsWorkload/shardsWorkload.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/api/meta.d.ts +1 -0
- 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 +1 -38
- package/dist/utils/constants.js +2 -28
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/dataFormatters/__test__/formatUptime.test.d.ts +1 -0
- package/dist/utils/dataFormatters/__test__/formatUptime.test.js +56 -0
- package/dist/utils/dataFormatters/__test__/formatUptime.test.js.map +1 -0
- package/dist/utils/dataFormatters/dataFormatters.d.ts +8 -4
- package/dist/utils/dataFormatters/dataFormatters.js +51 -21
- 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/developerUI/developerUI.d.ts +1 -0
- package/dist/utils/developerUI/developerUI.js +3 -0
- package/dist/utils/developerUI/developerUI.js.map +1 -1
- package/dist/utils/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/__test__/useTableSort.test.d.ts +1 -0
- package/dist/utils/hooks/__test__/useTableSort.test.js +188 -0
- package/dist/utils/hooks/__test__/useTableSort.test.js.map +1 -0
- package/dist/utils/hooks/useTableSort.d.ts +10 -5
- package/dist/utils/hooks/useTableSort.js +61 -16
- package/dist/utils/hooks/useTableSort.js.map +1 -1
- package/dist/utils/monitoring.d.ts +3 -2
- package/dist/utils/nodes.d.ts +1 -1
- package/dist/utils/nodes.js +10 -4
- 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 +4 -4
- 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 -11
- package/dist/containers/Storage/Storage.js +0 -91
- 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/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.d.ts +0 -8
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js.map +0 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +0 -1
- package/dist/store/reducers/nodes/selectors.d.ts +0 -11
- package/dist/store/reducers/nodes/selectors.js +0 -39
- 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
- package/dist/utils/diagnostics.d.ts +0 -23
- package/dist/utils/diagnostics.js +0 -37
- package/dist/utils/diagnostics.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../src/containers/Clusters/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,EAAC,MAAM,wBAAwB,CAAC;AACnD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,eAAe,EAAE,IAAI,IAAI,YAAY,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAElF,OAAO,EAAC,cAAc,EAAC,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAC,uBAAuB,EAAC,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAC,qBAAqB,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M,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE;YACd,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;gBAChB,OAAO,UAAU,CAAC;YACtB,CAAC;YAED,MAAM,YAAY,GAAG,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACzD,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,aAC9B,cAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,YAAG,YAAY,GAAO,EACxD,KAAC,eAAe,IAAC,IAAI,EAAC,GAAG,EAAC,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,GAAI,IAC7E,CACT,CAAC;QACN,CAAC;KACJ;CACJ,CAAC"}
|
@@ -15,13 +15,13 @@ import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
|
|
15
15
|
import { nodeApi } from '../../store/reducers/node/node';
|
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 { Tablets } from '../Tablets';
|
20
20
|
import { NODE_PAGES, OVERVIEW, STORAGE, STRUCTURE, TABLETS, getDefaultNodePath, nodePageQueryParams, } from './NodePages';
|
21
21
|
import NodeStructure from './NodeStructure/NodeStructure';
|
22
22
|
import './Node.scss';
|
23
23
|
const b = cn('node');
|
24
|
-
|
24
|
+
const STORAGE_ROLE = 'Storage';
|
25
25
|
export function Node(props) {
|
26
26
|
var _a, _b, _c;
|
27
27
|
const container = React.useRef(null);
|
@@ -76,7 +76,9 @@ export function Node(props) {
|
|
76
76
|
const renderTabContent = () => {
|
77
77
|
switch (activeTabVerified.id) {
|
78
78
|
case STORAGE: {
|
79
|
-
return (_jsx("div", { className: b('storage'), ref: container, children: _jsx(
|
79
|
+
return (_jsx("div", { className: b('storage'), ref: container, children: _jsx(PaginatedStorage, { nodeId: nodeId, parentRef: container, viewContext: {
|
80
|
+
nodeId: nodeId === null || nodeId === void 0 ? void 0 : nodeId.toString(),
|
81
|
+
} }) }));
|
80
82
|
}
|
81
83
|
case TABLETS: {
|
82
84
|
return (_jsx(Tablets, { nodeId: nodeId, database: tenantName, className: b('node-page-wrapper') }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Node.js","sourceRoot":"","sources":["../../../src/containers/Node/Node.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,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,cAAc,EAAC,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAC,MAAM,EAAC,MAAM,yBAAyB,CAAC;AAC/C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EACH,qBAAqB,EACrB,qBAAqB,GACxB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,OAAO,EAAC,MAAM,gCAAgC,CAAC;AAEvD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"Node.js","sourceRoot":"","sources":["../../../src/containers/Node/Node.tsx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IACN,CAAC;IAED,IAAI,KAAK,EAAE,CAAC;QACR,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC;IAC3C,CAAC;IAED,OAAO,cAAK,SAAS,EAAC,OAAO,6BAAmB,CAAC;AACrD,CAAC"}
|
@@ -9,6 +9,7 @@ import { operationsApi } from '../../store/reducers/operations';
|
|
9
9
|
import { useAutoRefreshInterval } from '../../utils/hooks';
|
10
10
|
import { OperationsControls } from './OperationsControls';
|
11
11
|
import { getColumns } from './columns';
|
12
|
+
import { OPERATIONS_SELECTED_COLUMNS_KEY } from './constants';
|
12
13
|
import i18n from './i18n';
|
13
14
|
import { b } from './shared';
|
14
15
|
import { useOperationsQueryParams } from './useOperationsQueryParams';
|
@@ -28,6 +29,6 @@ export function Operations({ database }) {
|
|
28
29
|
if (isAccessError(error)) {
|
29
30
|
return _jsx(AccessDenied, { position: "left" });
|
30
31
|
}
|
31
|
-
return (_jsxs(TableWithControlsLayout, { children: [_jsx(TableWithControlsLayout.Controls, { children: _jsx(OperationsControls, { kind: kind, searchValue: searchValue, entitiesCountCurrent: filteredOperations.length, entitiesCountTotal: (_a = data === null || data === void 0 ? void 0 : data.operations) === null || _a === void 0 ? void 0 : _a.length, entitiesLoading: isFetching, handleKindChange: handleKindChange, handleSearchChange: handleSearchChange }) }), error ? _jsx(ResponseError, { error: error }) : null, _jsx(TableWithControlsLayout.Table, { loading: isFetching, className: b('table'), children: data ? (_jsx(ResizeableDataTable, { columns: getColumns({ database, refreshTable: refetch }), data: filteredOperations, emptyDataMessage: i18n('title_empty') })) : null })] }));
|
32
|
+
return (_jsxs(TableWithControlsLayout, { children: [_jsx(TableWithControlsLayout.Controls, { children: _jsx(OperationsControls, { kind: kind, searchValue: searchValue, entitiesCountCurrent: filteredOperations.length, entitiesCountTotal: (_a = data === null || data === void 0 ? void 0 : data.operations) === null || _a === void 0 ? void 0 : _a.length, entitiesLoading: isFetching, handleKindChange: handleKindChange, handleSearchChange: handleSearchChange }) }), error ? _jsx(ResponseError, { error: error }) : null, _jsx(TableWithControlsLayout.Table, { loading: isFetching, className: b('table'), children: data ? (_jsx(ResizeableDataTable, { columns: getColumns({ database, refreshTable: refetch }), columnsWidthLSKey: OPERATIONS_SELECTED_COLUMNS_KEY, data: filteredOperations, emptyDataMessage: i18n('title_empty') })) : null })] }));
|
32
33
|
}
|
33
34
|
//# sourceMappingURL=Operations.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Operations.js","sourceRoot":"","sources":["../../../src/containers/Operations/Operations.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,mBAAmB,EAAC,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,aAAa,EAAC,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,WAAW,CAAC;AACrC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAC3B,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AAMpE,MAAM,UAAU,UAAU,CAAC,EAAC,QAAQ,EAAkB;;IAClD,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IAEvD,MAAM,EAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,gBAAgB,EAAE,kBAAkB,EAAC,GAChF,wBAAwB,EAA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C/C,kBAAkB,EAAE,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU,0CAAE,MAAM,EAC5C,eAAe,EAAE,UAAU,EAC3B,gBAAgB,EAAE,gBAAgB,EAClC,kBAAkB,EAAE,kBAAkB,GACxC,GAC6B,EAClC,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/C,KAAC,uBAAuB,CAAC,KAAK,IAAC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,YACpE,IAAI,CAAC,CAAC,CAAC,CACJ,KAAC,mBAAmB,IAChB,OAAO,EAAE,UAAU,CAAC,EAAC,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAC,CAAC,EACtD,iBAAiB,EAAE,+BAA+B,EAClD,IAAI,EAAE,kBAAkB,EACxB,gBAAgB,EAAE,IAAI,CAAC,aAAa,CAAC,GACvC,CACL,CAAC,CAAC,CAAC,IAAI,GACoB,IACV,CAC7B,CAAC;AACN,CAAC"}
|
@@ -23,7 +23,7 @@ import { valueIsDefined } from '../../utils';
|
|
23
23
|
import { cn } from '../../utils/cn';
|
24
24
|
import { getPDiskId, getSeverityColor } from '../../utils/disks/helpers';
|
25
25
|
import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../utils/hooks';
|
26
|
-
import {
|
26
|
+
import { PaginatedStorage } from '../Storage/PaginatedStorage';
|
27
27
|
import { DecommissionButton } from './DecommissionButton/DecommissionButton';
|
28
28
|
import { DecommissionLabel } from './DecommissionLabel/DecommissionLabel';
|
29
29
|
import { PDiskSpaceDistribution } from './PDiskSpaceDistribution/PDiskSpaceDistribution';
|
@@ -144,7 +144,10 @@ export function PDiskPage() {
|
|
144
144
|
return pDiskData ? (_jsx("div", { className: pdiskPageCn('disk-distribution'), children: _jsx(PDiskSpaceDistribution, { data: pDiskData }) })) : null;
|
145
145
|
}
|
146
146
|
case 'storage': {
|
147
|
-
return pDiskParamsDefined ? (_jsx(
|
147
|
+
return pDiskParamsDefined ? (_jsx(PaginatedStorage, { nodeId: nodeId, pDiskId: pDiskId, parentRef: containerRef, viewContext: {
|
148
|
+
nodeId: nodeId === null || nodeId === void 0 ? void 0 : nodeId.toString(),
|
149
|
+
pDiskId: pDiskId === null || pDiskId === void 0 ? void 0 : pDiskId.toString(),
|
150
|
+
} })) : null;
|
148
151
|
}
|
149
152
|
default:
|
150
153
|
return null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PDiskPage.js","sourceRoot":"","sources":["../../../src/containers/PDiskPage/PDiskPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,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,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,eAAe,EAAC,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC,YAAY,EAAC,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAC,SAAS,EAAC,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAC,uBAAuB,EAAC,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,GAAG,EAAC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|
19
18
|
}
|
20
19
|
|
21
|
-
.json-tooltip {
|
22
|
-
padding: 20px 20px 20px 0;
|
23
|
-
|
24
|
-
&__inspector {
|
25
|
-
@include mixins.json-tree-styles();
|
26
|
-
|
27
|
-
:not(.json-inspector__leaf_expanded).json-inspector__leaf_composite:before {
|
28
|
-
content: '';
|
29
|
-
}
|
30
|
-
.json-inspector__leaf_expanded.json-inspector__leaf_composite:before {
|
31
|
-
content: '';
|
32
|
-
}
|
33
|
-
|
34
|
-
& .json-inspector {
|
35
|
-
&__line:hover:after {
|
36
|
-
background: transparent;
|
37
|
-
}
|
38
|
-
&__show-original:hover:after,
|
39
|
-
&__show-original:hover:before {
|
40
|
-
color: transparent;
|
41
|
-
}
|
42
|
-
|
43
|
-
&__value_helper {
|
44
|
-
display: none;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
20
|
.cell-tooltip {
|
51
21
|
padding: 10px;
|
52
22
|
|
@@ -4,7 +4,7 @@ export interface PaginatedStorageProps {
|
|
4
4
|
nodeId?: string | number;
|
5
5
|
groupId?: string | number;
|
6
6
|
pDiskId?: string | number;
|
7
|
-
viewContext
|
7
|
+
viewContext?: StorageViewContext;
|
8
8
|
parentRef: React.RefObject<HTMLElement>;
|
9
9
|
initialEntitiesCount?: number;
|
10
10
|
}
|
@@ -1,6 +1,4 @@
|
|
1
|
-
import type { StorageViewContext } from '../../types';
|
2
1
|
import type { GetStorageGroupsColumnsParams } from './types';
|
3
|
-
export declare function useGetStorageGroupsColumns(viewContext: StorageViewContext): import("./types").StorageGroupsColumn[];
|
4
2
|
export declare function useStorageGroupsSelectedColumns({ visibleEntities, viewContext, }: GetStorageGroupsColumnsParams): {
|
5
3
|
columnsToShow: import("./types").StorageGroupsColumn[];
|
6
4
|
columnsToSelect: import("@gravity-ui/uikit").TableColumnSetupItem[];
|
@@ -3,13 +3,10 @@ import { VISIBLE_ENTITIES } from '../../../../store/reducers/storage/constants';
|
|
3
3
|
import { useSelectedColumns } from '../../../../utils/hooks/useSelectedColumns';
|
4
4
|
import { getStorageGroupsColumns } from './columns';
|
5
5
|
import { DEFAULT_STORAGE_GROUPS_COLUMNS, REQUIRED_STORAGE_GROUPS_COLUMNS, STORAGE_GROUPS_COLUMNS_IDS, STORAGE_GROUPS_COLUMNS_TITLES, STORAGE_GROUPS_SELECTED_COLUMNS_LS_KEY, } from './constants';
|
6
|
-
export function
|
7
|
-
|
6
|
+
export function useStorageGroupsSelectedColumns({ visibleEntities, viewContext, }) {
|
7
|
+
const columns = React.useMemo(() => {
|
8
8
|
return getStorageGroupsColumns({ viewContext });
|
9
9
|
}, [viewContext]);
|
10
|
-
}
|
11
|
-
export function useStorageGroupsSelectedColumns({ visibleEntities, viewContext, }) {
|
12
|
-
const columns = useGetStorageGroupsColumns(viewContext);
|
13
10
|
const requiredColumns = React.useMemo(() => {
|
14
11
|
if (visibleEntities === VISIBLE_ENTITIES.missing) {
|
15
12
|
return [...REQUIRED_STORAGE_GROUPS_COLUMNS, STORAGE_GROUPS_COLUMNS_IDS.Degraded];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAC,kBAAkB,EAAC,MAAM,4CAA4C,CAAC;
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAC,kBAAkB,EAAC,MAAM,4CAA4C,CAAC;AAE9E,OAAO,EAAC,uBAAuB,EAAC,MAAM,WAAW,CAAC;AAClD,OAAO,EACH,8BAA8B,EAC9B,+BAA+B,EAC/B,0BAA0B,EAC1B,6BAA6B,EAC7B,sCAAsC,GACzC,MAAM,aAAa,CAAC;AAGrB,MAAM,UAAU,+BAA+B,CAAC,EAC5C,eAAe,EACf,WAAW,GACiB;IAC5B,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QAC/B,OAAO,uBAAuB,CAAC,EAAC,WAAW,EAAC,CAAC,CAAC;IAClD,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,MAAM,eAAe,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACvC,IAAI,eAAe,KAAK,gBAAgB,CAAC,OAAO,EAAE,CAAC;YAC/C,OAAO,CAAC,GAAG,+BAA+B,EAAE,0BAA0B,CAAC,QAAQ,CAAC,CAAC;QACrF,CAAC;QAED,IAAI,eAAe,KAAK,gBAAgB,CAAC,KAAK,EAAE,CAAC;YAC7C,OAAO,CAAC,GAAG,+BAA+B,EAAE,0BAA0B,CAAC,SAAS,CAAC,CAAC;QACtF,CAAC;QAED,OAAO,+BAA+B,CAAC;IAC3C,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;IAEtB,OAAO,kBAAkB,CACrB,OAAO,EACP,sCAAsC,EACtC,6BAA6B,EAC7B,8BAA8B,EAC9B,eAAe,CAClB,CAAC;AACN,CAAC"}
|
@@ -3,10 +3,10 @@ import type { Column } from '../../../../utils/tableUtils/types';
|
|
3
3
|
import type { StorageViewContext } from '../../types';
|
4
4
|
export type StorageGroupsColumn = Column<PreparedStorageGroup>;
|
5
5
|
export interface GetStorageColumnsData {
|
6
|
-
viewContext
|
6
|
+
viewContext?: StorageViewContext;
|
7
7
|
}
|
8
8
|
export interface GetStorageGroupsColumnsParams {
|
9
9
|
visibleEntities?: VisibleEntities;
|
10
|
-
viewContext
|
10
|
+
viewContext?: StorageViewContext;
|
11
11
|
}
|
12
12
|
export type StorageColumnsGetter = (data?: GetStorageColumnsData) => StorageGroupsColumn[];
|
@@ -4,6 +4,7 @@ import type { VisibleEntities } from '../../../store/reducers/storage/types';
|
|
4
4
|
import type { NodesGroupByField } from '../../../types/api/nodes';
|
5
5
|
import { NodesUptimeFilterValues } from '../../../utils/nodes';
|
6
6
|
import type { StorageNodesColumn } from './columns/types';
|
7
|
+
import './StorageNodes.scss';
|
7
8
|
interface PaginatedStorageNodesTableProps {
|
8
9
|
columns: StorageNodesColumn[];
|
9
10
|
database?: string;
|
@@ -2,12 +2,15 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import React from 'react';
|
3
3
|
import { ResizeablePaginatedTable } from '../../../components/PaginatedTable';
|
4
4
|
import { VISIBLE_ENTITIES } from '../../../store/reducers/storage/constants';
|
5
|
-
import {
|
5
|
+
import { cn } from '../../../utils/cn';
|
6
|
+
import { NodesUptimeFilterValues, isUnavailableNode } from '../../../utils/nodes';
|
6
7
|
import { StorageNodesEmptyDataMessage } from './StorageNodesEmptyDataMessage';
|
7
8
|
import { STORAGE_NODES_COLUMNS_WIDTH_LS_KEY } from './columns/constants';
|
8
9
|
import { getStorageNodes } from './getNodes';
|
9
10
|
import i18n from './i18n';
|
10
|
-
import
|
11
|
+
import './StorageNodes.scss';
|
12
|
+
const b = cn('ydb-storage-nodes');
|
13
|
+
const getRowUnavailableClassName = (row) => b('node', { unavailable: isUnavailableNode(row) });
|
11
14
|
export const PaginatedStorageNodesTable = ({ columns, database, nodeId, groupId, filterGroup, filterGroupBy, searchValue, visibleEntities, nodesUptimeFilter, onShowAll, parentRef, renderControls, renderErrorMessage, initialEntitiesCount, }) => {
|
12
15
|
const tableFilters = React.useMemo(() => {
|
13
16
|
return {
|
@@ -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,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AAG3E,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,uBAAuB,EAAE,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;AAEhF,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,kCAAkC,EAAC,MAAM,qBAAqB,CAAC;AAEvE,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAC3C,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,qBAAqB,CAAC;AAE7B,MAAM,CAAC,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC;AAElC,MAAM,0BAA0B,GAAG,CAAC,GAAwB,EAAE,EAAE,CAC5D,CAAC,CAAC,MAAM,EAAE,EAAC,WAAW,EAAE,iBAAiB,CAAC,GAAG,CAAC,EAAC,CAAC,CAAC;AAuBrD,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EACvC,OAAO,EACP,QAAQ,EACR,MAAM,EACN,OAAO,EACP,WAAW,EACX,aAAa,EACb,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,cAAc,EACd,kBAAkB,EAClB,oBAAoB,GACU,EAAE,EAAE;IAClC,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACpC,OAAO;YACH,WAAW;YACX,eAAe;YACf,iBAAiB;YACjB,QAAQ;YACR,MAAM;YACN,OAAO;YACP,WAAW;YACX,aAAa;SAChB,CAAC;IACN,CAAC,EAAE;QACC,WAAW;QACX,eAAe;QACf,iBAAiB;QACjB,QAAQ;QACR,MAAM;QACN,OAAO;QACP,WAAW;QACX,aAAa;KAChB,CAAC,CAAC;IAEH,MAAM,sBAAsB,GAAG,GAAG,EAAE;QAChC,IACI,eAAe,KAAK,gBAAgB,CAAC,GAAG;YACxC,iBAAiB,KAAK,uBAAuB,CAAC,GAAG,EACnD,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
|
+
{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,sBAAsB;AACtB,4CAA4C;AAC5C,sBAAsB;AACtB,MAAM,UAAU,oCAAoC,CAChD,OAA4B;IAE5B,IAAI,cAAc,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAC,EAAE,CAAC;QACnC,OAAO,CAAC,CAAC;IACb,CAAC;IACD,IAAI,cAAc,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,CAAC,EAAE,CAAC;QACvC,OAAO,CAAC,CAAC;IACb,CAAC;IAED,OAAO,sBAAsB,CAAC;AAClC,CAAC"}
|
@@ -15,7 +15,7 @@ import { 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":[],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K,EAAE,CAAC;YACpB,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,UAAU,CAAC,KAAK,GAAI,CAAC;IACtD,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,YAAY,aACtD,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,WAAW,EAAE,EACb,UAAU,EAAE,EACZ,aAAa,EAAE,IACd,CACT,CAAC;AACN,CAAC"}
|
@@ -27,7 +27,7 @@ import { 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,M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 -8,7 +8,7 @@ import { getTabletPagePath } from '../../../../routes';
|
|
8
8
|
import { selectIsUserAllowedToMakeChanges } from '../../../../store/reducers/authentication/authentication';
|
9
9
|
import { ETabletState } from '../../../../types/api/tablet';
|
10
10
|
import { cn } from '../../../../utils/cn';
|
11
|
-
import {
|
11
|
+
import { getUptimeFromDateFormatted } from '../../../../utils/dataFormatters/dataFormatters';
|
12
12
|
import { createTabletDeveloperUIHref } from '../../../../utils/developerUI/developerUI';
|
13
13
|
import { useTypedSelector } from '../../../../utils/hooks';
|
14
14
|
import { getDefaultNodePath } from '../../../Node/NodePages';
|
@@ -36,7 +36,10 @@ export const TabletInfo = ({ tablet }) => {
|
|
36
36
|
}
|
37
37
|
tabletInfo.push({ label: tabletInfoKeyset('field_state'), value: _jsx(TabletState, { state: State }) });
|
38
38
|
if (hasUptime) {
|
39
|
-
tabletInfo.push({
|
39
|
+
tabletInfo.push({
|
40
|
+
label: tabletInfoKeyset('field_uptime'),
|
41
|
+
value: getUptimeFromDateFormatted(ChangeTime),
|
42
|
+
});
|
40
43
|
}
|
41
44
|
tabletInfo.push({ label: tabletInfoKeyset('field_generation'), value: Generation }, {
|
42
45
|
label: tabletInfoKeyset('field_node'),
|