ydb-embedded-ui 22.4.0 → 22.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AutoRefreshControl/StickyAutoRefreshControl.d.ts +2 -0
- package/dist/components/AutoRefreshControl/StickyAutoRefreshControl.js +9 -0
- package/dist/components/AutoRefreshControl/StickyAutoRefreshControl.js.map +1 -0
- package/dist/components/AutoRefreshControl/StickyAutoRefreshControl.scss +18 -0
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.d.ts +3 -2
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js +19 -4
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js.map +1 -1
- package/dist/components/CopyableValue/CopyableValue.d.ts +10 -0
- package/dist/components/CopyableValue/CopyableValue.js +10 -0
- package/dist/components/CopyableValue/CopyableValue.js.map +1 -0
- package/dist/components/CopyableValue/CopyableValue.scss +16 -0
- package/dist/components/CopyableValue/i18n/en.json +3 -0
- package/dist/components/CopyableValue/i18n/index.d.ts +2 -0
- package/dist/components/CopyableValue/i18n/index.js +6 -0
- package/dist/components/CopyableValue/i18n/index.js.map +1 -0
- package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +2 -1
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +2 -1
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
- package/dist/components/DiskCapacityInfo/DiskCapacityInfo.d.ts +1 -21
- package/dist/components/DiskCapacityInfo/DiskCapacityInfo.js +40 -126
- package/dist/components/DiskCapacityInfo/DiskCapacityInfo.js.map +1 -1
- package/dist/components/DiskCapacityInfo/i18n/en.json +0 -1
- package/dist/components/DiskCapacityInfo/i18n/index.d.ts +1 -1
- package/dist/components/EntityStatus/EntityStatus.d.ts +18 -6
- package/dist/components/EntityStatus/EntityStatus.js +5 -1
- package/dist/components/EntityStatus/EntityStatus.js.map +1 -1
- package/dist/components/EntityStatus/EntityStatus.scss +5 -0
- package/dist/components/EvictVDiskButton/EvictVDiskButton.d.ts +5 -2
- package/dist/components/EvictVDiskButton/EvictVDiskButton.js +3 -2
- package/dist/components/EvictVDiskButton/EvictVDiskButton.js.map +1 -1
- package/dist/components/EvictVDiskButton/i18n/en.json +2 -2
- package/dist/components/FullNodeViewer/FullNodeViewer.js +4 -7
- package/dist/components/FullNodeViewer/FullNodeViewer.js.map +1 -1
- package/dist/components/FullNodeViewer/i18n/index.d.ts +1 -1
- package/dist/components/HideUnavailableNodesSwitch/HideUnavailableNodesSwitch.d.ts +3 -0
- package/dist/components/HideUnavailableNodesSwitch/HideUnavailableNodesSwitch.js +12 -0
- package/dist/components/HideUnavailableNodesSwitch/HideUnavailableNodesSwitch.js.map +1 -0
- package/dist/components/HideUnavailableNodesSwitch/i18n/en.json +3 -0
- package/dist/components/HideUnavailableNodesSwitch/i18n/index.d.ts +2 -0
- package/dist/components/HideUnavailableNodesSwitch/i18n/index.js +6 -0
- package/dist/components/HideUnavailableNodesSwitch/i18n/index.js.map +1 -0
- package/dist/components/HideUnavailableNodesSwitch/i18n/ru.json +3 -0
- package/dist/components/HoverPopup/HoverPopup.d.ts +1 -0
- package/dist/components/HoverPopup/HoverPopup.js +87 -16
- package/dist/components/HoverPopup/HoverPopup.js.map +1 -1
- package/dist/components/MemoryViewer/MemoryViewer.d.ts +3 -1
- package/dist/components/MemoryViewer/MemoryViewer.js +25 -16
- package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -1
- package/dist/components/MemoryViewer/i18n/en.json +4 -3
- package/dist/components/MemoryViewer/i18n/index.d.ts +1 -1
- package/dist/components/MemoryViewer/utils.d.ts +4 -2
- package/dist/components/MemoryViewer/utils.js +11 -11
- package/dist/components/MemoryViewer/utils.js.map +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.d.ts +4 -9
- package/dist/components/PDiskInfo/PDiskInfo.js +32 -144
- package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.scss +15 -0
- package/dist/components/PDiskInfo/PDiskLogSize.js +1 -1
- package/dist/components/PDiskInfo/PDiskLogSize.js.map +1 -1
- package/dist/components/PDiskInfo/i18n/en.json +6 -3
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskInfo/statuses.js +12 -3
- package/dist/components/PDiskInfo/statuses.js.map +1 -1
- package/dist/components/PageMeta/PageMeta.d.ts +0 -2
- package/dist/components/PageMeta/PageMeta.js +1 -6
- package/dist/components/PageMeta/PageMeta.js.map +1 -1
- package/dist/components/Search/Search.js +3 -1
- package/dist/components/Search/Search.js.map +1 -1
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js +4 -9
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -1
- package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -1
- package/dist/components/TenantNameWrapper/i18n/index.d.ts +1 -1
- package/dist/components/VDisk/VDisk.js +2 -2
- package/dist/components/VDisk/VDisk.js.map +1 -1
- package/dist/components/VDiskInfo/VDiskInfo.d.ts +3 -7
- package/dist/components/VDiskInfo/VDiskInfo.js +57 -235
- package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
- package/dist/components/VDiskInfo/VDiskInfo.scss +19 -3
- package/dist/components/VDiskInfo/getVDiskDetails.d.ts +7 -1
- package/dist/components/VDiskInfo/getVDiskDetails.js +14 -1
- package/dist/components/VDiskInfo/getVDiskDetails.js.map +1 -1
- package/dist/components/VDiskInfo/i18n/en.json +4 -13
- package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.d.ts +2 -1
- package/dist/components/VDiskPopup/VDiskPopup.js +10 -26
- package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
- package/dist/components/VDiskPopup/i18n/en.json +0 -2
- package/dist/components/VDiskPopup/i18n/index.d.ts +1 -1
- package/dist/components/VDiskStatus/VDiskReplicationStatus.js +1 -1
- package/dist/components/VDiskStatus/VDiskReplicationStatus.js.map +1 -1
- package/dist/components/VDiskStatus/VDiskStatus.js +2 -2
- package/dist/components/VDiskStatus/VDiskStatus.js.map +1 -1
- package/dist/components/VDiskStatus/VDiskStatus.scss +4 -0
- package/dist/components/VDiskStatus/statuses.js +2 -2
- package/dist/components/VDiskStatus/statuses.js.map +1 -1
- package/dist/components/nodesColumns/columns.d.ts +1 -0
- package/dist/components/nodesColumns/columns.js +13 -6
- package/dist/components/nodesColumns/columns.js.map +1 -1
- package/dist/containers/Clusters/Clusters.js +35 -6
- package/dist/containers/Clusters/Clusters.js.map +1 -1
- package/dist/containers/Clusters/Clusters.scss +24 -6
- package/dist/containers/Clusters/columns.js +9 -4
- package/dist/containers/Clusters/columns.js.map +1 -1
- package/dist/containers/Clusters/i18n/en.json +6 -0
- package/dist/containers/Clusters/i18n/index.d.ts +1 -1
- package/dist/containers/Header/Header.js +8 -0
- package/dist/containers/Header/Header.js.map +1 -1
- package/dist/containers/Header/HeaderLeftControls.js +3 -1
- package/dist/containers/Header/HeaderLeftControls.js.map +1 -1
- package/dist/containers/Header/PDiskLeftControls.d.ts +1 -0
- package/dist/containers/Header/PDiskLeftControls.js +24 -0
- package/dist/containers/Header/PDiskLeftControls.js.map +1 -0
- package/dist/containers/Header/VDiskLeftControls.d.ts +1 -0
- package/dist/containers/Header/VDiskLeftControls.js +23 -0
- package/dist/containers/Header/VDiskLeftControls.js.map +1 -0
- package/dist/containers/Header/breadcrumbs.js +5 -2
- package/dist/containers/Header/breadcrumbs.js.map +1 -1
- package/dist/containers/Header/i18n/en.json +4 -1
- package/dist/containers/Header/i18n/index.d.ts +1 -1
- package/dist/containers/Node/Node.js +4 -3
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Node/Node.scss +14 -2
- package/dist/containers/Nodes/NodesControls/NodesControls.js +2 -1
- package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -1
- package/dist/containers/Nodes/NodesTable.js +4 -0
- package/dist/containers/Nodes/NodesTable.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes/GroupedNodesComponent.js +8 -3
- package/dist/containers/Nodes/PaginatedNodes/GroupedNodesComponent.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes/NodesComponent.js +12 -2
- package/dist/containers/Nodes/PaginatedNodes/NodesComponent.js.map +1 -1
- package/dist/containers/Nodes/getNodes.js +2 -1
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/Nodes/useDebouncedSearch.d.ts +2 -0
- package/dist/containers/Nodes/useDebouncedSearch.js +11 -0
- package/dist/containers/Nodes/useDebouncedSearch.js.map +1 -0
- package/dist/containers/PDiskPage/PDiskPage.js +24 -34
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +29 -11
- package/dist/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.js +3 -3
- package/dist/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskStorageDetails.d.ts +6 -0
- package/dist/containers/PDiskPage/PDiskStorageDetails.js +28 -0
- package/dist/containers/PDiskPage/PDiskStorageDetails.js.map +1 -0
- package/dist/containers/PDiskPage/PDiskStorageDetails.scss +51 -0
- package/dist/containers/PDiskPage/i18n/en.json +1 -0
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/PaginatedStorageGroupsTable/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/PaginatedStorageNodes/GroupedStorageNodesComponent.js +3 -0
- package/dist/containers/Storage/PaginatedStorageNodes/GroupedStorageNodesComponent.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageNodes/StorageNodesComponent.js +8 -1
- package/dist/containers/Storage/PaginatedStorageNodes/StorageNodesComponent.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageNodes/StorageNodesControls.js +2 -1
- package/dist/containers/Storage/PaginatedStorageNodes/StorageNodesControls.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageNodesTable/PaginatedStorageNodesTable.js +4 -0
- package/dist/containers/Storage/PaginatedStorageNodesTable/PaginatedStorageNodesTable.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageNodesTable/getNodes.js +2 -1
- package/dist/containers/Storage/PaginatedStorageNodesTable/getNodes.js.map +1 -1
- package/dist/containers/Storage/Storage.scss +4 -0
- package/dist/containers/Storage/StorageExpertModePanel/constants.d.ts +1 -1
- package/dist/containers/Storage/StorageExpertModePanel/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/useStorageQueryParams.d.ts +4 -4
- package/dist/containers/StorageGroupPage/StorageGroupPage.js +5 -14
- package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.scss +19 -4
- package/dist/containers/StorageGroupPage/i18n/en.json +0 -2
- package/dist/containers/StorageGroupPage/i18n/index.d.ts +1 -1
- package/dist/containers/Tablet/Tablet.js +3 -2
- package/dist/containers/Tablet/Tablet.js.map +1 -1
- package/dist/containers/Tablet/Tablet.scss +15 -1
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/ManagePartitioningDialog/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +5 -12
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Healthcheck/Healthcheck.scss +6 -1
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssue.js +2 -2
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssue.js.map +1 -1
- package/dist/containers/Tenant/TenantDrawerHealthcheck.js +10 -2
- package/dist/containers/Tenant/TenantDrawerHealthcheck.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.js +27 -36
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.scss +39 -7
- package/dist/containers/VDiskPage/VDiskStorageDetails.js +27 -29
- package/dist/containers/VDiskPage/VDiskStorageDetails.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskStorageDetails.scss +24 -93
- package/dist/containers/VDiskPage/i18n/en.json +2 -12
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
- package/dist/store/reducers/capabilities/hooks.js +3 -0
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/cluster/parseFields.js +1 -0
- package/dist/store/reducers/cluster/parseFields.js.map +1 -1
- package/dist/store/reducers/clusters/clusters.js +1 -0
- package/dist/store/reducers/clusters/clusters.js.map +1 -1
- package/dist/store/reducers/clusters/selectors.d.ts +1 -0
- package/dist/store/reducers/clusters/selectors.js +4 -1
- package/dist/store/reducers/clusters/selectors.js.map +1 -1
- package/dist/store/reducers/clusters/types.d.ts +2 -0
- package/dist/store/reducers/nodes/types.d.ts +1 -0
- package/dist/store/reducers/storage/prepareGroupsDisks.d.ts +1 -1
- package/dist/store/reducers/storage/prepareGroupsDisks.js +2 -1
- package/dist/store/reducers/storage/prepareGroupsDisks.js.map +1 -1
- package/dist/store/reducers/storage/types.d.ts +1 -0
- package/dist/store/reducers/storage/utils.js +10 -3
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/store/reducers/vdisk/types.d.ts +1 -1
- package/dist/store/reducers/vdisk/utils.js +5 -5
- package/dist/store/reducers/vdisk/utils.js.map +1 -1
- package/dist/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/meta.d.ts +1 -0
- package/dist/types/api/nodes.d.ts +2 -0
- package/dist/types/api/nodesList.d.ts +2 -0
- package/dist/utils/hooks/useDatabaseHealthcheckAvailable.d.ts +2 -0
- package/dist/utils/hooks/useDatabaseHealthcheckAvailable.js +6 -0
- package/dist/utils/hooks/useDatabaseHealthcheckAvailable.js.map +1 -0
- package/dist/utils/hooks/useHideUnavailableNodes.d.ts +5 -0
- package/dist/utils/hooks/useHideUnavailableNodes.js +21 -0
- package/dist/utils/hooks/useHideUnavailableNodes.js.map +1 -0
- package/dist/utils/memory.d.ts +5 -0
- package/dist/utils/memory.js +9 -0
- package/dist/utils/memory.js.map +1 -0
- package/dist/utils/nodes.js +3 -3
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/storageMetrics.d.ts +1 -0
- package/dist/utils/storageMetrics.js +8 -0
- package/dist/utils/storageMetrics.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AutoRefreshControl/StickyAutoRefreshControl.scss +18 -0
- package/src/components/AutoRefreshControl/StickyAutoRefreshControl.tsx +15 -0
- package/src/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.tsx +22 -3
- package/src/components/CopyableValue/CopyableValue.scss +16 -0
- package/src/components/CopyableValue/CopyableValue.tsx +40 -0
- package/src/components/CopyableValue/i18n/en.json +3 -0
- package/src/components/CopyableValue/i18n/index.ts +8 -0
- package/src/components/CriticalActionDialog/CriticalActionDialog.tsx +3 -0
- package/src/components/DiskCapacityInfo/DiskCapacityInfo.tsx +40 -185
- package/src/components/DiskCapacityInfo/i18n/en.json +0 -1
- package/src/components/EntityStatus/EntityStatus.scss +5 -0
- package/src/components/EntityStatus/EntityStatus.tsx +38 -5
- package/src/components/EvictVDiskButton/EvictVDiskButton.tsx +10 -2
- package/src/components/EvictVDiskButton/i18n/en.json +2 -2
- package/src/components/FullNodeViewer/FullNodeViewer.tsx +4 -9
- package/src/components/HideUnavailableNodesSwitch/HideUnavailableNodesSwitch.tsx +24 -0
- package/src/components/HideUnavailableNodesSwitch/i18n/en.json +3 -0
- package/src/components/HideUnavailableNodesSwitch/i18n/index.ts +7 -0
- package/src/components/HideUnavailableNodesSwitch/i18n/ru.json +3 -0
- package/src/components/HoverPopup/HoverPopup.tsx +95 -19
- package/src/components/MemoryViewer/MemoryViewer.tsx +30 -17
- package/src/components/MemoryViewer/i18n/en.json +4 -3
- package/src/components/MemoryViewer/utils.ts +19 -12
- package/src/components/PDiskInfo/PDiskInfo.scss +15 -0
- package/src/components/PDiskInfo/PDiskInfo.tsx +51 -243
- package/src/components/PDiskInfo/PDiskLogSize.tsx +12 -8
- package/src/components/PDiskInfo/i18n/en.json +6 -3
- package/src/components/PDiskInfo/statuses.ts +16 -3
- package/src/components/PageMeta/PageMeta.tsx +0 -18
- package/src/components/Search/Search.tsx +5 -2
- package/src/components/StorageGroupInfo/StorageGroupInfo.tsx +8 -13
- package/src/components/VDisk/VDisk.tsx +3 -2
- package/src/components/VDiskInfo/VDiskInfo.scss +19 -3
- package/src/components/VDiskInfo/VDiskInfo.tsx +119 -341
- package/src/components/VDiskInfo/getVDiskDetails.tsx +24 -2
- package/src/components/VDiskInfo/i18n/en.json +4 -13
- package/src/components/VDiskPopup/VDiskPopup.tsx +16 -24
- package/src/components/VDiskPopup/i18n/en.json +0 -2
- package/src/components/VDiskStatus/VDiskReplicationStatus.tsx +1 -1
- package/src/components/VDiskStatus/VDiskStatus.scss +4 -0
- package/src/components/VDiskStatus/VDiskStatus.tsx +13 -2
- package/src/components/VDiskStatus/statuses.ts +2 -2
- package/src/components/nodesColumns/columns.tsx +26 -12
- package/src/containers/Clusters/Clusters.scss +24 -6
- package/src/containers/Clusters/Clusters.tsx +74 -5
- package/src/containers/Clusters/columns.tsx +36 -6
- package/src/containers/Clusters/i18n/en.json +6 -0
- package/src/containers/Header/Header.tsx +8 -0
- package/src/containers/Header/HeaderLeftControls.tsx +3 -1
- package/src/containers/Header/PDiskLeftControls.tsx +41 -0
- package/src/containers/Header/VDiskLeftControls.tsx +40 -0
- package/src/containers/Header/breadcrumbs.tsx +4 -2
- package/src/containers/Header/i18n/en.json +4 -1
- package/src/containers/Node/Node.scss +14 -2
- package/src/containers/Node/Node.tsx +6 -6
- package/src/containers/Nodes/NodesControls/NodesControls.tsx +3 -0
- package/src/containers/Nodes/NodesTable.tsx +4 -0
- package/src/containers/Nodes/PaginatedNodes/GroupedNodesComponent.tsx +8 -3
- package/src/containers/Nodes/PaginatedNodes/NodesComponent.tsx +12 -2
- package/src/containers/Nodes/getNodes.ts +2 -0
- package/src/containers/Nodes/useDebouncedSearch.ts +13 -0
- package/src/containers/PDiskPage/PDiskPage.scss +29 -11
- package/src/containers/PDiskPage/PDiskPage.tsx +69 -63
- package/src/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.tsx +3 -9
- package/src/containers/PDiskPage/PDiskStorageDetails.scss +51 -0
- package/src/containers/PDiskPage/PDiskStorageDetails.tsx +64 -0
- package/src/containers/PDiskPage/i18n/en.json +1 -0
- package/src/containers/Storage/PaginatedStorageNodes/GroupedStorageNodesComponent.tsx +3 -0
- package/src/containers/Storage/PaginatedStorageNodes/StorageNodesComponent.tsx +8 -1
- package/src/containers/Storage/PaginatedStorageNodes/StorageNodesControls.tsx +2 -0
- package/src/containers/Storage/PaginatedStorageNodesTable/PaginatedStorageNodesTable.tsx +4 -0
- package/src/containers/Storage/PaginatedStorageNodesTable/getNodes.ts +2 -0
- package/src/containers/Storage/Storage.scss +4 -0
- package/src/containers/StorageGroupPage/StorageGroupPage.scss +19 -4
- package/src/containers/StorageGroupPage/StorageGroupPage.tsx +25 -45
- package/src/containers/StorageGroupPage/i18n/en.json +0 -2
- package/src/containers/Tablet/Tablet.scss +15 -1
- package/src/containers/Tablet/Tablet.tsx +21 -15
- package/src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx +5 -32
- package/src/containers/Tenant/Healthcheck/Healthcheck.scss +6 -1
- package/src/containers/Tenant/Healthcheck/components/HealthcheckIssue.tsx +18 -8
- package/src/containers/Tenant/TenantDrawerHealthcheck.tsx +14 -1
- package/src/containers/VDiskPage/VDiskPage.scss +39 -7
- package/src/containers/VDiskPage/VDiskPage.tsx +84 -72
- package/src/containers/VDiskPage/VDiskStorageDetails.scss +24 -93
- package/src/containers/VDiskPage/VDiskStorageDetails.tsx +50 -158
- package/src/containers/VDiskPage/i18n/en.json +2 -14
- package/src/store/reducers/capabilities/hooks.ts +4 -0
- package/src/store/reducers/cluster/parseFields.ts +1 -0
- package/src/store/reducers/clusters/clusters.ts +1 -0
- package/src/store/reducers/clusters/selectors.ts +4 -0
- package/src/store/reducers/clusters/types.ts +3 -0
- package/src/store/reducers/nodes/types.ts +1 -0
- package/src/store/reducers/storage/prepareGroupsDisks.ts +2 -0
- package/src/store/reducers/storage/types.ts +1 -0
- package/src/store/reducers/storage/utils.ts +13 -3
- package/src/store/reducers/vdisk/types.ts +2 -1
- package/src/store/reducers/vdisk/utils.ts +4 -5
- package/src/types/api/capabilities.ts +1 -0
- package/src/types/api/meta.ts +1 -0
- package/src/types/api/nodes.ts +2 -0
- package/src/types/api/nodesList.ts +3 -0
- package/src/utils/hooks/useDatabaseHealthcheckAvailable.ts +9 -0
- package/src/utils/hooks/useHideUnavailableNodes.ts +33 -0
- package/src/utils/memory.ts +16 -0
- package/src/utils/nodes.ts +3 -2
- package/src/utils/storageMetrics.ts +11 -0
- package/dist/components/VDiskInfo/getVDiskCapacityColumns.d.ts +0 -11
- package/dist/components/VDiskInfo/getVDiskCapacityColumns.js +0 -52
- package/dist/components/VDiskInfo/getVDiskCapacityColumns.js.map +0 -1
- package/src/components/VDiskInfo/getVDiskCapacityColumns.tsx +0 -83
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
selectCheckStatus,
|
|
6
6
|
} from '../../store/reducers/healthcheckInfo/healthcheckInfo';
|
|
7
7
|
import {useTypedSelector} from '../../utils/hooks';
|
|
8
|
+
import {useDatabaseHealthcheckAvailable} from '../../utils/hooks/useDatabaseHealthcheckAvailable';
|
|
8
9
|
|
|
9
10
|
import {Healthcheck} from './Healthcheck/Healthcheck';
|
|
10
11
|
import {HealthcheckDrawer} from './Healthcheck/components/HealthcheckDrawer';
|
|
@@ -19,12 +20,15 @@ interface TenantDrawerHealthcheckProps {
|
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
export function TenantDrawerHealthcheck({children, clusterName}: TenantDrawerHealthcheckProps) {
|
|
23
|
+
const healthcheckAvailable = useDatabaseHealthcheckAvailable();
|
|
22
24
|
const {database} = useCurrentSchema();
|
|
23
25
|
const {
|
|
24
26
|
handleShowHealthcheckChange,
|
|
25
27
|
showHealthcheck,
|
|
26
28
|
handleIssuesFilterChange,
|
|
27
29
|
handleHealthcheckViewChange,
|
|
30
|
+
issuesFilter,
|
|
31
|
+
view,
|
|
28
32
|
} = useTenantQueryParams();
|
|
29
33
|
|
|
30
34
|
const healthcheckStatus = useTypedSelector((state) =>
|
|
@@ -41,6 +45,15 @@ export function TenantDrawerHealthcheck({children, clusterName}: TenantDrawerHea
|
|
|
41
45
|
handleHealthcheckViewChange(undefined);
|
|
42
46
|
}, [handleShowHealthcheckChange, handleIssuesFilterChange, handleHealthcheckViewChange]);
|
|
43
47
|
|
|
48
|
+
React.useEffect(() => {
|
|
49
|
+
if (
|
|
50
|
+
healthcheckAvailable === false &&
|
|
51
|
+
(showHealthcheck !== undefined || view !== undefined || issuesFilter !== undefined)
|
|
52
|
+
) {
|
|
53
|
+
handleCloseDrawer();
|
|
54
|
+
}
|
|
55
|
+
}, [healthcheckAvailable, showHealthcheck, view, issuesFilter, handleCloseDrawer]);
|
|
56
|
+
|
|
44
57
|
const renderDrawerContent = React.useCallback(() => {
|
|
45
58
|
return <Healthcheck database={database} clusterName={clusterName} />;
|
|
46
59
|
}, [database, clusterName]);
|
|
@@ -56,7 +69,7 @@ export function TenantDrawerHealthcheck({children, clusterName}: TenantDrawerHea
|
|
|
56
69
|
})
|
|
57
70
|
: undefined
|
|
58
71
|
}
|
|
59
|
-
isDrawerVisible={Boolean(showHealthcheck)}
|
|
72
|
+
isDrawerVisible={Boolean(healthcheckAvailable && showHealthcheck)}
|
|
60
73
|
onCloseDrawer={handleCloseDrawer}
|
|
61
74
|
renderDrawerContent={renderDrawerContent}
|
|
62
75
|
drawerId="tenant-healthcheck-details"
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
@use '../../styles
|
|
1
|
+
@use '../../styles/mixins.scss';
|
|
2
2
|
|
|
3
3
|
.ydb-vdisk-page {
|
|
4
|
+
--sticky-tabs-height: 40px;
|
|
5
|
+
--data-table-start: var(--sticky-tabs-height);
|
|
4
6
|
--g-definition-list-item-gap: var(--g-spacing-3);
|
|
5
7
|
position: relative;
|
|
6
8
|
|
|
7
9
|
overflow: auto;
|
|
10
|
+
overflow-anchor: none;
|
|
8
11
|
|
|
9
12
|
height: 100%;
|
|
10
13
|
padding: 0 20px;
|
|
11
14
|
|
|
12
|
-
&__meta,
|
|
13
15
|
&__title,
|
|
14
16
|
&__controls,
|
|
17
|
+
&__storage-details,
|
|
15
18
|
&__info,
|
|
16
19
|
&__tabs {
|
|
17
20
|
position: sticky;
|
|
@@ -20,25 +23,54 @@
|
|
|
20
23
|
margin-bottom: 20px;
|
|
21
24
|
}
|
|
22
25
|
|
|
23
|
-
&
|
|
24
|
-
|
|
26
|
+
&__heading {
|
|
27
|
+
margin: 0;
|
|
28
|
+
overflow-wrap: anywhere;
|
|
25
29
|
}
|
|
26
30
|
|
|
27
|
-
&
|
|
28
|
-
|
|
31
|
+
&__pool-name {
|
|
32
|
+
min-width: 0;
|
|
33
|
+
overflow-wrap: anywhere;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__title-content {
|
|
37
|
+
flex: 1;
|
|
38
|
+
|
|
39
|
+
min-width: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__title {
|
|
43
|
+
padding-right: 125px;
|
|
29
44
|
}
|
|
30
45
|
|
|
31
46
|
&__controls {
|
|
32
47
|
display: flex;
|
|
48
|
+
flex-wrap: wrap;
|
|
33
49
|
align-items: center;
|
|
34
50
|
gap: var(--g-spacing-2);
|
|
35
51
|
}
|
|
36
52
|
|
|
37
53
|
&__storage-details {
|
|
38
|
-
margin-bottom: var(--g-spacing-
|
|
54
|
+
margin-bottom: var(--g-spacing-4);
|
|
39
55
|
}
|
|
40
56
|
|
|
41
57
|
&__tablets-content {
|
|
42
58
|
margin-top: var(--g-spacing-4);
|
|
59
|
+
|
|
60
|
+
.data-table__sticky_moving {
|
|
61
|
+
// Override the table's inline sticky offset.
|
|
62
|
+
top: var(--sticky-tabs-height) !important;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__tabs {
|
|
67
|
+
z-index: 3;
|
|
68
|
+
|
|
69
|
+
height: var(--sticky-tabs-height);
|
|
70
|
+
margin-bottom: 0;
|
|
71
|
+
padding-right: 125px;
|
|
72
|
+
|
|
73
|
+
@include mixins.sticky-top();
|
|
74
|
+
@include mixins.tabs-wrapper-styles();
|
|
43
75
|
}
|
|
44
76
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import {Wrench} from '@gravity-ui/icons';
|
|
4
|
+
import {Flex, Tab, TabList, TabProvider, Text} from '@gravity-ui/uikit';
|
|
4
5
|
import {skipToken} from '@reduxjs/toolkit/query';
|
|
5
6
|
import {isNil} from 'lodash';
|
|
6
7
|
import {Helmet} from 'react-helmet-async';
|
|
7
8
|
|
|
8
|
-
import {
|
|
9
|
+
import {StickyAutoRefreshControl} from '../../components/AutoRefreshControl/StickyAutoRefreshControl';
|
|
10
|
+
import {CopyableValue} from '../../components/CopyableValue/CopyableValue';
|
|
11
|
+
import {DiskTypeLabel} from '../../components/DiskStatus/DiskStatus';
|
|
9
12
|
import {ResponseError} from '../../components/Errors/ResponseError';
|
|
10
13
|
import {
|
|
11
14
|
EvictVDiskButton,
|
|
@@ -13,18 +16,22 @@ import {
|
|
|
13
16
|
} from '../../components/EvictVDiskButton/EvictVDiskButton';
|
|
14
17
|
import {InfoViewerSkeleton} from '../../components/InfoViewerSkeleton/InfoViewerSkeleton';
|
|
15
18
|
import {InternalLink} from '../../components/InternalLink/InternalLink';
|
|
16
|
-
import {
|
|
19
|
+
import {LinkWithIcon} from '../../components/LinkWithIcon/LinkWithIcon';
|
|
17
20
|
import {VDiskInfo} from '../../components/VDiskInfo/VDiskInfo';
|
|
21
|
+
import {vDiskInfoKeyset} from '../../components/VDiskInfo/i18n';
|
|
22
|
+
import {
|
|
23
|
+
VDiskDonorLabel,
|
|
24
|
+
VDiskReplicationStatus,
|
|
25
|
+
VDiskStateLabel,
|
|
26
|
+
} from '../../components/VDiskStatus';
|
|
18
27
|
import {useVDiskPagePath} from '../../routes';
|
|
19
28
|
import {api} from '../../store/reducers/api';
|
|
20
|
-
import {useNewStorageViewEnabled} from '../../store/reducers/capabilities/hooks';
|
|
21
29
|
import {setHeaderBreadcrumbs} from '../../store/reducers/header/header';
|
|
22
30
|
import {vDiskApi} from '../../store/reducers/vdisk/vdisk';
|
|
23
31
|
import {cn} from '../../utils/cn';
|
|
32
|
+
import {EMPTY_DATA_PLACEHOLDER} from '../../utils/constants';
|
|
24
33
|
import {parseVdiskId} from '../../utils/dataFormatters/dataFormatters';
|
|
25
|
-
import {
|
|
26
|
-
import {formatPDiskType} from '../../utils/disks/getPDiskType';
|
|
27
|
-
import {getDataSeverityColor} from '../../utils/disks/helpers';
|
|
34
|
+
import {createVDiskDeveloperUILink, useHasDeveloperUi} from '../../utils/developerUI/developerUI';
|
|
28
35
|
import {useAutoRefreshInterval, useTypedDispatch} from '../../utils/hooks';
|
|
29
36
|
import {useAppTitle} from '../App/AppTitleContext';
|
|
30
37
|
import {PaginatedStorage} from '../Storage/PaginatedStorage';
|
|
@@ -45,7 +52,7 @@ export function VDiskPage() {
|
|
|
45
52
|
const containerRef = React.useRef<HTMLDivElement>(null);
|
|
46
53
|
|
|
47
54
|
const {nodeId, vDiskId: vDiskIdParam, database, vDiskTab, vDiskTabs} = useVDiskQueryParams();
|
|
48
|
-
const
|
|
55
|
+
const hasDeveloperUi = useHasDeveloperUi();
|
|
49
56
|
|
|
50
57
|
const [autoRefreshInterval] = useAutoRefreshInterval();
|
|
51
58
|
|
|
@@ -77,17 +84,7 @@ export function VDiskPage() {
|
|
|
77
84
|
}, [dispatch, database, vDiskData?.VDiskId?.GroupID, vDiskData?.StringifiedId]);
|
|
78
85
|
|
|
79
86
|
const loading = isFetching && vDiskData === undefined;
|
|
80
|
-
const {
|
|
81
|
-
NodeHost,
|
|
82
|
-
NodeId,
|
|
83
|
-
NodeType,
|
|
84
|
-
NodeDC,
|
|
85
|
-
PDiskId,
|
|
86
|
-
PDiskType,
|
|
87
|
-
Severity,
|
|
88
|
-
VDiskId,
|
|
89
|
-
StringifiedId,
|
|
90
|
-
} = vDiskData || {};
|
|
87
|
+
const {NodeHost, NodeId, PDiskId, PDiskType, VDiskId, StringifiedId} = vDiskData || {};
|
|
91
88
|
|
|
92
89
|
const resolvedVDiskId = VDiskId || (!loading && parseVdiskId(vDiskIdParam)) || undefined;
|
|
93
90
|
const {GroupID} = resolvedVDiskId || {};
|
|
@@ -114,53 +111,53 @@ export function VDiskPage() {
|
|
|
114
111
|
);
|
|
115
112
|
};
|
|
116
113
|
|
|
117
|
-
const renderPageMeta = () => {
|
|
118
|
-
const hostItem = NodeHost ? `${vDiskPageKeyset('fqdn')}: ${NodeHost}` : undefined;
|
|
119
|
-
const nodeIdItem = NodeId ? `${vDiskPageKeyset('node')}: ${NodeId}` : undefined;
|
|
120
|
-
const pDiskIdItem = NodeId ? `${vDiskPageKeyset('pdisk')}: ${PDiskId}` : undefined;
|
|
121
|
-
|
|
122
|
-
return (
|
|
123
|
-
<PageMetaWithAutorefresh
|
|
124
|
-
className={vDiskPageCn('meta')}
|
|
125
|
-
loading={loading}
|
|
126
|
-
items={[
|
|
127
|
-
hostItem,
|
|
128
|
-
nodeIdItem,
|
|
129
|
-
NodeType,
|
|
130
|
-
NodeDC,
|
|
131
|
-
pDiskIdItem,
|
|
132
|
-
formatPDiskType(PDiskType),
|
|
133
|
-
]}
|
|
134
|
-
/>
|
|
135
|
-
);
|
|
136
|
-
};
|
|
137
|
-
|
|
138
114
|
const renderTitleMeta = () => {
|
|
139
|
-
if (!vDiskData?.DonorMode) {
|
|
140
|
-
return null;
|
|
141
|
-
}
|
|
142
|
-
const donorLabelConfig = VDISK_LABEL_CONFIG.donor;
|
|
143
115
|
return (
|
|
144
|
-
<
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
116
|
+
<Flex gap={2} wrap="wrap" alignItems="center">
|
|
117
|
+
<VDiskStateLabel state={vDiskData?.VDiskState} size="s" />
|
|
118
|
+
{vDiskData?.DonorMode ? (
|
|
119
|
+
<VDiskDonorLabel donorMode size="s" />
|
|
120
|
+
) : (
|
|
121
|
+
<VDiskReplicationStatus data={vDiskData || {}} size="s" />
|
|
122
|
+
)}
|
|
123
|
+
<DiskTypeLabel type={PDiskType} size="s" />
|
|
124
|
+
</Flex>
|
|
151
125
|
);
|
|
152
126
|
};
|
|
153
127
|
|
|
154
128
|
const renderPageTitle = () => {
|
|
155
129
|
return (
|
|
156
|
-
<Flex
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
130
|
+
<Flex
|
|
131
|
+
className={vDiskPageCn('title')}
|
|
132
|
+
alignItems="flex-start"
|
|
133
|
+
gap={2}
|
|
134
|
+
wrap="nowrap"
|
|
135
|
+
qa="vdisk-header"
|
|
136
|
+
>
|
|
137
|
+
<Flex direction="column" gap={1} className={vDiskPageCn('title-content')}>
|
|
138
|
+
<Flex gap={3} alignItems="center" wrap="wrap">
|
|
139
|
+
<CopyableValue copyText={vDiskId} fieldName={vDiskPageKeyset('vdisk')}>
|
|
140
|
+
<Text as="h1" variant="header-1" className={vDiskPageCn('heading')}>
|
|
141
|
+
{vDiskPageKeyset('vdisk')}{' '}
|
|
142
|
+
<Text color="hint" variant="header-1">
|
|
143
|
+
{vDiskId || EMPTY_DATA_PLACEHOLDER}
|
|
144
|
+
</Text>
|
|
145
|
+
</Text>
|
|
146
|
+
</CopyableValue>
|
|
147
|
+
{renderTitleMeta()}
|
|
148
|
+
</Flex>
|
|
149
|
+
<Flex gap={1} alignItems="center" className={vDiskPageCn('pool')}>
|
|
150
|
+
<Text color="secondary">{vDiskInfoKeyset('pool-name')}:</Text>
|
|
151
|
+
<CopyableValue
|
|
152
|
+
copyText={vDiskData?.StoragePoolName}
|
|
153
|
+
fieldName={vDiskInfoKeyset('pool-name')}
|
|
154
|
+
>
|
|
155
|
+
<Text color="secondary" className={vDiskPageCn('pool-name')}>
|
|
156
|
+
{vDiskData?.StoragePoolName || EMPTY_DATA_PLACEHOLDER}
|
|
157
|
+
</Text>
|
|
158
|
+
</CopyableValue>
|
|
159
|
+
</Flex>
|
|
160
|
+
</Flex>
|
|
164
161
|
</Flex>
|
|
165
162
|
);
|
|
166
163
|
};
|
|
@@ -178,29 +175,44 @@ export function VDiskPage() {
|
|
|
178
175
|
}, [dispatch, vDiskId]);
|
|
179
176
|
|
|
180
177
|
const renderControls = () => {
|
|
181
|
-
|
|
178
|
+
const canEvict = isAllVdiskParamsDefined(resolvedVDiskId) && !vDiskData?.DonorMode;
|
|
179
|
+
const developerUILink =
|
|
180
|
+
hasDeveloperUi && !isNil(NodeId) && !isNil(PDiskId) && !isNil(vDiskSlotId)
|
|
181
|
+
? createVDiskDeveloperUILink({
|
|
182
|
+
nodeId: NodeId,
|
|
183
|
+
pDiskId: PDiskId,
|
|
184
|
+
vDiskSlotId,
|
|
185
|
+
})
|
|
186
|
+
: undefined;
|
|
187
|
+
if (!canEvict && !developerUILink) {
|
|
182
188
|
return null;
|
|
183
189
|
}
|
|
184
190
|
return (
|
|
185
191
|
<div className={vDiskPageCn('controls')} data-qa="vdisk-controls">
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
192
|
+
{canEvict && isAllVdiskParamsDefined(resolvedVDiskId) && (
|
|
193
|
+
<EvictVDiskButton
|
|
194
|
+
vDiskId={resolvedVDiskId}
|
|
195
|
+
view="action"
|
|
196
|
+
onSuccess={handleAfterEvictVDisk}
|
|
197
|
+
/>
|
|
198
|
+
)}
|
|
199
|
+
{developerUILink && (
|
|
200
|
+
<LinkWithIcon
|
|
201
|
+
title={vDiskPageKeyset('action_open-in-developer-ui')}
|
|
202
|
+
url={developerUILink}
|
|
203
|
+
icon={Wrench}
|
|
204
|
+
hideEndIcon
|
|
205
|
+
/>
|
|
206
|
+
)}
|
|
191
207
|
</div>
|
|
192
208
|
);
|
|
193
209
|
};
|
|
194
210
|
|
|
195
211
|
const renderInfo = () => {
|
|
196
|
-
return <VDiskInfo data={vDiskData} className={vDiskPageCn('info')}
|
|
212
|
+
return <VDiskInfo key={vDiskId} data={vDiskData} className={vDiskPageCn('info')} />;
|
|
197
213
|
};
|
|
198
214
|
|
|
199
215
|
const renderStorageDetails = () => {
|
|
200
|
-
if (!newStorageViewEnabled) {
|
|
201
|
-
return null;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
216
|
return <VDiskStorageDetails data={vDiskData} className={vDiskPageCn('storage-details')} />;
|
|
205
217
|
};
|
|
206
218
|
|
|
@@ -284,8 +296,8 @@ export function VDiskPage() {
|
|
|
284
296
|
return (
|
|
285
297
|
<React.Fragment>
|
|
286
298
|
{error ? <ResponseError error={error} /> : null}
|
|
287
|
-
{renderInfo()}
|
|
288
299
|
{renderStorageDetails()}
|
|
300
|
+
{renderInfo()}
|
|
289
301
|
{renderTabs()}
|
|
290
302
|
{renderTabsContent()}
|
|
291
303
|
</React.Fragment>
|
|
@@ -295,7 +307,7 @@ export function VDiskPage() {
|
|
|
295
307
|
return (
|
|
296
308
|
<div className={vDiskPageCn(null)} ref={containerRef}>
|
|
297
309
|
{renderHelmet()}
|
|
298
|
-
|
|
310
|
+
<StickyAutoRefreshControl />
|
|
299
311
|
{renderPageTitle()}
|
|
300
312
|
{renderControls()}
|
|
301
313
|
{renderContent()}
|
|
@@ -1,129 +1,60 @@
|
|
|
1
1
|
.ydb-vdisk-storage-details {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-wrap: wrap;
|
|
4
|
+
gap: var(--g-spacing-1);
|
|
5
5
|
|
|
6
|
-
&
|
|
6
|
+
&__card {
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-wrap: wrap;
|
|
9
|
-
align-items:
|
|
10
|
-
gap: var(--g-spacing-
|
|
11
|
-
|
|
12
|
-
width: fit-content;
|
|
13
|
-
max-width: 100%;
|
|
14
|
-
}
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: var(--g-spacing-5);
|
|
15
11
|
|
|
16
|
-
&__card {
|
|
17
12
|
min-width: 0;
|
|
18
|
-
padding: var(--g-spacing-
|
|
13
|
+
padding: var(--g-spacing-3) var(--g-spacing-5);
|
|
19
14
|
|
|
20
15
|
border-radius: var(--g-border-radius-m) var(--g-border-radius-xs) var(--g-border-radius-xs)
|
|
21
16
|
var(--g-border-radius-m);
|
|
22
17
|
background-color: var(--g-color-base-generic);
|
|
23
18
|
|
|
24
|
-
&
|
|
25
|
-
display: flex;
|
|
26
|
-
flex: 0 0 auto;
|
|
27
|
-
align-items: stretch;
|
|
28
|
-
gap: var(--g-spacing-5);
|
|
29
|
-
|
|
30
|
-
width: max-content;
|
|
31
|
-
max-width: 100%;
|
|
32
|
-
min-height: 74px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&_details {
|
|
36
|
-
display: flex;
|
|
37
|
-
flex: 0 1 auto;
|
|
38
|
-
flex-wrap: wrap;
|
|
39
|
-
justify-content: flex-start;
|
|
40
|
-
align-items: center;
|
|
41
|
-
gap: var(--g-spacing-4);
|
|
42
|
-
|
|
43
|
-
width: fit-content;
|
|
44
|
-
max-width: 100%;
|
|
45
|
-
min-height: 74px;
|
|
46
|
-
|
|
19
|
+
&_ids {
|
|
47
20
|
border-radius: var(--g-border-radius-xs) var(--g-border-radius-m)
|
|
48
21
|
var(--g-border-radius-m) var(--g-border-radius-xs);
|
|
49
22
|
}
|
|
50
23
|
}
|
|
51
24
|
|
|
52
|
-
&__details {
|
|
53
|
-
display: flex;
|
|
54
|
-
flex: 0 1 auto;
|
|
55
|
-
flex-wrap: wrap;
|
|
56
|
-
align-items: stretch;
|
|
57
|
-
gap: var(--g-spacing-4);
|
|
58
|
-
|
|
59
|
-
min-width: 0;
|
|
60
|
-
max-width: 100%;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&__metric,
|
|
64
25
|
&__detail {
|
|
65
26
|
display: flex;
|
|
66
27
|
flex-direction: column;
|
|
67
|
-
|
|
68
|
-
align-items: flex-start;
|
|
69
|
-
gap: var(--g-spacing-1);
|
|
28
|
+
gap: var(--g-spacing-half);
|
|
70
29
|
|
|
71
30
|
min-width: 0;
|
|
72
|
-
|
|
73
|
-
}
|
|
31
|
+
max-width: 250px;
|
|
74
32
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
min-width: 100px;
|
|
79
|
-
max-width: 200px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&__value,
|
|
83
|
-
&__label {
|
|
84
|
-
display: block;
|
|
85
|
-
|
|
86
|
-
white-space: nowrap;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&__value-row &__value {
|
|
90
|
-
overflow: hidden;
|
|
91
|
-
|
|
92
|
-
text-overflow: ellipsis;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&__value-row {
|
|
96
|
-
flex-wrap: nowrap;
|
|
97
|
-
|
|
98
|
-
width: 100%;
|
|
99
|
-
min-width: 0;
|
|
100
|
-
height: 20px;
|
|
101
|
-
|
|
102
|
-
&_copyable {
|
|
103
|
-
width: auto;
|
|
104
|
-
max-width: 100%;
|
|
33
|
+
&_location {
|
|
34
|
+
min-width: 100px;
|
|
35
|
+
max-width: 200px;
|
|
105
36
|
}
|
|
106
37
|
}
|
|
107
38
|
|
|
108
39
|
&__value-popover {
|
|
109
|
-
flex:
|
|
40
|
+
flex: 0 1 auto;
|
|
110
41
|
|
|
111
42
|
min-width: 0;
|
|
112
|
-
|
|
113
|
-
&_copyable {
|
|
114
|
-
flex: 0 1 auto;
|
|
115
|
-
|
|
116
|
-
max-width: 100%;
|
|
117
|
-
}
|
|
43
|
+
max-width: 100%;
|
|
118
44
|
}
|
|
119
45
|
|
|
120
46
|
&__value-popover-content {
|
|
121
|
-
width:
|
|
47
|
+
width: auto;
|
|
122
48
|
min-width: 0;
|
|
49
|
+
max-width: 100%;
|
|
50
|
+
|
|
51
|
+
&_with-left-trim {
|
|
52
|
+
text-align: end;
|
|
53
|
+
direction: rtl;
|
|
123
54
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
55
|
+
> span {
|
|
56
|
+
unicode-bidi: plaintext;
|
|
57
|
+
}
|
|
127
58
|
}
|
|
128
59
|
}
|
|
129
60
|
}
|