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.
Files changed (112) hide show
  1. package/LICENSE +201 -21
  2. package/dist/components/EmptyState/EmptyState.d.ts +1 -1
  3. package/dist/components/EntityStatus/EntityStatus.d.ts +1 -2
  4. package/dist/components/EntityStatus/EntityStatus.js +5 -3
  5. package/dist/components/EntityStatus/EntityStatus.js.map +1 -1
  6. package/dist/components/EntityStatus/EntityStatus.scss +24 -2
  7. package/dist/components/HoverPopup/HoverPopup.d.ts +4 -3
  8. package/dist/components/HoverPopup/HoverPopup.js +2 -2
  9. package/dist/components/HoverPopup/HoverPopup.js.map +1 -1
  10. package/dist/components/LoaderWrapper/LoaderWrapper.d.ts +1 -1
  11. package/dist/components/MonitoringButton/MonitoringButton.d.ts +1 -3
  12. package/dist/components/MonitoringButton/MonitoringButton.js +2 -5
  13. package/dist/components/MonitoringButton/MonitoringButton.js.map +1 -1
  14. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +1 -3
  15. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  16. package/dist/components/PDiskInfo/PDiskInfo.js +3 -3
  17. package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
  18. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  19. package/dist/components/PDiskPopup/PDiskPopup.d.ts +1 -1
  20. package/dist/components/PDiskPopup/PDiskPopup.js +16 -2
  21. package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
  22. package/dist/components/StatusIcon/StatusIcon.scss +1 -0
  23. package/dist/components/StorageGroupInfo/StorageGroupInfo.js +4 -4
  24. package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -1
  25. package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -1
  26. package/dist/components/TabletNameWrapper/TabletNameWrapper.d.ts +6 -0
  27. package/dist/components/TabletNameWrapper/TabletNameWrapper.js +18 -0
  28. package/dist/components/TabletNameWrapper/TabletNameWrapper.js.map +1 -0
  29. package/dist/components/TabletNameWrapper/i18n/en.json +4 -0
  30. package/dist/components/TabletNameWrapper/i18n/index.d.ts +2 -0
  31. package/dist/components/TabletNameWrapper/i18n/index.js +5 -0
  32. package/dist/components/TabletNameWrapper/i18n/index.js.map +1 -0
  33. package/dist/components/TenantNameWrapper/TenantNameWrapper.d.ts +8 -0
  34. package/dist/components/TenantNameWrapper/TenantNameWrapper.js +34 -0
  35. package/dist/components/TenantNameWrapper/TenantNameWrapper.js.map +1 -0
  36. package/dist/components/TenantNameWrapper/i18n/en.json +5 -0
  37. package/dist/components/TenantNameWrapper/i18n/index.d.ts +2 -0
  38. package/dist/components/TenantNameWrapper/i18n/index.js +5 -0
  39. package/dist/components/TenantNameWrapper/i18n/index.js.map +1 -0
  40. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.d.ts +2 -1
  41. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.js +27 -5
  42. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.js.map +1 -1
  43. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.scss +7 -0
  44. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/en.json +5 -0
  45. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/index.d.ts +2 -0
  46. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/index.js +5 -0
  47. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/index.js.map +1 -0
  48. package/dist/components/VDiskInfo/VDiskInfo.js +5 -4
  49. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  50. package/dist/components/VDiskPopup/VDiskPopup.js +42 -5
  51. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  52. package/dist/components/nodesColumns/columns.js +6 -6
  53. package/dist/containers/App/App.scss +2 -4
  54. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js +1 -3
  55. package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js.map +1 -1
  56. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +1 -3
  57. package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js.map +1 -1
  58. package/dist/containers/Cluster/Cluster.js +2 -2
  59. package/dist/containers/Cluster/Cluster.js.map +1 -1
  60. package/dist/containers/Cluster/Cluster.scss +6 -13
  61. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.d.ts +2 -0
  62. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js +4 -0
  63. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js.map +1 -1
  64. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.scss +6 -0
  65. package/dist/containers/Clusters/columns.js +3 -3
  66. package/dist/containers/Node/NodeStructure/Pdisk.js +4 -4
  67. package/dist/containers/Node/NodeStructure/Pdisk.js.map +1 -1
  68. package/dist/containers/Operations/Operations.scss +5 -0
  69. package/dist/containers/Operations/OperationsControls.d.ts +1 -0
  70. package/dist/containers/Operations/OperationsControls.js +2 -1
  71. package/dist/containers/Operations/OperationsControls.js.map +1 -1
  72. package/dist/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.js +4 -4
  73. package/dist/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.js.map +1 -1
  74. package/dist/containers/Storage/Disks/Disks.js +11 -5
  75. package/dist/containers/Storage/Disks/Disks.js.map +1 -1
  76. package/dist/containers/Storage/Disks/Disks.scss +0 -9
  77. package/dist/containers/Storage/Storage.js +1 -0
  78. package/dist/containers/Storage/Storage.js.map +1 -1
  79. package/dist/containers/Storage/StorageGroups/columns/columns.js +3 -3
  80. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
  81. package/dist/containers/StorageGroupPage/StorageGroupPage.js +3 -1
  82. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  83. package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -1
  84. package/dist/containers/Tablets/TabletsTable.js +2 -8
  85. package/dist/containers/Tablets/TabletsTable.js.map +1 -1
  86. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +2 -1
  87. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +9 -3
  88. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  89. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +9 -3
  90. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  91. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +8 -3
  92. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  93. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +3 -1
  94. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
  95. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +10 -2
  96. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  97. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +2 -6
  98. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +1 -1
  99. package/dist/containers/Tenants/Tenants.js +2 -24
  100. package/dist/containers/Tenants/Tenants.js.map +1 -1
  101. package/dist/containers/Versions/NodesTable/NodesTable.js +2 -2
  102. package/dist/services/api.js +1 -1
  103. package/dist/services/api.js.map +1 -1
  104. package/dist/store/reducers/pdisk/utils.js +6 -4
  105. package/dist/store/reducers/pdisk/utils.js.map +1 -1
  106. package/dist/types/additionalProps.d.ts +1 -1
  107. package/dist/types/api/cluster.d.ts +1 -0
  108. package/dist/types/api/cluster.js.map +1 -1
  109. package/dist/utils/tableUtils/getRequiredDataFields.js +1 -1
  110. package/dist/utils/tableUtils/getRequiredDataFields.js.map +1 -1
  111. package/package.json +2 -2
  112. package/dist/components/MonitoringButton/MonitoringButton.scss +0 -11
@@ -2,19 +2,17 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ArrowsRotateRight } from '@gravity-ui/icons';
3
3
  import { Icon, Text } from '@gravity-ui/uikit';
4
4
  import { ButtonWithConfirmDialog } from '../../components/ButtonWithConfirmDialog/ButtonWithConfirmDialog';
5
- import { DeveloperUILinkButton } from '../../components/DeveloperUILinkButton/DeveloperUILinkButton';
6
5
  import { EntityStatus } from '../../components/EntityStatus/EntityStatus';
7
6
  import { InternalLink } from '../../components/InternalLink';
8
7
  import { ResizeableDataTable } from '../../components/ResizeableDataTable/ResizeableDataTable';
9
8
  import { TableSkeleton } from '../../components/TableSkeleton/TableSkeleton';
9
+ import { TabletNameWrapper } from '../../components/TabletNameWrapper/TabletNameWrapper';
10
10
  import { TabletState } from '../../components/TabletState/TabletState';
11
- import { getTabletPagePath } from '../../routes';
12
11
  import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
13
12
  import { tabletApi } from '../../store/reducers/tablet';
14
13
  import { ETabletState } from '../../types/api/tablet';
15
14
  import { DEFAULT_TABLE_SETTINGS, EMPTY_DATA_PLACEHOLDER } from '../../utils/constants';
16
15
  import { calcUptime } from '../../utils/dataFormatters/dataFormatters';
17
- import { createTabletDeveloperUIHref } from '../../utils/developerUI/developerUI';
18
16
  import { useTypedSelector } from '../../utils/hooks';
19
17
  import { getDefaultNodePath } from '../Node/NodePages';
20
18
  import i18n from './i18n';
@@ -38,14 +36,10 @@ function getColumns({ database }) {
38
36
  return i18n('Tablet');
39
37
  },
40
38
  render: ({ row }) => {
41
- var _a;
42
39
  if (!row.TabletId) {
43
40
  return EMPTY_DATA_PLACEHOLDER;
44
41
  }
45
- const tabletPath = getTabletPagePath(row.TabletId, {
46
- tenantName: database,
47
- });
48
- return (_jsx(EntityStatus, { name: (_a = row.TabletId) === null || _a === void 0 ? void 0 : _a.toString(), path: tabletPath, hasClipboardButton: true, showStatus: false, additionalControls: _jsx(DeveloperUILinkButton, { href: createTabletDeveloperUIHref(row.TabletId) }) }));
42
+ return _jsx(TabletNameWrapper, { tabletId: row.TabletId, database: database });
49
43
  },
50
44
  },
51
45
  {
@@ -1 +1 @@
1
- {"version":3,"file":"TabletsTable.js","sourceRoot":"","sources":["../../../src/containers/Tablets/TabletsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,qBAAqB,EAAC,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAC,YAAY,EAAC,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAC,aAAa,EAAC,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAC,WAAW,EAAC,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAC,iBAAiB,EAAC,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,wBAAwB,CAAC;AAEpD,OAAO,EAAC,sBAAsB,EAAE,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AACrF,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAC,2BAA2B,EAAC,MAAM,qCAAqC,CAAC;AAChF,OAAO,EA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AA2B,CAAC,EACjD,eAAe,EAAE,0BAA0B,YAE3C,KAAC,IAAI,IAAC,IAAI,EAAE,iBAAiB,GAAI,GACX,CAC7B,CAAC;AACN,CAAC;AAWD,MAAM,UAAU,YAAY,CAAC,EAAC,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAoB;IACnF,IAAI,OAAO,EAAE,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"}
@@ -2,7 +2,8 @@ import type { Column } from '@gravity-ui/react-data-table';
2
2
  import type { GetNodesColumnsParams } from '../../../../../components/nodesColumns/types';
3
3
  import type { NodesPreparedEntity } from '../../../../../store/reducers/nodes/types';
4
4
  import type { AdditionalNodesProps } from '../../../../../types/additionalProps';
5
- export declare function getTopNodesByCpuColumns(params: GetNodesColumnsParams): Column<NodesPreparedEntity>[];
5
+ import type { NodesRequiredField } from '../../../../../types/api/nodes';
6
+ export declare function getTopNodesByCpuColumns(params: GetNodesColumnsParams): [Column<NodesPreparedEntity>[], NodesRequiredField[]];
6
7
  interface TopNodesByCpuProps {
7
8
  tenantName: string;
8
9
  additionalNodesProps?: AdditionalNodesProps;
@@ -1,10 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { getCpuColumn, getHostColumn, getNodeIdColumn, } from '../../../../../components/nodesColumns/columns';
3
- import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../../../../components/nodesColumns/constants';
3
+ import { NODES_COLUMNS_TO_DATA_FIELDS, NODES_COLUMNS_WIDTH_LS_KEY, } from '../../../../../components/nodesColumns/constants';
4
4
  import { nodesApi } from '../../../../../store/reducers/nodes/nodes';
5
5
  import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
6
6
  import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
7
7
  import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
8
+ import { getRequiredDataFields } from '../../../../../utils/tableUtils/getRequiredDataFields';
8
9
  import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
9
10
  import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
10
11
  import { getSectionTitle } from '../getSectionTitle';
@@ -16,15 +17,18 @@ export function getTopNodesByCpuColumns(params) {
16
17
  getNodeIdColumn(),
17
18
  hostColumn,
18
19
  ];
19
- return columns.map((column) => ({
20
+ const preparedColumns = columns.map((column) => ({
20
21
  ...column,
21
22
  sortable: false,
22
23
  }));
24
+ const columnsIds = preparedColumns.map((column) => column.name);
25
+ const dataFieldsRequired = getRequiredDataFields(columnsIds, NODES_COLUMNS_TO_DATA_FIELDS);
26
+ return [preparedColumns, dataFieldsRequired];
23
27
  }
24
28
  export function TopNodesByCpu({ tenantName, additionalNodesProps }) {
25
29
  const query = useSearchQuery();
26
30
  const [autoRefreshInterval] = useAutoRefreshInterval();
27
- const columns = getTopNodesByCpuColumns({
31
+ const [columns, fieldsRequired] = getTopNodesByCpuColumns({
28
32
  getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef,
29
33
  database: tenantName,
30
34
  });
@@ -33,6 +37,8 @@ export function TopNodesByCpu({ tenantName, additionalNodesProps }) {
33
37
  type: 'any',
34
38
  sort: '-CPU',
35
39
  limit: TENANT_OVERVIEW_TABLES_LIMIT,
40
+ tablets: false,
41
+ fieldsRequired,
36
42
  }, { pollingInterval: autoRefreshInterval });
37
43
  const loading = isFetching && currentData === undefined;
38
44
  const topNodes = (currentData === null || currentData === void 0 ? void 0 : currentData.Nodes) || [];
@@ -1 +1 @@
1
- {"version":3,"file":"TopNodesByCpu.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.tsx"],"names":[],"mappings":";AAEA,OAAO,EACH,YAAY,EACZ,aAAa,EACb,eAAe,GAClB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAC,0BAA0B,EAAC,MAAM,kDAAkD,CAAC;AAE5F,OAAO,EAAC,QAAQ,EAAC,MAAM,2CAA2C,CAAC;AAEnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAE3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,MAAM,UAAU,uBAAuB,CACnC,MAA6B;IAE7B,MAAM,UAAU,GAAG,EAAC,GAAG,aAAa,CAAsB,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,EAAC,CAAC;IAErF,MAAM,OAAO,GAAG;QACZ,YAAY,EAAuB;QACnC,eAAe,EAAuB;QACtC,UAAU;KACb,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC5B,GAAG,MAAM;QACT,QAAQ,EAAE,KAAK;KAClB,CAAC,CAAC,CAAC;AACR,CAAC;AAOD,MAAM,UAAU,aAAa,CAAC,EAAC,UAAU,EAAE,oBAAoB,EAAqB;IAChF,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,uBAAuB,CAAC;QACpC,UAAU,EAAE,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU;QAC5C,QAAQ,EAAE,UAAU;KACvB,CAAC,CAAC;IAEH,MAAM,EAAC,WAAW,EAAE,UAAU,EAAE,KAAK,EAAC,GAAG,QAAQ,CAAC,gBAAgB,CAC9D;QACI,MAAM,EAAE,UAAU;QAClB,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,4BAA4B;KACtC,EACD,EAAC,eAAe,EAAE,mBAAmB,EAAC,CACzC,CAAC;IAEF,MAAM,OAAO,GAAG,UAAU,IAAI,WAAW,KAAK,SAAS,CAAC;IAExD,MAAM,QAAQ,GAAG,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,KAAI,EAAE,CAAC;IAE1C,MAAM,KAAK,GAAG,eAAe,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC;QACrB,OAAO,EAAE,IAAI,CAAC,gBAAgB,CAAC;QAC/B,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,KAAK;SACvE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,0BAA0B,EAC7C,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TopNodesByCpu.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.tsx"],"names":[],"mappings":";AAEA,OAAO,EACH,YAAY,EACZ,aAAa,EACb,eAAe,GAClB,M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AChD,CACL,CAAC;AACN,CAAC"}
@@ -1,10 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { getHostColumn, getLoadColumn, getNodeIdColumn, getVersionColumn, } from '../../../../../components/nodesColumns/columns';
3
- import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../../../../components/nodesColumns/constants';
3
+ import { NODES_COLUMNS_TO_DATA_FIELDS, NODES_COLUMNS_WIDTH_LS_KEY, } from '../../../../../components/nodesColumns/constants';
4
4
  import { nodesApi } from '../../../../../store/reducers/nodes/nodes';
5
5
  import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
6
6
  import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
7
7
  import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
8
+ import { getRequiredDataFields } from '../../../../../utils/tableUtils/getRequiredDataFields';
8
9
  import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
9
10
  import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
10
11
  import { getSectionTitle } from '../getSectionTitle';
@@ -20,15 +21,18 @@ function getTopNodesByLoadColumns(params) {
20
21
  hostColumn,
21
22
  getVersionColumn(),
22
23
  ];
23
- return columns.map((column) => ({
24
+ const preparedColumns = columns.map((column) => ({
24
25
  ...column,
25
26
  sortable: false,
26
27
  }));
28
+ const columnsIds = preparedColumns.map((column) => column.name);
29
+ const dataFieldsRequired = getRequiredDataFields(columnsIds, NODES_COLUMNS_TO_DATA_FIELDS);
30
+ return [preparedColumns, dataFieldsRequired];
27
31
  }
28
32
  export function TopNodesByLoad({ tenantName, additionalNodesProps }) {
29
33
  const query = useSearchQuery();
30
34
  const [autoRefreshInterval] = useAutoRefreshInterval();
31
- const columns = getTopNodesByLoadColumns({
35
+ const [columns, fieldsRequired] = getTopNodesByLoadColumns({
32
36
  getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef,
33
37
  database: tenantName,
34
38
  });
@@ -37,6 +41,8 @@ export function TopNodesByLoad({ tenantName, additionalNodesProps }) {
37
41
  type: 'any',
38
42
  sort: '-LoadAverage',
39
43
  limit: TENANT_OVERVIEW_TABLES_LIMIT,
44
+ tablets: false,
45
+ fieldsRequired,
40
46
  }, { pollingInterval: autoRefreshInterval });
41
47
  const loading = isFetching && currentData === undefined;
42
48
  const topNodes = (currentData === null || currentData === void 0 ? void 0 : currentData.Nodes) || [];
@@ -1 +1 @@
1
- {"version":3,"file":"TopNodesByLoad.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.tsx"],"names":[],"mappings":";AAEA,OAAO,EACH,aAAa,EACb,aAAa,EACb,eAAe,EACf,gBAAgB,GACnB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAC,0BAA0B,EAAC,MAAM,kDAAkD,CAAC;AAE5F,OAAO,EAAC,QAAQ,EAAC,MAAM,2CAA2C,CAAC;AAEnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAE3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,SAAS,wBAAwB,CAAC,MAA6B;IAC3D,MAAM,UAAU,GAAG;QACf,GAAG,aAAa,CAAsB,MAAM,CAAC;QAC7C,KAAK,EAAE,SAAS;KACnB,CAAC;IAEF,MAAM,OAAO,GAAG;QACZ,aAAa,EAAuB;QACpC,eAAe,EAAuB;QACtC,UAAU;QACV,gBAAgB,EAAuB;KA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,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TopNodesByLoad.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.tsx"],"names":[],"mappings":";AAEA,OAAO,EACH,aAAa,EACb,aAAa,EACb,eAAe,EACf,gBAAgB,GACnB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACH,4BAA4B,EAC5B,0BAA0B,GAC7B,MAAM,kDAAkD,CAAC;AAE1D,OAAO,EAAC,QAAQ,EAAC,MAAM,2CAA2C,CAAC;AAEnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAG3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAC,qBAAqB,EAAC,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,SAAS,wBAAwB,CAC7B,MAA6B;IAE7B,MAAM,UAAU,GAAG;QACf,GAAG,aAAa,CAAsB,MAAM,CAAC;QAC7C,KAAK,EAAE,SAAS;KACnB,CAAC;IAEF,MAAM,OAAO,GAAG;QACZ,aAAa,EAAuB;QACpC,eAAe,EAAuB;QACtC,UAAU;QACV,gBAAgB,EAAuB;KAC1C,CAAC;IAEF,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE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IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,KAAK;SACvE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,0BAA0B,EAC7C,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
@@ -1,10 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { getHostColumn, getLoadColumn, getMemoryColumn, getNodeIdColumn, getSessionsColumn, getSharedCacheUsageColumn, getTabletsColumn, getUptimeColumn, } from '../../../../../components/nodesColumns/columns';
3
- import { NODES_COLUMNS_WIDTH_LS_KEY } from '../../../../../components/nodesColumns/constants';
3
+ import { NODES_COLUMNS_TO_DATA_FIELDS, NODES_COLUMNS_WIDTH_LS_KEY, } from '../../../../../components/nodesColumns/constants';
4
4
  import { nodesApi } from '../../../../../store/reducers/nodes/nodes';
5
5
  import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
6
6
  import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
7
7
  import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
8
+ import { getRequiredDataFields } from '../../../../../utils/tableUtils/getRequiredDataFields';
8
9
  import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
9
10
  import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
10
11
  import { getSectionTitle } from '../getSectionTitle';
@@ -24,15 +25,18 @@ function getTopNodesByMemoryColumns(params) {
24
25
  getSessionsColumn(),
25
26
  getTabletsColumn(params),
26
27
  ];
27
- return columns.map((column) => ({
28
+ const preparedColumns = columns.map((column) => ({
28
29
  ...column,
29
30
  sortable: false,
30
31
  }));
32
+ const columnsIds = preparedColumns.map((column) => column.name);
33
+ const dataFieldsRequired = getRequiredDataFields(columnsIds, NODES_COLUMNS_TO_DATA_FIELDS);
34
+ return [preparedColumns, dataFieldsRequired];
31
35
  }
32
36
  export function TopNodesByMemory({ tenantName, additionalNodesProps }) {
33
37
  const query = useSearchQuery();
34
38
  const [autoRefreshInterval] = useAutoRefreshInterval();
35
- const columns = getTopNodesByMemoryColumns({
39
+ const [columns, fieldsRequired] = getTopNodesByMemoryColumns({
36
40
  getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef,
37
41
  database: tenantName,
38
42
  });
@@ -42,6 +46,7 @@ export function TopNodesByMemory({ tenantName, additionalNodesProps }) {
42
46
  tablets: true,
43
47
  sort: '-Memory',
44
48
  limit: TENANT_OVERVIEW_TABLES_LIMIT,
49
+ fieldsRequired,
45
50
  }, { pollingInterval: autoRefreshInterval });
46
51
  const loading = isFetching && currentData === undefined;
47
52
  const topNodes = (currentData === null || currentData === void 0 ? void 0 : currentData.Nodes) || [];
@@ -1 +1 @@
1
- {"version":3,"file":"TopNodesByMemory.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.tsx"],"names":[],"mappings":";AAEA,OAAO,EACH,aAAa,EACb,aAAa,EACb,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,eAAe,GAClB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAC,0BAA0B,EAAC,MAAM,kDAAkD,CAAC;AAE5F,OAAO,EAAC,QAAQ,EAAC,MAAM,2CAA2C,CAAC;AAEnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAE3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,E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,SAAS;QACf,KAAK,EAAE,4BAA4B;KACtC,EACD,EAAC,eAAe,EAAE,mBAAmB,EAAC,CACzC,CAAC;IAEF,MAAM,OAAO,GAAG,UAAU,IAAI,WAAW,KAAK,SAAS,CAAC;IAExD,MAAM,QAAQ,GAAG,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,KAAI,EAAE,CAAC;IAE1C,MAAM,KAAK,GAAG,eAAe,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC;QACrB,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC;QAC1B,IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,KAAK;SACvE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,0BAA0B,EAC7C,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAChD,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TopNodesByMemory.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.tsx"],"names":[],"mappings":";AAEA,OAAO,EACH,aAAa,EACb,aAAa,EACb,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,eAAe,GAClB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACH,4BAA4B,EAC5B,0BAA0B,GAC7B,MAAM,kDAAkD,CAAC;AAE1D,OAAO,EAAC,QAAQ,EAAC,MAAM,2CAA2C,CAAC;AAEnE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAG3F,OAAO,EAAC,4BAA4B,EAAC,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2
2
  import { Loader } from '@gravity-ui/uikit';
3
3
  import { EntityStatus } from '../../../../components/EntityStatus/EntityStatus';
4
+ import { MonitoringButton } from '../../../../components/MonitoringButton/MonitoringButton';
4
5
  import { overviewApi } from '../../../../store/reducers/overview/overview';
5
6
  import { TENANT_METRICS_TABS_IDS } from '../../../../store/reducers/tenant/constants';
6
7
  import { tenantApi } from '../../../../store/reducers/tenant/tenant';
@@ -87,6 +88,7 @@ export function TenantOverview({ tenantName, additionalTenantProps, additionalNo
87
88
  if (tenantLoading) {
88
89
  return (_jsx("div", { className: b('loader'), children: _jsx(Loader, { size: "m" }) }));
89
90
  }
90
- return (_jsxs("div", { className: b(), children: [_jsxs("div", { className: b('info'), children: [_jsx("div", { className: b('top-label'), children: tenantType }), _jsxs("div", { className: b('top'), children: [renderName(), (_c = additionalTenantProps === null || additionalTenantProps === void 0 ? void 0 : additionalTenantProps.getMonitoringLink) === null || _c === void 0 ? void 0 : _c.call(additionalTenantProps, Name, Type)] }), _jsx(MetricsCards, { poolsCpuStats: poolsStats, memoryStats: memoryStats, blobStorageStats: blobStorageStats, tabletStorageStats: tabletStorageStats, tenantName: tenantName })] }), renderTabContent()] }));
91
+ const monitoringLink = (_c = additionalTenantProps === null || additionalTenantProps === void 0 ? void 0 : additionalTenantProps.getMonitoringLink) === null || _c === void 0 ? void 0 : _c.call(additionalTenantProps, Name, Type);
92
+ return (_jsxs("div", { className: b(), children: [_jsxs("div", { className: b('info'), children: [_jsx("div", { className: b('top-label'), children: tenantType }), _jsxs("div", { className: b('top'), children: [renderName(), monitoringLink && _jsx(MonitoringButton, { href: monitoringLink })] }), _jsx(MetricsCards, { poolsCpuStats: poolsStats, memoryStats: memoryStats, blobStorageStats: blobStorageStats, tabletStorageStats: tabletStorageStats, tenantName: tenantName })] }), renderTabContent()] }));
91
93
  }
92
94
  //# sourceMappingURL=TenantOverview.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TenantOverview.js","sourceRoot":"","sources":["../../../../../src/containers/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,CAAC;gBACvC,OAAO,KAAC,kBAAkB,IAAC,UAAU,EAAE,UAAU,GAAI,CAAC;YAC1D,CAAC;YACD,OAAO,CAAC,CAAC,CAAC;gBACN,OAAO,KAAC,sBAAsB,IAAC,QAAQ,EAAE,UAAU,GAAI,CAAC;YAC5D,CAAC;QACL,CAAC;IACL,CAAC,CAAC;IAEF,IAAI,aAAa,EAAE,CAAC;QAChB,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,YACvB,KAAC,MAAM,IAAC,IAAI,EAAC,GAAG,GAAG,GACjB,CACT,CAAC;IACN,CAAC;IAED,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACf,eAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,cAAK,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,YAAG,UAAU,GAAO,EAClD,eAAK,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,aACnB,UAAU,EAAE,EACZ,MAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,iBAAiB,sEAAG,IAAI,EAAE,IAAI,CAAC,IACrD,EACN,KAAC,YAAY,IACT,aAAa,EAAE,UAAU,EACzB,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,kBAAkB,EAAE,kBAAkB,EACtC,UAAU,EAAE,UAAU,GACxB,IACA,EACL,gBAAgB,EAAE,IACjB,CACT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TenantOverview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,gBAAgB,EAAC,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAC,WAAW,EAAC,MAAM,8CAA8C,CAAC;A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CAAC,CAAC;IAEF,IAAI,aAAa,EAAE,CAAC;QAChB,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,YACvB,KAAC,MAAM,IAAC,IAAI,EAAC,GAAG,GAAG,GACjB,CACT,CAAC;IACN,CAAC;IAED,MAAM,cAAc,GAAG,MAAA,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,iBAAiB,sEAAG,IAAI,EAAE,IAAI,CAAC,CAAC;IAE9E,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACf,eAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,cAAK,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,YAAG,UAAU,GAAO,EAClD,eAAK,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,aACnB,UAAU,EAAE,EACZ,cAAc,IAAI,KAAC,gBAAgB,IAAC,IAAI,EAAE,cAAc,GAAI,IAC3D,EACN,KAAC,YAAY,IACT,aAAa,EAAE,UAAU,EACzB,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,kBAAkB,EAAE,kBAAkB,EACtC,UAAU,EAAE,UAAU,GACxB,IACA,EACL,gBAAgB,EAAE,IACjB,CACT,CAAC;AACN,CAAC"}
@@ -4,24 +4,32 @@ import { storageApi } from '../../../../../store/reducers/storage/storage';
4
4
  import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
5
5
  import { TENANT_OVERVIEW_TABLES_LIMIT } from '../../../../../utils/constants';
6
6
  import { useAutoRefreshInterval, useSearchQuery } from '../../../../../utils/hooks';
7
+ import { getRequiredDataFields } from '../../../../../utils/tableUtils/getRequiredDataFields';
7
8
  import { getStorageTopGroupsColumns } from '../../../../Storage/StorageGroups/columns/columns';
8
- import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY } from '../../../../Storage/StorageGroups/columns/constants';
9
+ import { GROUPS_COLUMNS_TO_DATA_FIELDS, STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, } from '../../../../Storage/StorageGroups/columns/constants';
9
10
  import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
10
11
  import { TenantOverviewTableLayout } from '../TenantOverviewTableLayout';
11
12
  import { getSectionTitle } from '../getSectionTitle';
12
13
  import i18n from '../i18n';
14
+ function getColumns() {
15
+ const preparedColumns = getStorageTopGroupsColumns();
16
+ const columnsIds = preparedColumns.map((column) => column.name);
17
+ const dataFieldsRequired = getRequiredDataFields(columnsIds, GROUPS_COLUMNS_TO_DATA_FIELDS);
18
+ return [preparedColumns, dataFieldsRequired];
19
+ }
13
20
  export function TopGroups({ tenant }) {
14
21
  const query = useSearchQuery();
15
22
  const capabilitiesLoaded = useCapabilitiesLoaded();
16
23
  const groupsHandlerAvailable = useStorageGroupsHandlerAvailable();
17
24
  const [autoRefreshInterval] = useAutoRefreshInterval();
18
- const columns = getStorageTopGroupsColumns();
25
+ const [columns, fieldsRequired] = getColumns();
19
26
  const { currentData, isFetching, error } = storageApi.useGetStorageGroupsInfoQuery({
20
27
  tenant,
21
28
  sort: '-Usage',
22
29
  with: 'all',
23
30
  limit: TENANT_OVERVIEW_TABLES_LIMIT,
24
31
  shouldUseGroupsHandler: groupsHandlerAvailable,
32
+ fieldsRequired,
25
33
  }, {
26
34
  pollingInterval: autoRefreshInterval,
27
35
  skip: !capabilitiesLoaded,
@@ -1 +1 @@
1
- {"version":3,"file":"TopGroups.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAC3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OA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IAAI,EAAE,aAAa,CAAC;YAChB,GAAG,KAAK;YACR,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,2BAA2B,CAAC,OAAO;SACzE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,mCAAmC,EACtD,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,IAAI,CAAC,kBAAkB,EACvC,KAAK,EAAE,KAAK,GACd,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TopGroups.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.tsx"],"names":[],"mappings":";AAAA,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAE3F,OAAO,EAAC,4BAA4B,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAC,qBAAqB,EAAC,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAC,0BAA0B,EAAC,MAAM,mDAAmD,CAAC;AAC7F,OAAO,EACH,6BAA6B,EAC7B,mCAAmC,GACtC,MAAM,qDAAqD,CAAC;AAE7D,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,yBAAyB,EAAC,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,SAAS,UAAU;IACf,MAAM,eAAe,GAAG,0BAA0B,EAAE,CAAC;IAErD,MAAM,UAAU,G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zE,CAAC;KACL,CAAC,CAAC;IAEH,OAAO,CACH,KAAC,yBAAyB,IACtB,iBAAiB,EAAE,mCAAmC,EACtD,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,IAAI,CAAC,kBAAkB,EACvC,KAAK,EAAE,KAAK,GACd,CACL,CAAC;AACN,CAAC"}
@@ -1,14 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import DataTable from '@gravity-ui/react-data-table';
3
- import { DeveloperUILinkButton } from '../../../../components/DeveloperUILinkButton/DeveloperUILinkButton';
4
- import { EntityStatus } from '../../../../components/EntityStatus/EntityStatus';
5
3
  import { InternalLink } from '../../../../components/InternalLink';
6
4
  import { LinkToSchemaObject } from '../../../../components/LinkToSchemaObject/LinkToSchemaObject';
5
+ import { TabletNameWrapper } from '../../../../components/TabletNameWrapper/TabletNameWrapper';
7
6
  import { UsageLabel } from '../../../../components/UsageLabel/UsageLabel';
8
- import { getTabletPagePath } from '../../../../routes';
9
7
  import { getLoadSeverityForShard } from '../../../../store/reducers/tenantOverview/topShards/utils';
10
8
  import { formatNumber, roundToPrecision } from '../../../../utils/dataFormatters/dataFormatters';
11
- import { createTabletDeveloperUIHref } from '../../../../utils/developerUI/developerUI';
12
9
  import { getDefaultNodePath } from '../../../Node/NodePages';
13
10
  export const TOP_SHARDS_COLUMNS_WIDTH_LS_KEY = 'topShardsColumnsWidth';
14
11
  const TOP_SHARDS_COLUMNS_IDS = {
@@ -64,11 +61,10 @@ const tabletIdColumn = {
64
61
  name: TOP_SHARDS_COLUMNS_IDS.TabletId,
65
62
  header: tableColumnsNames[TOP_SHARDS_COLUMNS_IDS.TabletId],
66
63
  render: ({ row }) => {
67
- var _a;
68
64
  if (!row.TabletId) {
69
65
  return '–';
70
66
  }
71
- return (_jsx(EntityStatus, { name: (_a = row.TabletId) === null || _a === void 0 ? void 0 : _a.toString(), path: getTabletPagePath(row.TabletId), hasClipboardButton: true, showStatus: false, additionalControls: _jsx(DeveloperUILinkButton, { href: createTabletDeveloperUIHref(row.TabletId), size: "xs" }) }));
67
+ return _jsx(TabletNameWrapper, { tabletId: row.TabletId });
72
68
  },
73
69
  sortable: false,
74
70
  width: 220,
@@ -1 +1 @@
1
- {"version":3,"file":"getTopShardsColumns.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAIrD,OAAO,EAAC,qBAAqB,EAAC,MAAM,oEAAoE,CAAC;AACzG,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,YAAY,EAAC,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAC,kBAAkB,EAAC,MAAM,8DAA8D,CAAC;AAChG,OAAO,EAAC,UAAU,EAAC,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAC,iBAAiB,EAAC,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAC,uBAAuB,EAAC,MAAM,2DAA2D,CAAC;AAGlG,OAAO,EAAC,YAAY,EAAE,gBAAgB,EAAC,MAAM,iDAAiD,CAAC;AAC/F,OAAO,EAAC,2BAA2B,EAAC,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAC,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAE3D,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAuB,CAAC;AAEvE,MAAM,sBAAsB,GAAG;IAC3B,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,iBAAiB;IAClC,WAAW,EAAE,aAAa;CACpB,CAAC;AAIX,MAAM,iBAAiB,GAAqC;IACxD,QAAQ,EAAE,UAAU;IACpB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,qBAAqB,GAAwB;IAC/C,IAAI,EAAE,sBAAsB,CAAC,eAAe;IAC5C,MAAM,EAAE,iBAAiB,CAAC,sBAAsB,CAAC,eAAe,CAAC;IACjE,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC;IACpD,KAAK,EAAE,SAAS,CAAC,KAAK;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,UAAkB,EAAE,QAAkB,EAAE,EAAE;IAC/E,OAAO;QACH,aAAa,CAAC,UAAU,EAAE,QAAQ,CAAC;QACnC,cAAc;QACd,cAAc;QACd,cAAc;QACd,YAAY;QACZ,qBAAqB;KACxB,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,UAAkB,EAAE,QAAkB,EAAE,EAAE;IAC1E,OAAO,CAAC,cAAc,EAAE,aAAa,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,uBAAuB,CAAC,CAAC;AAC1F,CAAC,CAAC"}
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  import DataTable from '@gravity-ui/react-data-table';
4
4
  import { Button } from '@gravity-ui/uikit';
5
5
  import { EntitiesCount } from '../../components/EntitiesCount';
6
- import { EntityStatus } from '../../components/EntityStatus/EntityStatus';
7
6
  import { ResponseError } from '../../components/Errors/ResponseError';
8
7
  import { Illustration } from '../../components/Illustration';
9
8
  import { PoolsGraph } from '../../components/PoolsGraph/PoolsGraph';
@@ -11,6 +10,7 @@ import { ProblemFilter } from '../../components/ProblemFilter';
11
10
  import { ResizeableDataTable } from '../../components/ResizeableDataTable/ResizeableDataTable';
12
11
  import { Search } from '../../components/Search';
13
12
  import { TableWithControlsLayout } from '../../components/TableWithControlsLayout/TableWithControlsLayout';
13
+ import { TenantNameWrapper } from '../../components/TenantNameWrapper/TenantNameWrapper';
14
14
  import { clusterName } from '../../store';
15
15
  import { ProblemFilterValues, changeFilter, selectProblemFilter, } from '../../store/reducers/settings/settings';
16
16
  import { selectFilteredTenants, selectTenants, selectTenantsSearchValue, } from '../../store/reducers/tenants/selectors';
@@ -19,7 +19,6 @@ import { cn } from '../../utils/cn';
19
19
  import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
20
20
  import { formatCPU, formatNumber, formatStorageValuesToGb, } from '../../utils/dataFormatters/dataFormatters';
21
21
  import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../utils/hooks';
22
- import { getTenantPath } from '../Tenant/TenantPages';
23
22
  import './Tenants.scss';
24
23
  const b = cn('tenants');
25
24
  const DATABASES_COLUMNS_WIDTH_LS_KEY = 'databasesTableColumnsWidth';
@@ -42,32 +41,11 @@ export const Tenants = ({ additionalTenantsProps }) => {
42
41
  return (_jsxs(React.Fragment, { children: [_jsx(Search, { value: searchValue, onChange: handleSearchChange, placeholder: "Database name", className: b('search') }), _jsx(ProblemFilter, { value: problemFilter, onChange: handleProblemFilterChange }), _jsx(EntitiesCount, { total: tenants.length, current: (filteredTenants === null || filteredTenants === void 0 ? void 0 : filteredTenants.length) || 0, label: 'Databases', loading: loading })] }));
43
42
  };
44
43
  const renderTable = () => {
45
- const getTenantBackend = (tenant) => {
46
- var _a, _b;
47
- if (typeof (additionalTenantsProps === null || additionalTenantsProps === void 0 ? void 0 : additionalTenantsProps.prepareTenantBackend) !== 'function') {
48
- return undefined;
49
- }
50
- let backend = (_a = tenant.MonitoringEndpoint) !== null && _a !== void 0 ? _a : tenant.backend;
51
- const nodeIds = (_b = tenant.NodeIds) !== null && _b !== void 0 ? _b : tenant.sharedNodeIds;
52
- if (!backend && nodeIds && nodeIds.length > 0) {
53
- const index = Math.floor(Math.random() * nodeIds.length);
54
- backend = { NodeId: nodeIds[index] };
55
- }
56
- return additionalTenantsProps.prepareTenantBackend(backend);
57
- };
58
44
  const columns = [
59
45
  {
60
46
  name: 'Name',
61
47
  header: 'Database',
62
- render: ({ row }) => {
63
- var _a;
64
- const backend = getTenantBackend(row);
65
- const isExternalLink = Boolean(backend);
66
- return (_jsx(EntityStatus, { externalLink: isExternalLink, className: b('name'), name: row.Name || 'unknown database', withLeftTrim: true, status: row.Overall, hasClipboardButton: true, path: getTenantPath({
67
- name: row.Name,
68
- backend,
69
- }), additionalControls: (_a = additionalTenantsProps === null || additionalTenantsProps === void 0 ? void 0 : additionalTenantsProps.getMonitoringLink) === null || _a === void 0 ? void 0 : _a.call(additionalTenantsProps, row.Name, row.Type) }));
70
- },
48
+ render: ({ row }) => (_jsx(TenantNameWrapper, { tenant: row, additionalTenantsProps: additionalTenantsProps })),
71
49
  width: 440,
72
50
  sortable: true,
73
51
  defaultOrder: DataTable.DESCENDING,
@@ -1 +1 @@
1
- {"version":3,"file":"Tenants.js","sourceRoot":"","sources":["../../../src/containers/Tenants/Tenants.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAC,YAAY,EAAC,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,UAAU,EAAC,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAC,mBAAmB,EAAC,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAC,MAAM,EAAC,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AACxC,OAAO,EACH,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,GACtB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AC;IACN,CAAC,CAAC;IAEF,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,IAAC,OAAO,EAAE,OAAO,YAC1C,WAAW,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,GACP,IACV,CAC7B,CAAC;AACN,CAAC,CAAC"}
@@ -81,8 +81,8 @@ const columns = [
81
81
  header: 'Load average',
82
82
  sortAccessor: ({ LoadAveragePercents = [] }) => LoadAveragePercents[0],
83
83
  defaultOrder: DataTable.DESCENDING,
84
- width: 140,
85
- resizeMinWidth: 140,
84
+ width: 170,
85
+ resizeMinWidth: 170,
86
86
  render: ({ row }) => row.LoadAveragePercents && row.LoadAveragePercents.length > 0 ? (_jsx(ProgressViewer, { value: row.LoadAveragePercents[0], percents: true, capacity: 100, colorizeProgress: true })) : ('—'),
87
87
  align: DataTable.LEFT,
88
88
  },
@@ -122,7 +122,7 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
122
122
  ...params,
123
123
  }, { concurrentId, requestConfig: { signal } });
124
124
  }
125
- getStorageGroups({ nodeId, pDiskId, groupId, fieldsRequired = 'all', filter, ...params }, { concurrentId, signal } = {}) {
125
+ getStorageGroups({ nodeId, pDiskId, groupId, fieldsRequired, filter, ...params }, { concurrentId, signal } = {}) {
126
126
  const preparedNodeId = Array.isArray(nodeId)
127
127
  ? this.prepareArrayRequestParam(nodeId)
128
128
  : nodeId;
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/services/api.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAGrD,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,OAAO,EAAC,OAAO,IAAI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