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":"TabletInfo.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletInfo/TabletInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AAGtC,OAAO,EAAC,UAAU,EAAC,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,WAAW,EAAC,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAC,iBAAiB,EAAC,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAC,gCAAgC,EAAC,MAAM,0DAA0D,CAAC;AAC1G,OAAO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xD,EACF,KAAC,YAAY,IACT,KAAK,EAAE,gBAAgB,CAAC,6BAA6B,CAAC,EACtD,GAAG,EAAE,2BAA2B,CAAC,QAAQ,EAAE,mBAAmB,CAAC,GACjE,EACF,KAAC,YAAY,IACT,KAAK,EAAE,gBAAgB,CAAC,0BAA0B,CAAC,EACnD,GAAG,EAAE,2BAA2B,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,GAC/D,IACC,IACL,CACT,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,IAAI,IAAC,GAAG,EAAE,EAAE,EAAE,IAAI,EAAC,QAAQ,aACvB,gBAAgB,EAAE,EAClB,WAAW,EAAE,IACX,CACV,CAAC;AACN,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
export declare const tabletInfoKeyset: (key: "field_links" | "field_scheme-shard" | "field_follower" | "field_generation" | "field_hive" | "field_state" | "field_uptime" | "field_node" | "field_developer-ui-app" | "field_developer-ui-counters" | "field_developer-ui-executor" | "field_developer-ui-state"
|
1
|
+
export declare const tabletInfoKeyset: (key: "field_links" | "title_info" | "title_links" | "field_scheme-shard" | "field_follower" | "field_generation" | "field_hive" | "field_state" | "field_uptime" | "field_node" | "field_developer-ui-app" | "field_developer-ui-counters" | "field_developer-ui-executor" | "field_developer-ui-state", params?: import("@gravity-ui/i18n").Params) => string;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import React from 'react';
|
3
|
-
import {
|
3
|
+
import { useTable } from '@gravity-ui/table';
|
4
|
+
import { Table } from '../../../../components/Table/Table';
|
4
5
|
import { getColumns } from './columns';
|
5
|
-
import { b } from './shared';
|
6
6
|
import { prepareData } from './utils';
|
7
7
|
import './TabletStorageInfo.scss';
|
8
8
|
export function TabletStorageInfo({ data }) {
|
@@ -20,17 +20,6 @@ export function TabletStorageInfo({ data }) {
|
|
20
20
|
expanded,
|
21
21
|
},
|
22
22
|
});
|
23
|
-
return (
|
24
|
-
//block wrapper for table
|
25
|
-
_jsx("div", { children: _jsx(Table, { table: table, headerCellClassName: ({ column }) => {
|
26
|
-
var _a;
|
27
|
-
const align = (_a = column.columnDef.meta) === null || _a === void 0 ? void 0 : _a.align;
|
28
|
-
return b('table-header-cell', { align });
|
29
|
-
}, cellClassName: (cell) => {
|
30
|
-
var _a, _b;
|
31
|
-
const align = (_a = cell === null || cell === void 0 ? void 0 : cell.column.columnDef.meta) === null || _a === void 0 ? void 0 : _a.align;
|
32
|
-
const verticalAlign = (_b = cell === null || cell === void 0 ? void 0 : cell.column.columnDef.meta) === null || _b === void 0 ? void 0 : _b.verticalAlign;
|
33
|
-
return b('table-cell', { align, 'vertical-align': verticalAlign });
|
34
|
-
}, className: b('table') }) }));
|
23
|
+
return _jsx(Table, { table: table });
|
35
24
|
}
|
36
25
|
//# sourceMappingURL=TabletStorageInfo.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabletStorageInfo.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"TabletStorageInfo.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAG3C,OAAO,EAAC,KAAK,EAAC,MAAM,oCAAoC,CAAC;AAGzD,OAAO,EAAC,UAAU,EAAC,MAAM,WAAW,CAAC;AACrC,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAEpC,OAAO,0BAA0B,CAAC;AAMlC,MAAM,UAAU,iBAAiB,CAAC,EAAC,IAAI,EAAyB;IAC5D,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAgB,EAAE,CAAC,CAAC;IAClE,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IAC5D,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,WAAC,OAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,MAAM,CAAA,EAAA,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IAC7F,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAC9E,MAAM,KAAK,GAAG,QAAQ,CAAC;QACnB,OAAO;QACP,IAAI,EAAE,IAAI;QACV,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ;QACnC,eAAe,EAAE,IAAI;QACrB,gBAAgB,EAAE,WAAW;QAC7B,KAAK,EAAE;YACH,QAAQ;SACX;KACJ,CAAC,CAAC;IACH,OAAO,KAAC,KAAK,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC;AACnC,CAAC"}
|
@@ -2,58 +2,7 @@
|
|
2
2
|
|
3
3
|
.ydb-tablet-storage-info {
|
4
4
|
$block: &;
|
5
|
-
&__table {
|
6
|
-
table-layout: fixed;
|
7
|
-
border-spacing: 0px;
|
8
|
-
border-collapse: collapse;
|
9
|
-
tr {
|
10
|
-
&:hover {
|
11
|
-
background-color: var(--g-color-base-simple-hover-solid) !important;
|
12
|
-
}
|
13
|
-
}
|
14
|
-
tr:nth-of-type(2n + 1) {
|
15
|
-
background-color: var(--g-color-base-generic-ultralight);
|
16
|
-
}
|
17
|
-
:is(#{$block}__table-header-cell) {
|
18
|
-
height: 40px;
|
19
|
-
padding: 0;
|
20
5
|
|
21
|
-
text-align: left;
|
22
|
-
|
23
|
-
background-color: var(--g-color-base-background);
|
24
|
-
@include mixins.text-subheader-2();
|
25
|
-
}
|
26
|
-
:is(#{$block}__table-cell) {
|
27
|
-
height: 40px;
|
28
|
-
padding: 0;
|
29
|
-
@include mixins.text-body-2();
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
&__table-header-cell {
|
34
|
-
&_align_right {
|
35
|
-
#{$block}__table-header-content {
|
36
|
-
justify-content: flex-end;
|
37
|
-
|
38
|
-
text-align: right;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
&__table-header-content {
|
44
|
-
display: flex;
|
45
|
-
align-items: center;
|
46
|
-
|
47
|
-
height: 100%;
|
48
|
-
padding: var(--g-spacing-1) var(--g-spacing-2);
|
49
|
-
|
50
|
-
vertical-align: middle;
|
51
|
-
|
52
|
-
border-bottom: 1px solid var(--g-color-line-generic);
|
53
|
-
}
|
54
|
-
:is(&__table-cell_align_right) {
|
55
|
-
text-align: right;
|
56
|
-
}
|
57
6
|
&__metrics-cell {
|
58
7
|
padding: var(--g-spacing-1) var(--g-spacing-2);
|
59
8
|
|
@@ -1,11 +1,9 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import { ArrowToggle, Button, Flex } from '@gravity-ui/uikit';
|
3
|
+
import { ColumnHeader } from '../../../../components/Table/Table';
|
3
4
|
import { formatTimestamp } from '../../../../utils/dataFormatters/dataFormatters';
|
4
5
|
import { tabletInfoKeyset } from './i18n';
|
5
6
|
import { b } from './shared';
|
6
|
-
function ColumnHeader({ name, className }) {
|
7
|
-
return _jsx("div", { className: b('table-header-content', className), children: name });
|
8
|
-
}
|
9
7
|
function metricsCell(info, formatter) {
|
10
8
|
const value = info.getValue();
|
11
9
|
const formattedValue = typeof formatter === 'function' ? formatter(value) : value;
|
@@ -19,33 +17,33 @@ export function getColumns(hasExpand) {
|
|
19
17
|
const columns = [
|
20
18
|
{
|
21
19
|
accessorKey: 'channelIndex',
|
22
|
-
header: () => _jsx(ColumnHeader, {
|
20
|
+
header: () => _jsx(ColumnHeader, { children: tabletInfoKeyset('label_channel-index') }),
|
23
21
|
size: 50,
|
24
22
|
cell: metricsCell,
|
25
23
|
meta: { align: 'right' },
|
26
24
|
},
|
27
25
|
{
|
28
26
|
accessorKey: 'storagePoolName',
|
29
|
-
header: () => _jsx(ColumnHeader, {
|
27
|
+
header: () => _jsx(ColumnHeader, { children: tabletInfoKeyset('label_storage-pool') }),
|
30
28
|
size: 200,
|
31
29
|
cell: metricsCell,
|
32
30
|
},
|
33
31
|
{
|
34
32
|
accessorKey: 'GroupID',
|
35
|
-
header: () => (_jsx(ColumnHeader, {
|
33
|
+
header: () => (_jsx(ColumnHeader, { className: hasExpand ? b('with-padding') : undefined, children: tabletInfoKeyset('label_group-id') })),
|
36
34
|
size: 100,
|
37
35
|
cell: (info) => (_jsx(GroupIdCell, { row: info.row, name: info.getValue(), hasExpand: hasExpand })),
|
38
36
|
},
|
39
37
|
{
|
40
38
|
accessorKey: 'FromGeneration',
|
41
|
-
header: () => _jsx(ColumnHeader, {
|
39
|
+
header: () => _jsx(ColumnHeader, { children: tabletInfoKeyset('label_generation') }),
|
42
40
|
size: 100,
|
43
41
|
cell: metricsCell,
|
44
42
|
meta: { align: 'right' },
|
45
43
|
},
|
46
44
|
{
|
47
45
|
accessorKey: 'Timestamp',
|
48
|
-
header: () => _jsx(ColumnHeader, {
|
46
|
+
header: () => _jsx(ColumnHeader, { children: tabletInfoKeyset('label_timestamp') }),
|
49
47
|
size: 200,
|
50
48
|
cell: (info) => metricsCell(info, formatTimestamp),
|
51
49
|
meta: { align: 'right' },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletStorageInfo/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAE,M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YACjF,IAAI,EAAE,GAAG;YACT,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,EAAC,KAAK,EAAE,OAAO,EAAC;SACzB;QACD;YACI,WAAW,EAAE,WAAW;YACxB,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,YAAY,cAAE,gBAAgB,CAAC,iBAAiB,CAAC,GAAgB;YAChF,IAAI,EAAE,GAAG;YACT,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,eAAe,CAAC;YAClD,IAAI,EAAE,EAAC,KAAK,EAAE,OAAO,EAAC;SACzB;KACJ,CAAC;IACF,OAAO,OAAO,CAAC;AACnB,CAAC"}
|
@@ -4,7 +4,7 @@ import { EntityStatus } from '../../../../components/EntityStatus/EntityStatus';
|
|
4
4
|
import { InternalLink } from '../../../../components/InternalLink/InternalLink';
|
5
5
|
import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
|
6
6
|
import { TabletState } from '../../../../components/TabletState/TabletState';
|
7
|
-
import {
|
7
|
+
import { getUptimeFromDateFormatted } from '../../../../utils/dataFormatters/dataFormatters';
|
8
8
|
import { getDefaultNodePath } from '../../../Node/NodePages';
|
9
9
|
const TABLET_COLUMNS_WIDTH_LS_KEY = 'tabletTableColumnsWidth';
|
10
10
|
const columns = [
|
@@ -17,7 +17,7 @@ const columns = [
|
|
17
17
|
name: 'Change time',
|
18
18
|
align: DataTable.RIGHT,
|
19
19
|
sortable: false,
|
20
|
-
render: ({ row }) =>
|
20
|
+
render: ({ row }) => getUptimeFromDateFormatted(row.changeTime),
|
21
21
|
},
|
22
22
|
{
|
23
23
|
name: 'State',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabletTable.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletTable/TabletTable.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,WAAW,EAAC,MAAM,gDAAgD,CAAC;AAE3E,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"TabletTable.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletTable/TabletTable.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,WAAW,EAAC,MAAM,gDAAgD,CAAC;AAE3E,OAAO,EAAC,0BAA0B,EAAC,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EAAC,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAE3D,MAAM,2BAA2B,GAAG,yBAAyB,CAAC;AAE9D,MAAM,OAAO,GAAyC;IAClD;QACI,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,SAAS,CAAC,KAAK;QACtB,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU;KACpC;IACD;QACI,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,SAAS,CAAC,KAAK;QACtB,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,0BAA0B,CAAC,GAAG,CAAC,UAAU,CAAC;KAChE;IACD;QACI,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,KAAC,WAAW,IAAC,KAAK,EAAE,GAAG,CAAC,KAAK,GAAI;KACvD;IACD;QACI,I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@@ -12,7 +12,7 @@ import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentic
|
|
12
12
|
import { tabletApi } from '../../store/reducers/tablet';
|
13
13
|
import { ETabletState } from '../../types/api/tablet';
|
14
14
|
import { DEFAULT_TABLE_SETTINGS, EMPTY_DATA_PLACEHOLDER } from '../../utils/constants';
|
15
|
-
import {
|
15
|
+
import { getUptimeFromDateFormatted } from '../../utils/dataFormatters/dataFormatters';
|
16
16
|
import { useTypedSelector } from '../../utils/hooks';
|
17
17
|
import { getDefaultNodePath } from '../Node/NodePages';
|
18
18
|
import i18n from './i18n';
|
@@ -87,7 +87,7 @@ function getColumns({ database }) {
|
|
87
87
|
return i18n('Uptime');
|
88
88
|
},
|
89
89
|
render: ({ row }) => {
|
90
|
-
return
|
90
|
+
return getUptimeFromDateFormatted(row.ChangeTime);
|
91
91
|
},
|
92
92
|
sortAccessor: (row) => -Number(row.ChangeTime),
|
93
93
|
align: 'right',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabletsTable.js","sourceRoot":"","sources":["../../../src/containers/Tablets/TabletsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,YAAY,EAAC,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAC,aAAa,EAAC,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAC,iBAAiB,EAAC,MAAM,sDAAsD,CAAC;AACvF,OAAO,EAAC,WAAW,EAAC,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC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,CAAC;QACV,OAAO,KAAC,aAAa,KAAG,CAAC;IAC7B,CAAC;IACD,OAAO,CACH,KAAC,mBAAmB,IAChB,gBAAgB,EAAE,SAAS,EAC3B,OAAO,EAAE,UAAU,CAAC,EAAC,QAAQ,EAAC,CAAC,EAC/B,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,sBAAsB,EAChC,gBAAgB,EAAE,IAAI,CAAC,eAAe,CAAC,GACzC,CACL,CAAC;AACN,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "no-data" | "disabled" | "td-feature-flag" | "td-default" | "td-current" | "
|
1
|
+
declare const _default: (key: "no-data" | "disabled" | "enabled" | "td-feature-flag" | "td-default" | "td-current" | "flag-touched" | "search-placeholder" | "search-empty", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1,15 +1,14 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import { ClipboardButton } from '@gravity-ui/uikit';
|
3
|
-
import JSONTree from 'react-json-inspector';
|
4
3
|
import { shallowEqual } from 'react-redux';
|
5
4
|
import { ResponseError } from '../../../../components/Errors/ResponseError';
|
5
|
+
import { JSONTree } from '../../../../components/JSONTree/JSONTree';
|
6
6
|
import { Loader } from '../../../../components/Loader';
|
7
7
|
import { selectSchemaMergedChildrenPaths, useGetMultiOverviewQuery, } from '../../../../store/reducers/overview/overview';
|
8
8
|
import { cn } from '../../../../utils/cn';
|
9
9
|
import { useAutoRefreshInterval, useTypedSelector } from '../../../../utils/hooks';
|
10
10
|
import { isEntityWithMergedImplementation } from '../../utils/schema';
|
11
11
|
import './Describe.scss';
|
12
|
-
import 'react-json-inspector/json-inspector.css';
|
13
12
|
const b = cn('ydb-describe');
|
14
13
|
const expandMap = new Map();
|
15
14
|
const Describe = ({ path, database, type }) => {
|
@@ -44,11 +43,9 @@ const Describe = ({ path, database, type }) => {
|
|
44
43
|
if (!preparedDescribeData && !error) {
|
45
44
|
return _jsx("div", { className: b('message-container'), children: "Empty" });
|
46
45
|
}
|
47
|
-
return (_jsxs("div", { className: b(), children: [error ? _jsx(ResponseError, { error: error }) : null, preparedDescribeData ? (_jsxs("div", { className: b('result'), children: [_jsx(JSONTree, { data: preparedDescribeData,
|
46
|
+
return (_jsxs("div", { className: b(), children: [error ? _jsx(ResponseError, { error: error }) : null, preparedDescribeData ? (_jsxs("div", { className: b('result'), children: [_jsx(JSONTree, { data: preparedDescribeData, onClick: ({ path }) => {
|
48
47
|
const newValue = !(expandMap.get(path) || false);
|
49
48
|
expandMap.set(path, newValue);
|
50
|
-
}, searchOptions: {
|
51
|
-
debounceTime: 300,
|
52
49
|
}, isExpanded: (keypath) => {
|
53
50
|
return expandMap.get(keypath) || false;
|
54
51
|
} }), _jsx(ClipboardButton, { view: "flat-secondary", text: JSON.stringify(preparedDescribeData), className: b('copy') })] })) : null] }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Describe.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Describe/Describe.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,
|
1
|
+
{"version":3,"file":"Describe.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Describe/Describe.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,QAAQ,EAAC,MAAM,0CAA0C,CAAC;AAClE,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EACH,+BAA+B,EAC/B,wBAAwB,GAC3B,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OA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"}
|
@@ -13,7 +13,7 @@ import { useTypedDispatch, useTypedSelector } from '../../../utils/hooks';
|
|
13
13
|
import { Heatmap } from '../../Heatmap';
|
14
14
|
import { Nodes } from '../../Nodes/Nodes';
|
15
15
|
import { Operations } from '../../Operations';
|
16
|
-
import {
|
16
|
+
import { PaginatedStorage } from '../../Storage/PaginatedStorage';
|
17
17
|
import { Tablets } from '../../Tablets';
|
18
18
|
import { SchemaViewer } from '../Schema/SchemaViewer/SchemaViewer';
|
19
19
|
import { TenantTabsGroups, getTenantPath } from '../TenantPages';
|
@@ -75,7 +75,7 @@ function Diagnostics(props) {
|
|
75
75
|
return _jsx(Tablets, { path: path, database: tenantName });
|
76
76
|
}
|
77
77
|
case TENANT_DIAGNOSTICS_TABS_IDS.storage: {
|
78
|
-
return _jsx(
|
78
|
+
return _jsx(PaginatedStorage, { database: tenantName, parentRef: containerRef });
|
79
79
|
}
|
80
80
|
case TENANT_DIAGNOSTICS_TABS_IDS.network: {
|
81
81
|
return (_jsx(NetworkWrapper, { path: path, database: tenantName, additionalNodesProps: props.additionalNodesProps, parentRef: containerRef }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Diagnostics.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/Diagnostics.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,kBAAkB,EAAC,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAC,wBAAwB,EAAC,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AACrF,OAAO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string;
|
10
|
-
} | {
|
11
|
-
id: "tablets";
|
12
|
-
title: string;
|
13
|
-
} | {
|
14
|
-
id: "describe";
|
15
|
-
title: string;
|
16
|
-
})[];
|
17
|
-
export declare const DATABASE_PAGES: ({
|
18
|
-
id: "overview";
|
19
|
-
title: string;
|
20
|
-
} | {
|
21
|
-
id: "topQueries";
|
22
|
-
title: string;
|
23
|
-
} | {
|
24
|
-
id: "topShards";
|
25
|
-
title: string;
|
26
|
-
} | {
|
27
|
-
id: "nodes";
|
28
|
-
title: string;
|
29
|
-
} | {
|
30
|
-
id: "tablets";
|
31
|
-
title: string;
|
32
|
-
} | {
|
33
|
-
id: "storage";
|
34
|
-
title: string;
|
35
|
-
} | {
|
36
|
-
id: "network";
|
37
|
-
title: string;
|
38
|
-
} | {
|
39
|
-
id: "describe";
|
40
|
-
title: string;
|
41
|
-
} | {
|
42
|
-
id: "configs";
|
43
|
-
title: string;
|
44
|
-
} | {
|
45
|
-
id: "operations";
|
46
|
-
title: string;
|
47
|
-
})[];
|
48
|
-
export declare const TABLE_PAGES: ({
|
49
|
-
id: "overview";
|
50
|
-
title: string;
|
51
|
-
} | {
|
52
|
-
id: "schema";
|
53
|
-
title: string;
|
54
|
-
} | {
|
55
|
-
id: "topShards";
|
56
|
-
title: string;
|
57
|
-
} | {
|
58
|
-
id: "nodes";
|
59
|
-
title: string;
|
60
|
-
} | {
|
61
|
-
id: "tablets";
|
62
|
-
title: string;
|
63
|
-
} | {
|
64
|
-
id: "describe";
|
65
|
-
title: string;
|
66
|
-
} | {
|
67
|
-
id: "hotKeys";
|
68
|
-
title: string;
|
69
|
-
} | {
|
70
|
-
id: "graph";
|
71
|
-
title: string;
|
72
|
-
})[];
|
73
|
-
export declare const COLUMN_TABLE_PAGES: ({
|
74
|
-
id: "overview";
|
75
|
-
title: string;
|
76
|
-
} | {
|
77
|
-
id: "schema";
|
78
|
-
title: string;
|
79
|
-
} | {
|
80
|
-
id: "topShards";
|
81
|
-
title: string;
|
82
|
-
} | {
|
83
|
-
id: "nodes";
|
84
|
-
title: string;
|
85
|
-
} | {
|
86
|
-
id: "tablets";
|
87
|
-
title: string;
|
88
|
-
} | {
|
89
|
-
id: "describe";
|
90
|
-
title: string;
|
91
|
-
})[];
|
92
|
-
export declare const DIR_PAGES: ({
|
93
|
-
id: "overview";
|
94
|
-
title: string;
|
95
|
-
} | {
|
96
|
-
id: "topShards";
|
97
|
-
title: string;
|
98
|
-
} | {
|
99
|
-
id: "nodes";
|
100
|
-
title: string;
|
101
|
-
} | {
|
102
|
-
id: "describe";
|
103
|
-
title: string;
|
104
|
-
})[];
|
105
|
-
export declare const CDC_STREAM_PAGES: ({
|
106
|
-
id: "overview";
|
107
|
-
title: string;
|
108
|
-
} | {
|
109
|
-
id: "nodes";
|
110
|
-
title: string;
|
111
|
-
} | {
|
112
|
-
id: "tablets";
|
113
|
-
title: string;
|
114
|
-
} | {
|
115
|
-
id: "describe";
|
116
|
-
title: string;
|
117
|
-
} | {
|
118
|
-
id: "consumers";
|
119
|
-
title: string;
|
120
|
-
} | {
|
121
|
-
id: "partitions";
|
122
|
-
title: string;
|
123
|
-
})[];
|
124
|
-
export declare const TOPIC_PAGES: ({
|
125
|
-
id: "overview";
|
126
|
-
title: string;
|
127
|
-
} | {
|
128
|
-
id: "nodes";
|
129
|
-
title: string;
|
130
|
-
} | {
|
131
|
-
id: "tablets";
|
132
|
-
title: string;
|
133
|
-
} | {
|
134
|
-
id: "describe";
|
135
|
-
title: string;
|
136
|
-
} | {
|
137
|
-
id: "consumers";
|
138
|
-
title: string;
|
139
|
-
} | {
|
140
|
-
id: "partitions";
|
141
|
-
title: string;
|
142
|
-
})[];
|
143
|
-
export declare const EXTERNAL_DATA_SOURCE_PAGES: ({
|
144
|
-
id: "overview";
|
145
|
-
title: string;
|
146
|
-
} | {
|
147
|
-
id: "describe";
|
148
|
-
title: string;
|
149
|
-
})[];
|
150
|
-
export declare const EXTERNAL_TABLE_PAGES: ({
|
151
|
-
id: "overview";
|
152
|
-
title: string;
|
153
|
-
} | {
|
154
|
-
id: "schema";
|
155
|
-
title: string;
|
156
|
-
} | {
|
157
|
-
id: "describe";
|
158
|
-
title: string;
|
159
|
-
})[];
|
160
|
-
export declare const VIEW_PAGES: ({
|
161
|
-
id: "overview";
|
162
|
-
title: string;
|
163
|
-
} | {
|
164
|
-
id: "schema";
|
165
|
-
title: string;
|
166
|
-
} | {
|
167
|
-
id: "describe";
|
168
|
-
title: string;
|
169
|
-
})[];
|
170
7
|
export declare const getPagesByType: (type?: EPathType) => Page[];
|
171
8
|
export declare const getDataBasePages: ({ hasFeatureFlags }: {
|
172
9
|
hasFeatureFlags?: boolean;
|
@@ -60,8 +60,8 @@ const operations = {
|
|
60
60
|
id: TENANT_DIAGNOSTICS_TABS_IDS.operations,
|
61
61
|
title: 'Operations',
|
62
62
|
};
|
63
|
-
|
64
|
-
|
63
|
+
const ASYNC_REPLICATION_PAGES = [overview, tablets, describe];
|
64
|
+
const DATABASE_PAGES = [
|
65
65
|
overview,
|
66
66
|
topQueries,
|
67
67
|
topShards,
|
@@ -73,14 +73,14 @@ export const DATABASE_PAGES = [
|
|
73
73
|
configs,
|
74
74
|
operations,
|
75
75
|
];
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
76
|
+
const TABLE_PAGES = [overview, schema, topShards, nodes, graph, tablets, hotKeys, describe];
|
77
|
+
const COLUMN_TABLE_PAGES = [overview, schema, topShards, nodes, tablets, describe];
|
78
|
+
const DIR_PAGES = [overview, topShards, nodes, describe];
|
79
|
+
const CDC_STREAM_PAGES = [overview, consumers, partitions, nodes, tablets, describe];
|
80
|
+
const TOPIC_PAGES = [overview, consumers, partitions, nodes, tablets, describe];
|
81
|
+
const EXTERNAL_DATA_SOURCE_PAGES = [overview, describe];
|
82
|
+
const EXTERNAL_TABLE_PAGES = [overview, schema, describe];
|
83
|
+
const VIEW_PAGES = [overview, schema, describe];
|
84
84
|
// verbose mapping to guarantee correct tabs for new path types
|
85
85
|
// TS will error when a new type is added but not mapped here
|
86
86
|
const pathTypeToPages = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DiagnosticsPages.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/DiagnosticsPages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AAErF,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AAOpD,MAAM,QAAQ,GAAG;IACb,EAAE,EAAE,2BAA2B,CAAC,QAAQ;IACxC,KAAK,EAAE,MAAM;CAChB,CAAC;AAEF,MAAM,MAAM,GAAG;IACX,EAAE,EAAE,2BAA2B,CAAC,MAAM;IACtC,KAAK,EAAE,QAAQ;CAClB,CAAC;AAEF,MAAM,UAAU,GAAG;IACf,EAAE,EAAE,2BAA2B,CAAC,UAAU;IAC1C,KAAK,EAAE,SAAS;CACnB,CAAC;AAEF,MAAM,SAAS,GAAG;IACd,EAAE,EAAE,2BAA2B,CAAC,SAAS;IACzC,KAAK,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,KAAK,GAAG;IACV,EAAE,EAAE,2BAA2B,CAAC,KAAK;IACrC,KAAK,EAAE,OAAO;CACjB,CAAC;AAEF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AACF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AACF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AAEF,MAAM,QAAQ,GAAG;IACb,EAAE,EAAE,2BAA2B,CAAC,QAAQ;IACxC,KAAK,EAAE,UAAU;CACpB,CAAC;AAEF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,UAAU;CACpB,CAAC;AAEF,MAAM,KAAK,GAAG;IACV,EAAE,EAAE,2BAA2B,CAAC,KAAK;IACrC,KAAK,EAAE,OAAO;CACjB,CAAC;AAEF,MAAM,SAAS,GAAG;IACd,EAAE,EAAE,2BAA2B,CAAC,SAAS;IACzC,KAAK,EAAE,WAAW;CACrB,CAAC;AAEF,MAAM,UAAU,GAAG;IACf,EAAE,EAAE,2BAA2B,CAAC,UAAU;IAC1C,KAAK,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AAEF,MAAM,UAAU,GAAG;IACf,EAAE,EAAE,2BAA2B,CAAC,UAAU;IAC1C,KAAK,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,
|
1
|
+
{"version":3,"file":"DiagnosticsPages.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/DiagnosticsPages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AAErF,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AAOpD,MAAM,QAAQ,GAAG;IACb,EAAE,EAAE,2BAA2B,CAAC,QAAQ;IACxC,KAAK,EAAE,MAAM;CAChB,CAAC;AAEF,MAAM,MAAM,GAAG;IACX,EAAE,EAAE,2BAA2B,CAAC,MAAM;IACtC,KAAK,EAAE,QAAQ;CAClB,CAAC;AAEF,MAAM,UAAU,GAAG;IACf,EAAE,EAAE,2BAA2B,CAAC,UAAU;IAC1C,KAAK,EAAE,SAAS;CACnB,CAAC;AAEF,MAAM,SAAS,GAAG;IACd,EAAE,EAAE,2BAA2B,CAAC,SAAS;IACzC,KAAK,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,KAAK,GAAG;IACV,EAAE,EAAE,2BAA2B,CAAC,KAA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