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
@@ -3,10 +3,13 @@ import { preparePDiskData, prepareVDiskData } from '../../../utils/disks/prepare
3
3
  import { prepareNodeSystemState } from '../../../utils/nodes';
4
4
  export function preparePDiskDataResponse([pdiskResponse = {}, nodeResponse]) {
5
5
  var _a, _b, _c;
6
+ const rawNode = (_a = nodeResponse.SystemStateInfo) === null || _a === void 0 ? void 0 : _a[0];
7
+ const preparedNode = prepareNodeSystemState(rawNode);
6
8
  const { BSC = {}, Whiteboard = {} } = pdiskResponse || {};
7
9
  const { PDisk: WhiteboardPDiskData = {}, VDisks: WhiteboardVDisksData = [] } = Whiteboard;
8
10
  const { PDisk: BSCPDiskData = {} } = BSC;
9
11
  const preparedPDisk = preparePDiskData(WhiteboardPDiskData, BSCPDiskData);
12
+ const NodeId = (_b = preparedPDisk.NodeId) !== null && _b !== void 0 ? _b : preparedNode.NodeId;
10
13
  const { LogUsedSize, LogTotalSize, TotalSize: PDiskTotalSize, SystemSize, ExpectedSlotCount, EnforcedDynamicSlotSize, } = preparedPDisk;
11
14
  let logSlot;
12
15
  if (valueIsDefined(LogTotalSize)) {
@@ -23,7 +26,8 @@ export function preparePDiskDataResponse([pdiskResponse = {}, nodeResponse]) {
23
26
  },
24
27
  };
25
28
  }
26
- const preparedVDisks = WhiteboardVDisksData.map(prepareVDiskData).sort((disk1, disk2) => Number(disk2.VDiskSlotId) - Number(disk1.VDiskSlotId));
29
+ const preparedVDisks = WhiteboardVDisksData.map((disk) => prepareVDiskData({ ...disk, NodeId }));
30
+ preparedVDisks.sort((disk1, disk2) => Number(disk2.VDiskSlotId) - Number(disk1.VDiskSlotId));
27
31
  const vdisksSlots = preparedVDisks.map((preparedVDisk) => {
28
32
  var _a;
29
33
  return {
@@ -63,11 +67,9 @@ export function preparePDiskDataResponse([pdiskResponse = {}, nodeResponse]) {
63
67
  if (logSlot && diskSlots.length > 0) {
64
68
  diskSlots.unshift(logSlot);
65
69
  }
66
- const rawNode = (_a = nodeResponse.SystemStateInfo) === null || _a === void 0 ? void 0 : _a[0];
67
- const preparedNode = prepareNodeSystemState(rawNode);
68
70
  return {
69
71
  ...preparedPDisk,
70
- NodeId: (_b = preparedPDisk.NodeId) !== null && _b !== void 0 ? _b : preparedNode.NodeId,
72
+ NodeId,
71
73
  NodeHost: preparedNode.Host,
72
74
  NodeType: (_c = preparedNode.Roles) === null || _c === void 0 ? void 0 : _c[0],
73
75
  NodeDC: preparedNode.DC,
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/pdisk/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,QAAQ,EAAE,cAAc,EAAC,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAI5D,MAAM,UAAU,wBAAwB,CAAC,CAAC,aAAa,GAAG,EAAE,EAAE,YAAY,CAGzE;;IACG,MAAM,EAAC,GAAG,GAAG,EAAE,EAAE,UAAU,GAAG,EAAE,EAAC,GAAG,aAAa,IAAI,EAAE,CAAC;IAExD,MAAM,EAAC,KAAK,EAAE,mBAAmB,GAAG,EAAE,EAAE,MAAM,EAAE,oBAAoB,GAAG,EAAE,EAAC,GAAG,UAAU,CAAC;IACxF,MAAM,EAAC,KAAK,EAAE,YAAY,GAAG,EAAE,EAAC,GAAG,GAAG,CAAC;IAEvC,MAAM,aAAa,GAAG,gBAAgB,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;IAE1E,MAAM,EACF,WAAW,EACX,YAAY,EACZ,SAAS,EAAE,cAAc,EACzB,UAAU,EACV,iBAAiB,EACjB,uBAAuB,GAC1B,GAAG,aAAa,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
16
  export interface AdditionalTenantsProps {
17
17
  prepareTenantBackend?: (backend: string | NodeAddress | undefined) => string | undefined;
18
- getMonitoringLink?: (name?: string, type?: ETenantType) => React.ReactNode;
18
+ getMonitoringLink?: (name?: string, type?: ETenantType) => string | null;
19
19
  }
20
20
  export type NodeAddress = Pick<TSystemStateInfo, 'Host' | 'Endpoints' | 'NodeId'>;
21
21
  export type GetNodeRefFunc = (node?: NodeAddress) => string | null;
@@ -7,6 +7,7 @@ import type { TTraceCheck, TTraceView } from './trace';
7
7
  * source: https://github.com/ydb-platform/ydb/blob/main/ydb/core/viewer/protos/viewer.proto
8
8
  */
9
9
  export interface TClusterInfoV1 {
10
+ error?: string;
10
11
  Name?: string;
11
12
  Overall?: EFlag;
12
13
  NodesTotal?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../../src/types/api/cluster.ts"],"names":[],"mappings":"AAkFA,MAAM,UAAU,eAAe,CAAC,IAAmB;IAC/C,OAAO,IAAI;QACP,CAAC,CAAC,SAAS,IAAI,IAAI,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,QAAQ,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC;QAC5E,CAAC,CAAC,KAAK,CAAC;AAChB,CAAC"}
1
+ {"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../../src/types/api/cluster.ts"],"names":[],"mappings":"AAmFA,MAAM,UAAU,eAAe,CAAC,IAAmB;IAC/C,OAAO,IAAI;QACP,CAAC,CAAC,SAAS,IAAI,IAAI,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,QAAQ,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC;QAC5E,CAAC,CAAC,KAAK,CAAC;AAChB,CAAC"}
@@ -6,6 +6,6 @@ export function getRequiredDataFields(columns, columnsToFields) {
6
6
  });
7
7
  return fields;
8
8
  }, new Set());
9
- return Array.from(requiredFieldsSet);
9
+ return Array.from(requiredFieldsSet).sort();
10
10
  }
11
11
  //# sourceMappingURL=getRequiredDataFields.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRequiredDataFields.js","sourceRoot":"","sources":["../../../src/utils/tableUtils/getRequiredDataFields.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,qBAAqB,CACjC,OAAiB,EACjB,eAAkD;IAElD,MAAM,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE;QACxD,MAAM,YAAY,GAAG,eAAe,CAAC,MAAkB,CAAC,CAAC;QACzD,YAAY,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;YAC3B,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACtB,CAAC,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAClB,CAAC,EAAE,IAAI,GAAG,EAAiB,CAAC,CAAC;IAE7B,OAAO,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AACzC,CAAC"}
1
+ {"version":3,"file":"getRequiredDataFields.js","sourceRoot":"","sources":["../../../src/utils/tableUtils/getRequiredDataFields.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,qBAAqB,CACjC,OAAiB,EACjB,eAAkD;IAElD,MAAM,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE;QACxD,MAAM,YAAY,GAAG,eAAe,CAAC,MAAkB,CAAC,CAAC;QACzD,YAAY,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;YAC3B,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACtB,CAAC,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAClB,CAAC,EAAE,IAAI,GAAG,EAAiB,CAAC,CAAC;IAE7B,OAAO,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,IAAI,EAAE,CAAC;AAChD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-embedded-ui",
3
- "version": "6.27.1",
3
+ "version": "6.28.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -22,7 +22,7 @@
22
22
  "@gravity-ui/paranoid": "^2.0.1",
23
23
  "@gravity-ui/react-data-table": "^2.1.1",
24
24
  "@gravity-ui/table": "^0.5.0",
25
- "@gravity-ui/uikit": "^6.20.1",
25
+ "@gravity-ui/uikit": "^6.33.0",
26
26
  "@gravity-ui/websql-autocomplete": "^9.1.0",
27
27
  "@hookform/resolvers": "^3.9.0",
28
28
  "@reduxjs/toolkit": "^2.2.3",
@@ -1,11 +0,0 @@
1
- .kv-monitoring-button {
2
- display: none;
3
-
4
- &_visible {
5
- display: inline-block;
6
- }
7
-
8
- .data-table__row:hover & {
9
- display: inline-block;
10
- }
11
- }