ydb-embedded-ui 6.27.1 → 6.28.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +201 -21
- package/dist/components/EmptyState/EmptyState.d.ts +1 -1
- package/dist/components/EntityStatus/EntityStatus.d.ts +1 -2
- package/dist/components/EntityStatus/EntityStatus.js +5 -3
- package/dist/components/EntityStatus/EntityStatus.js.map +1 -1
- package/dist/components/EntityStatus/EntityStatus.scss +24 -2
- package/dist/components/HoverPopup/HoverPopup.d.ts +4 -3
- package/dist/components/HoverPopup/HoverPopup.js +2 -2
- package/dist/components/HoverPopup/HoverPopup.js.map +1 -1
- package/dist/components/LoaderWrapper/LoaderWrapper.d.ts +1 -1
- package/dist/components/MonitoringButton/MonitoringButton.d.ts +1 -3
- package/dist/components/MonitoringButton/MonitoringButton.js +2 -5
- package/dist/components/MonitoringButton/MonitoringButton.js.map +1 -1
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +1 -3
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.js +3 -3
- package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.d.ts +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.js +16 -2
- package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
- package/dist/components/StatusIcon/StatusIcon.scss +1 -0
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js +4 -4
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -1
- package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -1
- package/dist/components/TabletNameWrapper/TabletNameWrapper.d.ts +6 -0
- package/dist/components/TabletNameWrapper/TabletNameWrapper.js +18 -0
- package/dist/components/TabletNameWrapper/TabletNameWrapper.js.map +1 -0
- package/dist/components/TabletNameWrapper/i18n/en.json +4 -0
- package/dist/components/TabletNameWrapper/i18n/index.d.ts +2 -0
- package/dist/components/TabletNameWrapper/i18n/index.js +5 -0
- package/dist/components/TabletNameWrapper/i18n/index.js.map +1 -0
- package/dist/components/TenantNameWrapper/TenantNameWrapper.d.ts +8 -0
- package/dist/components/TenantNameWrapper/TenantNameWrapper.js +34 -0
- package/dist/components/TenantNameWrapper/TenantNameWrapper.js.map +1 -0
- package/dist/components/TenantNameWrapper/i18n/en.json +5 -0
- package/dist/components/TenantNameWrapper/i18n/index.d.ts +2 -0
- package/dist/components/TenantNameWrapper/i18n/index.js +5 -0
- package/dist/components/TenantNameWrapper/i18n/index.js.map +1 -0
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.d.ts +2 -1
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.js +27 -5
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.js.map +1 -1
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.scss +7 -0
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/en.json +5 -0
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/index.d.ts +2 -0
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/index.js +5 -0
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/index.js.map +1 -0
- package/dist/components/VDiskInfo/VDiskInfo.js +5 -4
- package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.js +42 -5
- package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
- package/dist/components/nodesColumns/columns.js +6 -6
- package/dist/containers/App/App.scss +2 -4
- package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js +1 -3
- package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js.map +1 -1
- package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +1 -3
- package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.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/Cluster.scss +6 -13
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.d.ts +2 -0
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js +4 -0
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js.map +1 -1
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.scss +6 -0
- package/dist/containers/Clusters/columns.js +3 -3
- package/dist/containers/Node/NodeStructure/Pdisk.js +4 -4
- package/dist/containers/Node/NodeStructure/Pdisk.js.map +1 -1
- package/dist/containers/Operations/Operations.scss +5 -0
- package/dist/containers/Operations/OperationsControls.d.ts +1 -0
- package/dist/containers/Operations/OperationsControls.js +2 -1
- package/dist/containers/Operations/OperationsControls.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.js +4 -4
- package/dist/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.js.map +1 -1
- package/dist/containers/Storage/Disks/Disks.js +11 -5
- package/dist/containers/Storage/Disks/Disks.js.map +1 -1
- package/dist/containers/Storage/Disks/Disks.scss +0 -9
- package/dist/containers/Storage/Storage.js +1 -0
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/columns.js +3 -3
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.js +3 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/TabletsTable.js +2 -8
- package/dist/containers/Tablets/TabletsTable.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +9 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +9 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +8 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +3 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +10 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +2 -6
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +1 -1
- package/dist/containers/Tenants/Tenants.js +2 -24
- package/dist/containers/Tenants/Tenants.js.map +1 -1
- package/dist/containers/Versions/NodesTable/NodesTable.js +2 -2
- package/dist/services/api.js +1 -1
- package/dist/services/api.js.map +1 -1
- package/dist/store/reducers/pdisk/utils.js +6 -4
- package/dist/store/reducers/pdisk/utils.js.map +1 -1
- package/dist/types/additionalProps.d.ts +1 -1
- package/dist/types/api/cluster.d.ts +1 -0
- package/dist/types/api/cluster.js.map +1 -1
- package/dist/utils/tableUtils/getRequiredDataFields.js +1 -1
- package/dist/utils/tableUtils/getRequiredDataFields.js.map +1 -1
- package/package.json +2 -2
- package/dist/components/MonitoringButton/MonitoringButton.scss +0 -11
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ExtendedTenant.js","sourceRoot":"","sources":["../../../../src/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"ExtendedTenant.js","sourceRoot":"","sources":["../../../../src/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAC;AAI3E,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AAOzD,MAAM,UAAU,cAAc,CAAC,EAC3B,SAAS,EAAE,eAAe,EAC1B,iBAAiB,GACC;IAClB,MAAM,EAAC,QAAQ,EAAE,UAAU,EAAC,GAAG,kBAAkB,EAAE,CAAC;IACpD,MAAM,EAAC,oBAAoB,EAAC,GAAG,sBAAsB,CAAC,EAAC,QAAQ,EAAC,CAAC,CAAC;IAElE,MAAM,qBAAqB,GAAG;QAC1B,iBAAiB,EAAE,CAAC,MAAe,EAAE,MAAoB,EAAE,EAAE;YACzD,IAAI,UAAU,IAAI,MAAM,IAAI,MAAM,IAAI,iBAAiB,EAAE,CAAC;gBACtD,OAAO,iBAAiB,CAAC;oBACrB,UAAU;oBACV,MAAM;oBACN,MAAM;iBACT,CAAC,CAAC;YACP,CAAC;YAED,OAAO,IAAI,CAAC;QAChB,CAAC;KACJ,CAAC;IAEF,OAAO,CACH,KAAC,eAAe,IACZ,qBAAqB,EAAE,qBAAqB,EAC5C,oBAAoB,EAAE,oBAAoB,GAC5C,CACL,CAAC;AACN,CAAC"}
|
@@ -51,12 +51,12 @@ export function Cluster({ additionalClusterProps, additionalTenantsProps, additi
|
|
51
51
|
return (_jsx(EntityStatus, { size: "m", status: cluster === null || cluster === void 0 ? void 0 : cluster.Overall, name: clusterTitle, className: b('title') }));
|
52
52
|
};
|
53
53
|
const activeTab = React.useMemo(() => clusterTabs.find(({ id }) => id === activeTabId), [activeTabId]);
|
54
|
-
return (_jsxs("div", { className: b(), ref: container, children: [_jsx(Helmet, { defaultTitle: `${clusterTitle} — YDB Monitoring`, titleTemplate: `%s — ${clusterTitle} — YDB Monitoring`, children: activeTab ? _jsx("title", { children: activeTab.title }) : null }), _jsx("div", { className: b('header'), children: getClusterTitle() }), _jsx("div", { className: b('sticky-wrapper'), children: _jsx(AutoRefreshControl, { className: b('auto-refresh-control') }) }), _jsx(ClusterDashboard, { cluster: cluster, groupStats: groupsStats, loading: infoLoading }), _jsx("div", { className: b('tabs-sticky-wrapper'), children: _jsx(Tabs, { size: "l", allowNotSelected: true, activeTab: activeTabId, items: clusterTabs, wrapTo: ({ id }, node) => {
|
54
|
+
return (_jsxs("div", { className: b(), ref: container, children: [_jsx(Helmet, { defaultTitle: `${clusterTitle} — YDB Monitoring`, titleTemplate: `%s — ${clusterTitle} — YDB Monitoring`, children: activeTab ? _jsx("title", { children: activeTab.title }) : null }), _jsx("div", { className: b('header'), children: getClusterTitle() }), _jsx("div", { className: b('sticky-wrapper'), children: _jsx(AutoRefreshControl, { className: b('auto-refresh-control') }) }), _jsx(ClusterDashboard, { cluster: cluster, groupStats: groupsStats, loading: infoLoading, error: clusterError || (cluster === null || cluster === void 0 ? void 0 : cluster.error) }), _jsx("div", { className: b('tabs-sticky-wrapper'), children: _jsx(Tabs, { size: "l", allowNotSelected: true, activeTab: activeTabId, items: clusterTabs, wrapTo: ({ id }, node) => {
|
55
55
|
const path = getClusterPath(id, { clusterName, backend });
|
56
56
|
return (_jsx(InternalLink, { to: path, onClick: () => {
|
57
57
|
dispatch(updateDefaultClusterTab(id));
|
58
58
|
}, children: node }, id));
|
59
|
-
} }) }), _jsxs(Switch, { children: [_jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.overview)).pathname, children: _jsx(ClusterInfo, { cluster: cluster, versionToColor: versionToColor, loading: infoLoading, error: clusterError, additionalClusterProps: additionalClusterProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tablets)).pathname, children:
|
59
|
+
} }) }), _jsxs(Switch, { children: [_jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.overview)).pathname, children: _jsx(ClusterInfo, { cluster: cluster, versionToColor: versionToColor, loading: infoLoading, error: clusterError, additionalClusterProps: additionalClusterProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tablets)).pathname, children: _jsx("div", { className: b('tablets'), children: _jsx(TabletsTable, { loading: infoLoading, tablets: clusterTablets, className: b('tablets-table') }) }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tenants)).pathname, children: _jsx(Tenants, { additionalTenantsProps: additionalTenantsProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.nodes)).pathname, children: _jsx(NodesWrapper, { parentRef: container, additionalNodesProps: additionalNodesProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.storage)).pathname, children: _jsx(StorageWrapper, { parentRef: container }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.versions)).pathname, children: _jsx(Versions, { versionToColor: versionToColor, cluster: cluster }) }), _jsx(Route, { render: () => (_jsx(Redirect, { to: getLocationObjectFromHref(getClusterPath(activeTabId)) })) })] })] }));
|
60
60
|
}
|
61
61
|
function useClusterTab() {
|
62
62
|
const dispatch = useTypedDispatch();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Cluster.js","sourceRoot":"","sources":["../../../src/containers/Cluster/Cluster.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,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AClB,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IAEpC,MAAM,UAAU,GAAG,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAEhF,MAAM,KAAK,GAAG,aAAa,CAAsB,MAAM,CAAC,OAAO,CAAC,CAAC;IAEjE,MAAM,EAAC,SAAS,EAAE,mBAAmB,EAAC,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,KAAI,EAAE,CAAC;IAC7D,IAAI,SAAqB,CAAC;IAC1B,IAAI,YAAY,CAAC,mBAAmB,CAAC,EAAE,CAAC;QACpC,SAAS,GAAG,mBAAmB,CAAC;IACpC,CAAC;SAAM,CAAC;QACJ,SAAS,GAAG,UAAU,CAAC;IAC3B,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,IAAI,SAAS,KAAK,UAAU,EAAE,CAAC;YAC3B,QAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC;QACjD,CAAC;IACL,CAAC,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEtC,OAAO,SAAS,CAAC;AACrB,CAAC"}
|
@@ -31,8 +31,11 @@
|
|
31
31
|
z-index: 3;
|
32
32
|
|
33
33
|
margin-top: 20px;
|
34
|
-
margin-right: -
|
35
|
-
padding-right:
|
34
|
+
margin-right: -40px;
|
35
|
+
padding-right: 40px;
|
36
|
+
padding-left: 20px;
|
37
|
+
|
38
|
+
transform: translateX(-20px);
|
36
39
|
@include sticky-top();
|
37
40
|
}
|
38
41
|
&__tabs {
|
@@ -61,20 +64,10 @@
|
|
61
64
|
&__tablets {
|
62
65
|
.data-table__sticky_moving {
|
63
66
|
// Place table head right after controls
|
64
|
-
top:
|
67
|
+
top: 40px !important;
|
65
68
|
}
|
66
69
|
}
|
67
70
|
|
68
|
-
&__fake-block {
|
69
|
-
position: sticky;
|
70
|
-
z-index: 3;
|
71
|
-
top: 40px;
|
72
|
-
|
73
|
-
height: 20px;
|
74
|
-
|
75
|
-
background-color: var(--g-color-base-background);
|
76
|
-
}
|
77
|
-
|
78
71
|
.ydb-table-with-controls-layout {
|
79
72
|
--data-table-sticky-top-offset: 102px;
|
80
73
|
}
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import type { ClusterGroupsStats } from '../../../store/reducers/cluster/types';
|
2
2
|
import type { TClusterInfo } from '../../../types/api/cluster';
|
3
|
+
import type { IResponseError } from '../../../types/api/error';
|
3
4
|
import './ClusterDashboard.scss';
|
4
5
|
interface ClusterDashboardProps {
|
5
6
|
cluster: TClusterInfo;
|
6
7
|
groupStats?: ClusterGroupsStats;
|
7
8
|
loading?: boolean;
|
9
|
+
error?: IResponseError | string;
|
8
10
|
}
|
9
11
|
export declare function ClusterDashboard(props: ClusterDashboardProps): import("react/jsx-runtime").JSX.Element;
|
10
12
|
export {};
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import { Flex, Text } from '@gravity-ui/uikit';
|
3
|
+
import { ResponseError } from '../../../components/Errors/ResponseError';
|
3
4
|
import { Tags } from '../../../components/Tags';
|
4
5
|
import { isClusterInfoV2 } from '../../../types/api/cluster';
|
5
6
|
import { valueIsDefined } from '../../../utils';
|
@@ -19,6 +20,9 @@ function Amount({ value }) {
|
|
19
20
|
return (_jsx(Text, { variant: "subheader-3", color: "secondary", children: formatNumber(value) }));
|
20
21
|
}
|
21
22
|
export function ClusterDashboard(props) {
|
23
|
+
if (props.error) {
|
24
|
+
return _jsx(ResponseError, { error: props.error, className: b('error') });
|
25
|
+
}
|
22
26
|
return (_jsx("div", { className: b(), children: _jsxs(Flex, { gap: 4, wrap: true, children: [_jsx(Flex, { gap: 4, wrap: "nowrap", children: _jsx(ClusterDoughnuts, { ...props }) }), _jsx("div", { className: b('cards-container'), children: _jsx(ClusterDashboardCards, { ...props }) })] }) }));
|
23
27
|
}
|
24
28
|
function ClusterDoughnuts({ cluster, loading }) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ClusterDashboard.js","sourceRoot":"","sources":["../../../../src/containers/Cluster/ClusterDashboard/ClusterDashboard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,IAAI,EAAC,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;
|
1
|
+
{"version":3,"file":"ClusterDashboard.js","sourceRoot":"","sources":["../../../../src/containers/Cluster/ClusterDashboard/ClusterDashboard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,aAAa,EAAC,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAC,IAAI,EAAC,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAG3D,OAAO,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAC,YAAY,EAAC,MAAM,8CAA8C,CAAC;AAC1E,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,EAAC,wBAAwB,EAAE,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AAC7F,OAAO,EAAC,mBAAmB,EAAC,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAC,oBAAoB,EAAC,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAC,qBAAqB,EAAC,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAC3B,OAAO,EACH,SAAS,EACT,iBAAiB,EACjB,oBAAoB,EACpB,yBAAyB,GAC5B,MAAM,SAAS,CAAC;AAEjB,OAAO,yBAAyB,CAAC;AA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,KAAK,CAAC,IAAI,CACN,KAAC,kBAAkB,IAAC,IAAI,EAAC,GAAG,EAAe,KAAK,EAAE,IAAI,CAAC,iBAAiB,CAAC,YACrE,KAAC,MAAM,IAAC,KAAK,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,GAAI,IADN,SAAS,CAErB,CACxB,CAAC;IACN,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC"}
|
@@ -84,7 +84,7 @@ export const CLUSTERS_COLUMNS = [
|
|
84
84
|
{
|
85
85
|
name: COLUMNS_NAMES.NODES,
|
86
86
|
header: COLUMNS_TITLES[COLUMNS_NAMES.NODES],
|
87
|
-
resizeMinWidth:
|
87
|
+
resizeMinWidth: 170,
|
88
88
|
defaultOrder: DataTable.DESCENDING,
|
89
89
|
sortAccessor: ({ cluster = {} }) => {
|
90
90
|
const { NodesTotal = 0 } = cluster;
|
@@ -101,7 +101,7 @@ export const CLUSTERS_COLUMNS = [
|
|
101
101
|
{
|
102
102
|
name: COLUMNS_NAMES.LOAD,
|
103
103
|
header: COLUMNS_TITLES[COLUMNS_NAMES.LOAD],
|
104
|
-
resizeMinWidth:
|
104
|
+
resizeMinWidth: 170,
|
105
105
|
defaultOrder: DataTable.DESCENDING,
|
106
106
|
sortAccessor: ({ cluster }) => {
|
107
107
|
return cluster === null || cluster === void 0 ? void 0 : cluster.NumberOfCpus;
|
@@ -117,7 +117,7 @@ export const CLUSTERS_COLUMNS = [
|
|
117
117
|
{
|
118
118
|
name: COLUMNS_NAMES.STORAGE,
|
119
119
|
header: COLUMNS_TITLES[COLUMNS_NAMES.STORAGE],
|
120
|
-
resizeMinWidth:
|
120
|
+
resizeMinWidth: 170,
|
121
121
|
defaultOrder: DataTable.DESCENDING,
|
122
122
|
sortAccessor: ({ cluster }) => {
|
123
123
|
return Number(cluster === null || cluster === void 0 ? void 0 : cluster.StorageTotal);
|
@@ -4,9 +4,9 @@ import { ArrowUpRightFromSquare, CircleInfoFill } from '@gravity-ui/icons';
|
|
4
4
|
import DataTable from '@gravity-ui/react-data-table';
|
5
5
|
import { ArrowToggle, Button, Icon, Popover } from '@gravity-ui/uikit';
|
6
6
|
import isEmpty from 'lodash/isEmpty';
|
7
|
-
import { EntityStatus } from '../../../components/EntityStatus/EntityStatus';
|
8
7
|
import { PDiskInfo } from '../../../components/PDiskInfo/PDiskInfo';
|
9
8
|
import { ProgressViewer } from '../../../components/ProgressViewer/ProgressViewer';
|
9
|
+
import { StatusIcon } from '../../../components/StatusIcon/StatusIcon';
|
10
10
|
import { VDiskInfo } from '../../../components/VDiskInfo/VDiskInfo';
|
11
11
|
import { EFlag } from '../../../types/api/enums';
|
12
12
|
import { EVDiskState } from '../../../types/api/vdisk';
|
@@ -58,7 +58,7 @@ function getColumns({ pDiskId, selectedVdiskId, nodeId, }) {
|
|
58
58
|
header: vDiskTableColumnsNames[VDiskTableColumnsIds.VDiskState],
|
59
59
|
width: 70,
|
60
60
|
render: ({ row }) => {
|
61
|
-
return (_jsx(
|
61
|
+
return (_jsx(StatusIcon, { status: row.VDiskState === EVDiskState.OK ? EFlag.Green : EFlag.Red }));
|
62
62
|
},
|
63
63
|
sortAccessor: (row) => (row.VDiskState === EVDiskState.OK ? 1 : 0),
|
64
64
|
align: DataTable.CENTER,
|
@@ -66,7 +66,7 @@ function getColumns({ pDiskId, selectedVdiskId, nodeId, }) {
|
|
66
66
|
{
|
67
67
|
name: VDiskTableColumnsIds.Size,
|
68
68
|
header: vDiskTableColumnsNames[VDiskTableColumnsIds.Size],
|
69
|
-
width:
|
69
|
+
width: 170,
|
70
70
|
render: ({ row }) => {
|
71
71
|
return (_jsx(ProgressViewer, { value: row.AllocatedSize, capacity: Number(row.AllocatedSize) + Number(row.AvailableSize), formatValues: formatStorageValuesToGb, colorizeProgress: true }));
|
72
72
|
},
|
@@ -109,6 +109,6 @@ export function PDisk({ id, data, selectedVdiskId, nodeId, unfolded: unfoldedFro
|
|
109
109
|
}
|
110
110
|
return (_jsxs("div", { children: [_jsx(PDiskInfo, { pDisk: data, nodeId: nodeId, className: b('pdisk-details'), withPDiskPageLink: true }), _jsxs("div", { className: b('vdisks-container'), children: [_jsx("div", { className: b('vdisks-header'), children: "VDisks" }), renderVDisks()] })] }));
|
111
111
|
};
|
112
|
-
return (_jsxs("div", { className: b('pdisk'), id: id, children: [_jsxs("div", { className: b('pdisk-header'), children: [_jsxs("div", { className: b('pdisk-title-wrapper'), children: [_jsx(
|
112
|
+
return (_jsxs("div", { className: b('pdisk'), id: id, children: [_jsxs("div", { className: b('pdisk-header'), children: [_jsxs("div", { className: b('pdisk-title-wrapper'), children: [_jsx(StatusIcon, { status: Device }), _jsx(PDiskTitleBadge, { label: "PDiskID", value: PDiskId, className: b('pdisk-title-id') }), _jsx(PDiskTitleBadge, { value: Type, className: b('pdisk-title-type') }), _jsx(ProgressViewer, { value: total - available, capacity: total, formatValues: formatStorageValuesToGb, colorizeProgress: true, className: b('pdisk-title-size') }), _jsx(PDiskTitleBadge, { label: "VDisks", value: vDisks.length })] }), _jsx(Button, { onClick: unfolded ? onClosePDiskDetails : onOpenPDiskDetails, view: "flat-secondary", children: _jsx(ArrowToggle, { direction: unfolded ? 'top' : 'bottom' }) })] }), unfolded && renderPDiskDetails()] }));
|
113
113
|
}
|
114
114
|
//# sourceMappingURL=Pdisk.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Pdisk.js","sourceRoot":"","sources":["../../../../src/containers/Node/NodeStructure/Pdisk.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,mBAAmB,CAAC;AACzE,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAC,MAAM,mBAAmB,CAAC;AACrE,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAC,
|
1
|
+
{"version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EAAE,CAAC,CAAC,gBAAgB,CAAC,GAChC,EACF,KAAC,eAAe,IAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,kBAAkB,CAAC,GAAI,EAClE,KAAC,cAAc,IACX,KAAK,EAAE,KAAK,GAAG,SAAS,EACxB,QAAQ,EAAE,KAAK,EACf,YAAY,EAAE,uBAAuB,EACrC,gBAAgB,EAAE,IAAI,EACtB,SAAS,EAAE,CAAC,CAAC,kBAAkB,CAAC,GAClC,EACF,KAAC,eAAe,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,MAAM,CAAC,MAAM,GAAI,IACtD,EACN,KAAC,MAAM,IACH,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,kBAAkB,EAC5D,IAAI,EAAC,gBAAgB,YAErB,KAAC,WAAW,IAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,GAAI,GAClD,IACP,EACL,QAAQ,IAAI,kBAAkB,EAAE,IAC/B,CACT,CAAC;AACN,CAAC"}
|
@@ -6,7 +6,8 @@ import { Search } from '../../components/Search';
|
|
6
6
|
import { OPERATION_KINDS } from './constants';
|
7
7
|
import i18n from './i18n';
|
8
8
|
import { b } from './shared';
|
9
|
+
import './Operations.scss';
|
9
10
|
export function OperationsControls({ kind, searchValue, entitiesCountCurrent, entitiesCountTotal, entitiesLoading, handleKindChange, handleSearchChange, }) {
|
10
|
-
return (_jsxs(React.Fragment, { children: [_jsx(Search, { value: searchValue, onChange: handleSearchChange, placeholder: i18n('pleaceholder_search'), className: b('search') }), _jsx(Select, { value: [kind], options: OPERATION_KINDS, onUpdate: (value) => handleKindChange(value[0]) }), _jsx(EntitiesCount, { label: i18n('label_operations'), loading: entitiesLoading, total: entitiesCountTotal, current: entitiesCountCurrent })] }));
|
11
|
+
return (_jsxs(React.Fragment, { children: [_jsx(Search, { value: searchValue, onChange: handleSearchChange, placeholder: i18n('pleaceholder_search'), className: b('search') }), _jsx(Select, { value: [kind], width: 150, options: OPERATION_KINDS, onUpdate: (value) => handleKindChange(value[0]) }), _jsx(EntitiesCount, { label: i18n('label_operations'), loading: entitiesLoading, total: entitiesCountTotal, current: entitiesCountCurrent })] }));
|
11
12
|
}
|
12
13
|
//# sourceMappingURL=OperationsControls.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"OperationsControls.js","sourceRoot":"","sources":["../../../src/containers/Operations/OperationsControls.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAC,MAAM,EAAC,MAAM,yBAAyB,CAAC;AAG/C,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAY3B,MAAM,UAAU,kBAAkB,CAAC,EAC/B,IAAI,EACJ,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,GACI;IACtB,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,MAAM,IACH,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,kBAAkB,EAC5B,WAAW,EAAE,IAAI,CAAC,qBAAqB,CAAC,EACxC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,GACxB,EACF,KAAC,MAAM,IACH,KAAK,EAAE,CAAC,IAAI,CAAC,EACb,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAkB,CAAC,GAClE,EACF,KAAC,aAAa,IACV,KAAK,EAAE,IAAI,CAAC,kBAAkB,CAAC,EAC/B,OAAO,EAAE,eAAe,EACxB,KAAK,EAAE,kBAAkB,EACzB,OAAO,EAAE,oBAAoB,GAC/B,IACW,CACpB,CAAC;AACN,CAAC"}
|
1
|
+
{"version":3,"file":"OperationsControls.js","sourceRoot":"","sources":["../../../src/containers/Operations/OperationsControls.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAC,MAAM,EAAC,MAAM,yBAAyB,CAAC;AAG/C,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAE3B,OAAO,mBAAmB,CAAC;AAY3B,MAAM,UAAU,kBAAkB,CAAC,EAC/B,IAAI,EACJ,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,GACI;IACtB,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,MAAM,IACH,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,kBAAkB,EAC5B,WAAW,EAAE,IAAI,CAAC,qBAAqB,CAAC,EACxC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,GACxB,EACF,KAAC,MAAM,IACH,KAAK,EAAE,CAAC,IAAI,CAAC,EACb,KAAK,EAAE,GAAG,EACV,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAkB,CAAC,GAClE,EACF,KAAC,aAAa,IACV,KAAK,EAAE,IAAI,CAAC,kBAAkB,CAAC,EAC/B,OAAO,EAAE,eAAe,EACxB,KAAK,EAAE,kBAAkB,EACzB,OAAO,EAAE,oBAAoB,GAC/B,IACW,CACpB,CAAC;AACN,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import { ContentWithPopup } from '../../../components/ContentWithPopup/ContentWithPopup';
|
3
2
|
import { DiskStateProgressBar } from '../../../components/DiskStateProgressBar/DiskStateProgressBar';
|
3
|
+
import { HoverPopup } from '../../../components/HoverPopup/HoverPopup';
|
4
4
|
import { InfoViewer } from '../../../components/InfoViewer';
|
5
5
|
import { InternalLink } from '../../../components/InternalLink';
|
6
6
|
import { ProgressViewer } from '../../../components/ProgressViewer/ProgressViewer';
|
@@ -41,13 +41,13 @@ function Slot({ item, pDiskId, nodeId }) {
|
|
41
41
|
valueIsDefined(nodeId)
|
42
42
|
? getVDiskPagePath(item.SlotData.VDiskSlotId, pDiskId, nodeId)
|
43
43
|
: undefined;
|
44
|
-
return (_jsx(
|
44
|
+
return (_jsx(HoverPopup, { popupContent: _jsx(VDiskInfo, { data: item.SlotData, withTitle: true }), contentClassName: b('vdisk-popup'), placement: ['right', 'top'], children: _jsx(InternalLink, { to: vDiskPagePath, children: _jsx(DiskStateProgressBar, { className: b('slot'), severity: item.Severity, diskAllocatedPercent: item.UsagePercent, content: _jsx(SlotContent, { id: item.Id, title: item.Title, used: item.Used, total: item.Total }) }) }) }));
|
45
45
|
}
|
46
46
|
if (isLogSlot(item)) {
|
47
|
-
return (_jsx(
|
47
|
+
return (_jsx(HoverPopup, { popupContent: _jsx(LogInfo, { data: item.SlotData }), contentClassName: b('vdisk-popup'), placement: ['right', 'top'], children: _jsx(DiskStateProgressBar, { className: b('slot'), severity: item.Severity, diskAllocatedPercent: item.UsagePercent, content: _jsx(SlotContent, { title: pDiskPageKeyset('log'), used: item.Used, total: item.Total }) }) }));
|
48
48
|
}
|
49
49
|
if (isEmptySlot(item)) {
|
50
|
-
return (_jsx(
|
50
|
+
return (_jsx(HoverPopup, { popupContent: _jsx(EmptySlotInfo, { data: item.SlotData }), contentClassName: b('vdisk-popup'), placement: ['right', 'top'], children: _jsx(DiskStateProgressBar, { className: b('slot'), severity: item.Severity, empty: true, content: _jsx(SlotContent, { title: pDiskPageKeyset('empty-slot'),
|
51
51
|
// Empty slots have only total size
|
52
52
|
used: item.Total }) }) }));
|
53
53
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PDiskSpaceDistribution.js","sourceRoot":"","sources":["../../../../src/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"PDiskSpaceDistribution.js","sourceRoot":"","sources":["../../../../src/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,+DAA+D,CAAC;AACnG,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AAErE,OAAO,EAAC,UAAU,EAAC,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAC,cAAc,EAAC,MAAM,mDAAmD,CAAC;AACjF,OAAO,EAAC,SAAS,EAAC,MAAM,yCAAyC,CAAC;AAClE,OAAO,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAQjD,OAAO,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,uBAAuB,EAAC,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAExC,OAAO,EAAC,WAAW,EAAE,SAAS,EAAE,WAAW,EAAC,MAAM,SAAS,CAAC;AAE5D,OAAO,+BAA+B,CAAC;AAEvC,MAAM,CAAC,GAAG,E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C3B;YACI,KAAK,EAAE,eAAe,CAAC,iBAAiB,CAAC;YACzC,KAAK,EAAE,WAAW,CAAC,EAAC,KAAK,EAAE,IAAI,EAAC,CAAC;SACpC;KACJ,CAAC;IAEF,OAAO,KAAC,UAAU,IAAC,KAAK,EAAE,eAAe,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,IAAI,GAAI,CAAC;AAC5E,CAAC"}
|
@@ -1,29 +1,35 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import React from 'react';
|
3
|
+
import { Flex, useLayoutContext } from '@gravity-ui/uikit';
|
3
4
|
import { VDisk } from '../../../components/VDisk/VDisk';
|
5
|
+
import { valueIsDefined } from '../../../utils';
|
4
6
|
import { cn } from '../../../utils/cn';
|
5
7
|
import { getPDiskId } from '../../../utils/disks/helpers';
|
6
8
|
import { PDisk } from '../PDisk';
|
7
9
|
import { isVdiskActive } from '../utils';
|
8
10
|
import './Disks.scss';
|
9
11
|
const b = cn('ydb-storage-disks');
|
12
|
+
const VDISKS_CONTAINER_WIDTH = 300;
|
10
13
|
export function Disks({ vDisks = [], viewContext }) {
|
11
14
|
const [highlightedVDisk, setHighlightedVDisk] = React.useState();
|
15
|
+
const { theme: { spaceBaseSize }, } = useLayoutContext();
|
12
16
|
if (!vDisks.length) {
|
13
17
|
return null;
|
14
18
|
}
|
15
|
-
|
19
|
+
const unavailableVDiskWidth = (VDISKS_CONTAINER_WIDTH - spaceBaseSize * (vDisks.length - 1)) / vDisks.length;
|
20
|
+
return (_jsxs("div", { className: b(null), children: [_jsx(Flex, { direction: 'row', gap: 1, grow: true, style: { width: VDISKS_CONTAINER_WIDTH }, children: vDisks === null || vDisks === void 0 ? void 0 : vDisks.map((vDisk) => (_jsx(VDiskItem, { vDisk: vDisk, inactive: !isVdiskActive(vDisk, viewContext), highlightedVDisk: highlightedVDisk, setHighlightedVDisk: setHighlightedVDisk, unavailableVDiskWidth: unavailableVDiskWidth }, vDisk.StringifiedId))) }), _jsx("div", { className: b('pdisks-wrapper'), children: vDisks === null || vDisks === void 0 ? void 0 : vDisks.map((vDisk) => {
|
16
21
|
var _a;
|
17
22
|
return (_jsx(PDiskItem, { vDisk: vDisk, highlightedVDisk: highlightedVDisk, setHighlightedVDisk: setHighlightedVDisk }, getPDiskId(vDisk.NodeId, (_a = vDisk === null || vDisk === void 0 ? void 0 : vDisk.PDisk) === null || _a === void 0 ? void 0 : _a.PDiskId)));
|
18
23
|
}) })] }));
|
19
24
|
}
|
20
|
-
function VDiskItem({ vDisk, highlightedVDisk, inactive, setHighlightedVDisk }) {
|
25
|
+
function VDiskItem({ vDisk, highlightedVDisk, inactive, setHighlightedVDisk, unavailableVDiskWidth, }) {
|
21
26
|
// Do not show PDisk popup for VDisk
|
22
27
|
const vDiskToShow = { ...vDisk, PDisk: undefined };
|
23
28
|
const vDiskId = vDisk.StringifiedId;
|
24
|
-
|
25
|
-
|
26
|
-
|
29
|
+
// show vdisks without AllocatedSize as having average width (#1433)
|
30
|
+
const minWidth = valueIsDefined(vDiskToShow.AllocatedSize) ? undefined : unavailableVDiskWidth;
|
31
|
+
const flexGrow = Number(vDiskToShow.AllocatedSize) || 1;
|
32
|
+
return (_jsx("div", { style: { flexGrow, minWidth }, className: b('vdisk-item'), children: _jsx(VDisk, { data: vDiskToShow, compact: true, inactive: inactive, showPopup: highlightedVDisk === vDiskId, onShowPopup: () => setHighlightedVDisk(vDiskId), onHidePopup: () => setHighlightedVDisk(undefined), progressBarClassName: b('vdisk-progress-bar') }) }));
|
27
33
|
}
|
28
34
|
function PDiskItem({ vDisk, highlightedVDisk, setHighlightedVDisk }) {
|
29
35
|
const vDiskId = vDisk.StringifiedId;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Disks.js","sourceRoot":"","sources":["../../../../src/containers/Storage/Disks/Disks.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,KAAK,EAAC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B,CAAC,SAAS,CAAC,GACnD,CACL,CAAC;AACN,CAAC"}
|
@@ -62,6 +62,7 @@ export const Storage = ({ database, viewContext, nodeId, groupId, pDiskId }) =>
|
|
62
62
|
groupId,
|
63
63
|
pDiskId,
|
64
64
|
shouldUseGroupsHandler: groupsHandlerAvailable,
|
65
|
+
fieldsRequired: 'all',
|
65
66
|
}, {
|
66
67
|
skip: !isGroups || !capabilitiesLoaded,
|
67
68
|
pollingInterval: autoRefreshInterval,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Storage.js","sourceRoot":"","sources":["../../../src/containers/Storage/Storage.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,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AAExE,OAAO,EAAC,YAAY,EAAE,WAAW,EAAC,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAC;AAEhE,OAAO,EAAC,sBAAsB,EAAE,YAAY,EAAC,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAC,sBAAsB,EAAC,MAAM,mCAAmC,CAAC;AAEzE,OAAO,EAAC,qBAAqB,EAAE,oBAAoB,EAAC,MAAM,mCAAmC,CAAC;AAC9F,OAAO,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAC,+BAA+B,EAAC,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAC,iBAAiB,EAAC,MAAM,kCAAkC,CAAC;AACnE,O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AC,CAAC,CACP,KAAC,oBAAoB,IACjB,gBAAgB,QAChB,oBAAoB,EAAE,YAAY,CAAC,MAAM,EACzC,kBAAkB,EAAE,eAAe,EACnC,eAAe,EAAE,SAAS,EAC1B,eAAe,EAAE,2BAA2B,EAC5C,2BAA2B,EAAE,8BAA8B,GAC7D,CACL,CAAC,CAAC,CAAC,IAAI,IACK,CACpB,CAAC;IACN,CAAC,CAAC;IAEF,IAAI,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,KAAC,YAAY,IAAC,QAAQ,EAAC,MAAM,GAAG,CAAC;IAC5C,CAAC;IAED,OAAO,CACH,MAAC,uBAAuB,eACpB,KAAC,uBAAuB,CAAC,QAAQ,cAAE,cAAc,EAAE,GAAoC,EACtF,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/C,KAAC,uBAAuB,CAAC,KAAK,IAC1B,OAAO,EAAE,SAAS,IAAI,CAAC,kBAAkB,EACzC,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,YAEpB,WAAW,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,IAAI,GACX,IACV,CAC7B,CAAC;AACN,CAAC,CAAC"}
|
@@ -4,8 +4,8 @@ import { ShieldKeyhole } from '@gravity-ui/icons';
|
|
4
4
|
import DataTable from '@gravity-ui/react-data-table';
|
5
5
|
import { Icon, Label, Popover, PopoverBehavior } from '@gravity-ui/uikit';
|
6
6
|
import { CellWithPopover } from '../../../../components/CellWithPopover/CellWithPopover';
|
7
|
-
import { EntityStatus } from '../../../../components/EntityStatus/EntityStatus';
|
8
7
|
import { InternalLink } from '../../../../components/InternalLink';
|
8
|
+
import { StatusIcon } from '../../../../components/StatusIcon/StatusIcon';
|
9
9
|
import { UsageLabel } from '../../../../components/UsageLabel/UsageLabel';
|
10
10
|
import { VDiskWithDonorsStack } from '../../../../components/VDisk/VDiskWithDonorsStack';
|
11
11
|
import { getStorageGroupPath } from '../../../../routes';
|
@@ -108,9 +108,9 @@ const limitColumn = {
|
|
108
108
|
const usedSpaceFlagColumn = {
|
109
109
|
name: STORAGE_GROUPS_COLUMNS_IDS.DiskSpace,
|
110
110
|
header: STORAGE_GROUPS_COLUMNS_TITLES.DiskSpace,
|
111
|
-
width:
|
111
|
+
width: 70,
|
112
112
|
render: ({ row }) => {
|
113
|
-
return _jsx(
|
113
|
+
return _jsx(StatusIcon, { status: row.DiskSpace });
|
114
114
|
},
|
115
115
|
align: DataTable.CENTER,
|
116
116
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAExE,OAAO,EAAC,eAAe,EAAC,MAAM,wDAAwD,CAAC;AACvF,OAAO,EAAC,YAAY,EAAC,MAAM,
|
1
|
+
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAExE,OAAO,EAAC,eAAe,EAAC,MAAM,wDAAwD,CAAC;AACvF,OAAO,EAAC,YAAY,EAAC,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAC,UAAU,EAAC,MAAM,8CAA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G;QACZ,aAAa;QACb,cAAc;QACd,UAAU;QACV,aAAa;QACb,cAAc;QACd,WAAW;QACX,oBAAoB;QACpB,UAAU;QACV,WAAW;QACX,mBAAmB;QACnB,UAAU;QACV,WAAW;QACX,aAAa;QACb,qBAAqB;QACrB,eAAe,CAAC,IAAI,CAAC;QACrB,cAAc,CAAC,IAAI,CAAC;KACvB,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC5B,GAAG,MAAM;QACT,QAAQ,EAAE,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC;KACnD,CAAC,CAAC,CAAC;AACR,CAAC,CAAC"}
|
@@ -29,7 +29,9 @@ export function StorageGroupPage() {
|
|
29
29
|
const [autoRefreshInterval] = useAutoRefreshInterval();
|
30
30
|
const shouldUseGroupsHandler = useStorageGroupsHandlerAvailable();
|
31
31
|
const capabilitiesLoaded = useCapabilitiesLoaded();
|
32
|
-
const groupQuery = storageApi.useGetStorageGroupsInfoQuery(valueIsDefined(groupId)
|
32
|
+
const groupQuery = storageApi.useGetStorageGroupsInfoQuery(valueIsDefined(groupId)
|
33
|
+
? { groupId, shouldUseGroupsHandler, with: 'all', fieldsRequired: 'all' }
|
34
|
+
: skipToken, {
|
33
35
|
pollingInterval: autoRefreshInterval,
|
34
36
|
skip: !capabilitiesLoaded,
|
35
37
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StorageGroupPage.js","sourceRoot":"","sources":["../../../src/containers/StorageGroupPage/StorageGroupPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,eAAe,EAAC,MAAM,kDAAk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AAC,OAAO,EAAE,CAAC;YACX,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,cAAK,SAAS,EAAE,kBAAkB,CAAC,eAAe,CAAC,YAC9C,sBAAsB,CAAC,SAAS,CAAC,GAChC,EACN,KAAC,cAAc,IAAC,OAAO,EAAE,OAAO,GAAI,IACvB,CACpB,CAAC;IACN,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE;QACrB,IAAI,CAAC,UAAU,CAAC,KAAK,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,aACnC,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,WAAW,EAAE,EACb,UAAU,EAAE,EACZ,aAAa,EAAE,IACd,CACT,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
export declare const tabletInfoKeyset: (key: "field_scheme-shard" | "field_follower" | "field_generation" | "field_hive" | "field_state" | "field_uptime" | "field_node" | "
|
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" | "title_info" | "title_links", params?: import("@gravity-ui/i18n").Params) => string;
|