ydb-embedded-ui 6.34.0 → 6.36.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. package/dist/components/AutoRefreshControl/AutoRefreshControl.js +1 -1
  2. package/dist/components/AutoRefreshControl/AutoRefreshControl.js.map +1 -1
  3. package/dist/components/MemoryViewer/MemoryViewer.d.ts +1 -3
  4. package/dist/components/MemoryViewer/MemoryViewer.js +3 -1
  5. package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -1
  6. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +5 -3
  7. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +3 -2
  8. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  9. package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
  10. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  11. package/dist/components/PaginatedTable/TableChunk.d.ts +4 -5
  12. package/dist/components/PaginatedTable/TableChunk.js +7 -1
  13. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  14. package/dist/components/nodesColumns/__test__/utils.test.d.ts +1 -0
  15. package/dist/components/nodesColumns/__test__/utils.test.js +28 -0
  16. package/dist/components/nodesColumns/__test__/utils.test.js.map +1 -0
  17. package/dist/components/nodesColumns/columns.d.ts +28 -2
  18. package/dist/components/nodesColumns/columns.js +83 -5
  19. package/dist/components/nodesColumns/columns.js.map +1 -1
  20. package/dist/components/nodesColumns/constants.d.ts +12 -0
  21. package/dist/components/nodesColumns/constants.js +36 -0
  22. package/dist/components/nodesColumns/constants.js.map +1 -1
  23. package/dist/components/nodesColumns/i18n/en.json +11 -1
  24. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  25. package/dist/components/nodesColumns/utils.d.ts +2 -0
  26. package/dist/components/nodesColumns/utils.js +11 -0
  27. package/dist/components/nodesColumns/utils.js.map +1 -0
  28. package/dist/containers/Nodes/Nodes.js +2 -2
  29. package/dist/containers/Nodes/Nodes.js.map +1 -1
  30. package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +3 -1
  31. package/dist/containers/Nodes/NodesControls/NodesControls.js +3 -3
  32. package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -1
  33. package/dist/containers/Nodes/PaginatedNodes.d.ts +11 -3
  34. package/dist/containers/Nodes/PaginatedNodes.js +16 -19
  35. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  36. package/dist/containers/Nodes/columns/constants.d.ts +3 -2
  37. package/dist/containers/Nodes/columns/constants.js +8 -8
  38. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  39. package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +3 -2
  40. package/dist/containers/Nodes/useNodesPageQueryParams.js +2 -2
  41. package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -1
  42. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  43. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  44. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.d.ts +4 -0
  45. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js +23 -0
  46. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js.map +1 -0
  47. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.d.ts +5 -0
  48. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js +23 -0
  49. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js.map +1 -0
  50. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.d.ts +6 -0
  51. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js +26 -0
  52. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js.map +1 -0
  53. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +1 -1
  54. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
  55. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.d.ts +2 -2
  56. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js +3 -2
  57. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js.map +1 -1
  58. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +1 -1
  59. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  60. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.d.ts +5 -1
  61. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +6 -2
  62. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js.map +1 -1
  63. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +1 -1
  64. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
  65. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +5 -0
  66. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +1 -1
  67. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
  68. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +1 -1
  69. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
  70. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +2 -2
  71. package/dist/containers/Tenant/Query/ExecuteResult/utils.d.ts +1 -1
  72. package/dist/containers/Tenant/Query/ExecuteResult/utils.js +1 -1
  73. package/dist/containers/Tenant/Query/ExecuteResult/utils.js.map +1 -1
  74. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +2 -2
  75. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +1 -1
  76. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
  77. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.d.ts +2 -2
  78. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js +1 -1
  79. package/dist/containers/Tenant/Query/ExplainResult/components/Graph/Graph.js.map +1 -1
  80. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.d.ts +1 -1
  81. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/types.d.ts +1 -1
  82. package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/utils.d.ts +1 -1
  83. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +3 -9
  84. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -1
  85. package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +1 -2
  86. package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +1 -1
  87. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +1 -1
  88. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  89. package/dist/containers/Tenant/Query/Query.js +1 -1
  90. package/dist/containers/Tenant/Query/Query.js.map +1 -1
  91. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +25 -12
  92. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  93. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +5 -3
  94. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  95. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
  96. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
  97. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
  98. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +1 -0
  99. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
  100. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +1 -0
  101. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +12 -3
  102. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +25 -10
  103. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js.map +1 -1
  104. package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +0 -1
  105. package/dist/containers/Tenant/utils/newSQLQueryActions.js +0 -1
  106. package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -1
  107. package/dist/containers/Tenant/utils/schemaActions.js +5 -4
  108. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  109. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +86 -53
  110. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
  111. package/dist/containers/UserSettings/i18n/en.json +3 -2
  112. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  113. package/dist/containers/UserSettings/settings.d.ts +1 -0
  114. package/dist/containers/UserSettings/settings.js +6 -2
  115. package/dist/containers/UserSettings/settings.js.map +1 -1
  116. package/dist/containers/Versions/groupNodes.js +1 -1
  117. package/dist/containers/Versions/groupNodes.js.map +1 -1
  118. package/dist/services/api.js +1 -0
  119. package/dist/services/api.js.map +1 -1
  120. package/dist/services/settings.d.ts +1 -0
  121. package/dist/services/settings.js +2 -1
  122. package/dist/services/settings.js.map +1 -1
  123. package/dist/store/configureStore.d.ts +16 -8
  124. package/dist/store/configureStore.js +1 -1
  125. package/dist/store/configureStore.js.map +1 -1
  126. package/dist/store/defaultStore.d.ts +8 -4
  127. package/dist/store/reducers/cancelQuery.js +2 -2
  128. package/dist/store/reducers/cancelQuery.js.map +1 -1
  129. package/dist/store/reducers/capabilities/capabilities.d.ts +32 -16
  130. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  131. package/dist/store/reducers/capabilities/hooks.js +3 -0
  132. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  133. package/dist/store/reducers/cluster/cluster.d.ts +24 -12
  134. package/dist/store/reducers/cluster/utils.js +2 -2
  135. package/dist/store/reducers/cluster/utils.js.map +1 -1
  136. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +3 -3
  137. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  138. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +80 -40
  139. package/dist/store/reducers/index.d.ts +12 -6
  140. package/dist/store/reducers/index.js +2 -2
  141. package/dist/store/reducers/index.js.map +1 -1
  142. package/dist/store/reducers/node/selectors.d.ts +4 -2
  143. package/dist/store/reducers/nodes/types.d.ts +13 -0
  144. package/dist/store/reducers/nodes/utils.js +3 -3
  145. package/dist/store/reducers/nodes/utils.js.map +1 -1
  146. package/dist/store/reducers/nodesList.d.ts +4 -2
  147. package/dist/store/reducers/partitions/partitions.d.ts +4 -3
  148. package/dist/store/reducers/partitions/partitions.js +1 -3
  149. package/dist/store/reducers/partitions/partitions.js.map +1 -1
  150. package/dist/store/reducers/partitions/types.d.ts +0 -3
  151. package/dist/store/reducers/preview.js +2 -2
  152. package/dist/store/reducers/preview.js.map +1 -1
  153. package/dist/store/reducers/query/__test__/utils.test.d.ts +1 -0
  154. package/dist/store/reducers/query/__test__/utils.test.js +24 -0
  155. package/dist/store/reducers/query/__test__/utils.test.js.map +1 -0
  156. package/dist/store/reducers/query/prepareQueryData.d.ts +6 -0
  157. package/dist/store/reducers/{explainQuery/utils.js → query/prepareQueryData.js} +11 -10
  158. package/dist/store/reducers/query/prepareQueryData.js.map +1 -0
  159. package/dist/store/reducers/query/query.d.ts +55 -0
  160. package/dist/store/reducers/{executeQuery.js → query/query.js} +32 -45
  161. package/dist/store/reducers/query/query.js.map +1 -0
  162. package/dist/store/reducers/query/types.d.ts +57 -0
  163. package/dist/store/reducers/query/types.js.map +1 -0
  164. package/dist/store/reducers/query/utils.d.ts +7 -0
  165. package/dist/store/reducers/query/utils.js +21 -0
  166. package/dist/store/reducers/query/utils.js.map +1 -0
  167. package/dist/store/reducers/queryActions/queryActions.js +1 -1
  168. package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
  169. package/dist/store/reducers/queryActions/types.d.ts +1 -1
  170. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +2 -2
  171. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  172. package/dist/store/reducers/tablets.d.ts +20 -10
  173. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +2 -2
  174. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
  175. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +2 -2
  176. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
  177. package/dist/store/reducers/tenants/selectors.d.ts +36 -18
  178. package/dist/store/reducers/topic.d.ts +60 -30
  179. package/dist/store/reducers/trace.js +1 -1
  180. package/dist/store/reducers/trace.js.map +1 -1
  181. package/dist/types/api/nodes.d.ts +56 -0
  182. package/dist/types/api/nodes.js.map +1 -1
  183. package/dist/types/api/tenant.d.ts +2 -1
  184. package/dist/types/api/tenant.js.map +1 -1
  185. package/dist/utils/constants.d.ts +1 -0
  186. package/dist/utils/constants.js +1 -0
  187. package/dist/utils/constants.js.map +1 -1
  188. package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -1
  189. package/dist/utils/dataFormatters/dataFormatters.js +12 -6
  190. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  191. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +2 -8
  192. package/dist/utils/hooks/useQueryExecutionSettings.js +14 -3
  193. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  194. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +13 -9
  195. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -1
  196. package/dist/utils/monaco/insertSnippet.d.ts +1 -0
  197. package/dist/utils/monaco/insertSnippet.js +8 -0
  198. package/dist/utils/monaco/insertSnippet.js.map +1 -0
  199. package/dist/utils/prepareQueryExplain.d.ts +1 -1
  200. package/dist/utils/query.d.ts +1 -2
  201. package/dist/utils/query.js +5 -10
  202. package/dist/utils/query.js.map +1 -1
  203. package/dist/utils/query.test.js +20 -34
  204. package/dist/utils/query.test.js.map +1 -1
  205. package/dist/utils/timeParsers/parsers.d.ts +1 -1
  206. package/dist/utils/timeParsers/parsers.js +3 -2
  207. package/dist/utils/timeParsers/parsers.js.map +1 -1
  208. package/package.json +2 -2
  209. package/dist/store/reducers/executeQuery.d.ts +0 -54
  210. package/dist/store/reducers/executeQuery.js.map +0 -1
  211. package/dist/store/reducers/explainQuery/explainQuery.d.ts +0 -10
  212. package/dist/store/reducers/explainQuery/explainQuery.js +0 -72
  213. package/dist/store/reducers/explainQuery/explainQuery.js.map +0 -1
  214. package/dist/store/reducers/explainQuery/types.d.ts +0 -28
  215. package/dist/store/reducers/explainQuery/types.js.map +0 -1
  216. package/dist/store/reducers/explainQuery/utils.d.ts +0 -6
  217. package/dist/store/reducers/explainQuery/utils.js.map +0 -1
  218. package/dist/types/store/executeQuery.d.ts +0 -42
  219. package/dist/types/store/executeQuery.js +0 -6
  220. package/dist/types/store/executeQuery.js.map +0 -1
  221. /package/dist/store/reducers/{explainQuery → query}/types.js +0 -0
@@ -14,6 +14,6 @@ export function AutoRefreshControl({ className }) {
14
14
  dispatch(api.util.invalidateTags(['All']));
15
15
  }, extraProps: { 'aria-label': i18n('Refresh') }, children: _jsx(Button.Icon, { children: _jsx(ArrowsRotateLeft, {}) }) }), _jsxs(Select, { value: [String(autoRefreshInterval)], onUpdate: (v) => {
16
16
  setAutoRefreshInterval(Number(v));
17
- }, width: 85, children: [_jsx(Select.Option, { value: "0", children: i18n('None') }), _jsx(Select.Option, { value: "15000", children: i18n('15 sec') }), _jsx(Select.Option, { value: "60000", children: i18n('1 min') }), _jsx(Select.Option, { value: "120000", children: i18n('2 min') }), _jsx(Select.Option, { value: "300000", children: i18n('5 min') })] })] }));
17
+ }, width: 85, qa: "ydb-autorefresh-select", children: [_jsx(Select.Option, { value: "0", children: i18n('None') }), _jsx(Select.Option, { value: "15000", children: i18n('15 sec') }), _jsx(Select.Option, { value: "60000", children: i18n('1 min') }), _jsx(Select.Option, { value: "120000", children: i18n('2 min') }), _jsx(Select.Option, { value: "300000", children: i18n('5 min') })] })] }));
18
18
  }
19
19
  //# sourceMappingURL=AutoRefreshControl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AutoRefreshControl.js","sourceRoot":"","sources":["../../../src/components/AutoRefreshControl/AutoRefreshControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,MAAM,EAAE,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,GAAG,EAAC,MAAM,0BAA0B,CAAC;AAC7C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAE3E,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,2BAA2B,CAAC;AAEnC,MAAM,CAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC,CAAC;AAMrC,MAAM,UAAU,kBAAkB,CAAC,EAAC,SAAS,EAA0B;IACnE,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IACpC,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IAC/E,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,aAC9B,KAAC,MAAM,IACH,IAAI,EAAC,gBAAgB,EACrB,OAAO,EAAE,GAAG,EAAE;oBACV,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC/C,CAAC,EACD,UAAU,EAAE,EAAC,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,EAAC,YAE3C,KAAC,MAAM,CAAC,IAAI,cACR,KAAC,gBA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AI,CAAC,OAAO,CAAC,GAAiB,IACxD,IACP,CACT,CAAC;AACN,CAAC"}
@@ -5,10 +5,8 @@ export interface MemoryProgressViewerProps {
5
5
  stats: TMemoryStats;
6
6
  className?: string;
7
7
  warningThreshold?: number;
8
- value?: number | string;
9
- capacity?: number | string;
10
8
  formatValues: FormatProgressViewerValues;
11
9
  percents?: boolean;
12
10
  dangerThreshold?: number;
13
11
  }
14
- export declare function MemoryViewer({ stats, value, capacity, percents, formatValues, className, warningThreshold, dangerThreshold, }: MemoryProgressViewerProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function MemoryViewer({ stats, percents, formatValues, className, warningThreshold, dangerThreshold, }: MemoryProgressViewerProps): import("react/jsx-runtime").JSX.Element;
@@ -28,7 +28,9 @@ const formatDetailedValues = (value, total) => {
28
28
  }),
29
29
  ];
30
30
  };
31
- export function MemoryViewer({ stats, value, capacity, percents, formatValues, className, warningThreshold = 60, dangerThreshold = 80, }) {
31
+ export function MemoryViewer({ stats, percents, formatValues, className, warningThreshold = 60, dangerThreshold = 80, }) {
32
+ const value = stats.AnonRss;
33
+ const capacity = stats.HardLimit;
32
34
  const theme = useTheme();
33
35
  let fillWidth = Math.round((parseFloat(String(value)) / parseFloat(String(capacity))) * 100) || 0;
34
36
  fillWidth = fillWidth > 100 ? 100 : fillWidth;
@@ -1 +1 @@
1
- {"version":3,"file":"MemoryViewer.js","sourceRoot":"","sources":["../../../src/components/MemoryViewer/MemoryViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,cAAc,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAG3D,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAC,SAAS,EAAC,MA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uBQ,CACzB,CACJ,GACY,YAGrB,cAAK,SAAS,EAAE,CAAC,CAAC,EAAC,KAAK,EAAE,MAAM,EAAC,EAAE,SAAS,CAAC,YACzC,eAAK,SAAS,EAAE,CAAC,CAAC,oBAAoB,CAAC,aAClC,cAAc;yBACV,MAAM,CAAC,CAAC,EAAC,MAAM,EAAC,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC;yBAC7B,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;wBACb,IAAI,OAAO,CAAC,KAAK,GAAG,wBAAwB,EAAE,CAAC;4BAC3C,OAAO,IAAI,CAAC;wBAChB,CAAC;wBAED,MAAM,kBAAkB,GAAG,IAAI,CAAC,GAAG,CAC/B,oBAAoB,CAAC,OAAO,CAAC,KAAK,CAAC,EACnC,wBAAwB,CAC3B,CAAC;wBACF,MAAM,QAAQ,GAAG,eAAe,CAAC;wBACjC,eAAe,IAAI,kBAAkB,CAAC;wBAEtC,OAAO,CACH,cAEI,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,EAAC,IAAI,EAAE,OAAO,CAAC,GAAG,EAAC,CAAC,EAC5C,KAAK,EAAE;gCACH,KAAK,EAAE,GAAG,kBAAkB,GAAG;gCAC/B,IAAI,EAAE,GAAG,QAAQ,GAAG;6BACvB,IALI,OAAO,CAAC,GAAG,CAMlB,CACL,CAAC;oBACN,CAAC,CAAC,EACN,cAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,YAAG,aAAa,EAAE,GAAO,IAChD,GACJ,GACG,CAChB,CAAC;AACN,CAAC"}
@@ -1,13 +1,15 @@
1
1
  import type { NodeAddress } from '../../types/additionalProps';
2
- import type { TSystemStateInfo } from '../../types/api/nodes';
3
- export type NodeHostData = NodeAddress & Pick<TSystemStateInfo, 'SystemState'> & {
2
+ import type { TNodeInfo, TSystemStateInfo } from '../../types/api/nodes';
3
+ export type NodeHostData = NodeAddress & Pick<TNodeInfo, 'ConnectStatus'> & Pick<TSystemStateInfo, 'SystemState'> & {
4
4
  NodeId: string | number;
5
5
  TenantName?: string;
6
6
  };
7
+ export type StatusForIcon = 'SystemState' | 'ConnectStatus';
7
8
  interface NodeHostWrapperProps {
8
9
  node: NodeHostData;
9
10
  getNodeRef?: (node?: NodeAddress) => string | null;
10
11
  database?: string;
12
+ statusForIcon?: StatusForIcon;
11
13
  }
12
- export declare const NodeHostWrapper: ({ node, getNodeRef, database }: NodeHostWrapperProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const NodeHostWrapper: ({ node, getNodeRef, database, statusForIcon, }: NodeHostWrapperProps) => import("react/jsx-runtime").JSX.Element;
13
15
  export {};
@@ -6,10 +6,11 @@ import { isUnavailableNode } from '../../utils/nodes';
6
6
  import { CellWithPopover } from '../CellWithPopover/CellWithPopover';
7
7
  import { EntityStatus } from '../EntityStatus/EntityStatus';
8
8
  import { NodeEndpointsTooltipContent } from '../TooltipsContent';
9
- export const NodeHostWrapper = ({ node, getNodeRef, database }) => {
9
+ export const NodeHostWrapper = ({ node, getNodeRef, database, statusForIcon, }) => {
10
10
  if (!node.Host) {
11
11
  return _jsx("span", { children: "\u2014" });
12
12
  }
13
+ const status = statusForIcon === 'ConnectStatus' ? node.ConnectStatus : node.SystemState;
13
14
  const isNodeAvailable = !isUnavailableNode(node);
14
15
  let developerUIInternalHref;
15
16
  if (getNodeRef) {
@@ -27,6 +28,6 @@ export const NodeHostWrapper = ({ node, getNodeRef, database }) => {
27
28
  database: database !== null && database !== void 0 ? database : node.TenantName,
28
29
  })
29
30
  : undefined;
30
- return (_jsx(CellWithPopover, { disabled: !isNodeAvailable, content: _jsx(NodeEndpointsTooltipContent, { data: node, nodeHref: developerUIInternalHref }), placement: ['top', 'bottom'], behavior: PopoverBehavior.Immediate, delayClosing: 200, children: _jsx(EntityStatus, { name: node.Host, status: node.SystemState, path: nodePath, hasClipboardButton: true }) }));
31
+ return (_jsx(CellWithPopover, { disabled: !isNodeAvailable, content: _jsx(NodeEndpointsTooltipContent, { data: node, nodeHref: developerUIInternalHref }), placement: ['top', 'bottom'], behavior: PopoverBehavior.Immediate, delayClosing: 200, children: _jsx(EntityStatus, { name: node.Host, status: status, path: nodePath, hasClipboardButton: true }) }));
31
32
  };
32
33
  //# sourceMappingURL=NodeHostWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodeHostWrapper.js","sourceRoot":"","sources":["../../../src/components/NodeHostWrapper/NodeHostWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AAGnE,OAAO,EACH,iCAAiC,EACjC,+BAA+B,GAClC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,2BAA2B,EAAC,MAAM,oBAAoB,CAAC;AAc/D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAC,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAuB,EAAE,EAAE;IAClF,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QACb,OAAO,oCAAc,CAAC;IAC1B,CAAC;IAED,MAAM,eAAe,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAEjD,IAAI,uBAA2C,CAAC;IAChD,IAAI,UAAU,EAAE,CAAC;QACb,MAAM,eAAe,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;QACzC,uBAAuB,GAAG,eAAe;YACrC,CAAC,CAAC,iCAAiC,CAAC,eAAe,CAAC;YACpD,CAAC,CAAC,SAAS,CAAC;IACpB,CAAC;SAAM,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;QACrB,MAAM,eAAe,GAAG,+BAA+B,CAAC,IAAI,CAAC,MAAM,CAAC,CA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,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,kBAAkB,SAAG,GACtE,CACrB,CAAC;AACN,CAAC,CAAC"}
@@ -3,9 +3,7 @@ import React from 'react';
3
3
  import { TableWithControlsLayout } from '../TableWithControlsLayout/TableWithControlsLayout';
4
4
  import { TableChunk } from './TableChunk';
5
5
  import { TableHead } from './TableHead';
6
- import { EmptyTableRow } from './TableRow';
7
6
  import { DEFAULT_TABLE_ROW_HEIGHT } from './constants';
8
- import i18n from './i18n';
9
7
  import { b } from './shared';
10
8
  import { useScrollBasedChunks } from './useScrollBasedChunks';
11
9
  import './PaginatedTable.scss';
@@ -24,7 +22,14 @@ export const PaginatedTable = ({ limit: chunkSize, initialEntitiesCount, fetchDa
24
22
  rowHeight,
25
23
  chunkSize,
26
24
  });
27
- const lastChunkSize = React.useMemo(() => foundEntities % chunkSize || chunkSize, [foundEntities, chunkSize]);
25
+ const lastChunkSize = React.useMemo(() => {
26
+ // If foundEntities = 0, there will only first chunk
27
+ // Display it with 1 row, to display empty data message
28
+ if (!foundEntities) {
29
+ return 1;
30
+ }
31
+ return foundEntities % chunkSize || chunkSize;
32
+ }, [foundEntities, chunkSize]);
28
33
  const handleDataFetched = React.useCallback((total, found) => {
29
34
  setTotalEntities(total);
30
35
  setFoundEntities(found);
@@ -40,10 +45,7 @@ export const PaginatedTable = ({ limit: chunkSize, initialEntitiesCount, fetchDa
40
45
  }
41
46
  }, [filters, initialFound, initialTotal, parentRef]);
42
47
  const renderChunks = () => {
43
- if (!isInitialLoad && foundEntities === 0) {
44
- return (_jsx("tbody", { children: _jsx(EmptyTableRow, { columns: columns, children: renderEmptyDataMessage ? renderEmptyDataMessage() : i18n('empty') }) }));
45
- }
46
- return activeChunks.map((isActive, index) => (_jsx(TableChunk, { id: index, calculatedCount: index === activeChunks.length - 1 ? lastChunkSize : chunkSize, chunkSize: chunkSize, rowHeight: rowHeight, columns: columns, fetchData: fetchData, filters: filters, tableName: tableName, sortParams: sortParams, getRowClassName: getRowClassName, renderErrorMessage: renderErrorMessage, onDataFetched: handleDataFetched, isActive: isActive }, index)));
48
+ return activeChunks.map((isActive, index) => (_jsx(TableChunk, { id: index, calculatedCount: index === activeChunks.length - 1 ? lastChunkSize : chunkSize, chunkSize: chunkSize, rowHeight: rowHeight, columns: columns, fetchData: fetchData, filters: filters, tableName: tableName, sortParams: sortParams, getRowClassName: getRowClassName, renderErrorMessage: renderErrorMessage, renderEmptyDataMessage: renderEmptyDataMessage, onDataFetched: handleDataFetched, isActive: isActive }, index)));
47
49
  };
48
50
  const renderTable = () => (_jsxs("table", { className: b('table'), children: [_jsx(TableHead, { columns: columns, onSort: setSortParams, onColumnsResize: onColumnsResize }), renderChunks()] }));
49
51
  const renderContent = () => {
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedTable.js","sourceRoot":"","sources":["../../../src/components/PaginatedTable/PaginatedTable.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,uBAAuB,EAAC,MAAM,oDAAoD,CAAC;AAE3F,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AACzC,OAAO,EAAC,wBAAwB,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAW3B,OAAO,EAAC,oBAAoB,EAAC,MAAM,wBAAwB,CAAC;AAE5D,OAAO,uBAAuB,CAAC;AAoB/B,MAAM,CAAC,MAAM,cAAc,GAAG,CAAO,EACjC,KAAK,EAAE,SAAS,EAChB,oBAAoB,EACpB,SAAS,EACT,OAAO,EACP,SAAS,EACT,OAAO,EACP,eAAe,EACf,SAAS,GAAG,wBAAwB,EAC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,iBAAO,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,aACxB,KAAC,SAAS,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,GAAI,EACvF,YAAY,EAAE,IACX,CACX,CAAC;IAEF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,cAAc,EAAE,CAAC;YACjB,OAAO,CACH,MAAC,uBAAuB,eACpB,KAAC,uBAAuB,CAAC,QAAQ,cAC5B,cAAc,CAAC,EAAC,MAAM,EAAE,CAAC,aAAa,EAAE,aAAa,EAAE,aAAa,EAAC,CAAC,GACxC,EACnC,KAAC,uBAAuB,CAAC,KAAK,cAAE,WAAW,EAAE,GAAiC,IACxD,CAC7B,CAAC;QACN,CAAC;QAED,OAAO,WAAW,EAAE,CAAC;IACzB,CAAC,CAAC;IAEF,OAAO,CACH,cAAK,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,kBAAkB,CAAC,YACrD,aAAa,EAAE,GACd,CACT,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"PaginatedTable.js","sourceRoot":"","sources":["../../../src/components/PaginatedTable/PaginatedTable.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,uBAAuB,EAAC,MAAM,oDAAoD,CAAC;AAE3F,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,wBAAwB,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAW3B,OAAO,EAAC,oBAAoB,EAAC,MAAM,wBAAwB,CAAC;AAE5D,OAAO,uBAAuB,CAAC;AAoB/B,MAAM,CAAC,MAAM,cAAc,GAAG,CAAO,EACjC,KAAK,EAAE,SAAS,EAChB,oBAAoB,EACpB,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EAAE,CAAC,CAAC,OAAO,CAAC,aACxB,KAAC,SAAS,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,GAAI,EACvF,YAAY,EAAE,IACX,CACX,CAAC;IAEF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,cAAc,EAAE,CAAC;YACjB,OAAO,CACH,MAAC,uBAAuB,eACpB,KAAC,uBAAuB,CAAC,QAAQ,cAC5B,cAAc,CAAC,EAAC,MAAM,EAAE,CAAC,aAAa,EAAE,aAAa,EAAE,aAAa,EAAC,CAAC,GACxC,EACnC,KAAC,uBAAuB,CAAC,KAAK,cAAE,WAAW,EAAE,GAAiC,IACxD,CAC7B,CAAC;QACN,CAAC;QAED,OAAO,WAAW,EAAE,CAAC;IACzB,CAAC,CAAC;IAEF,OAAO,CACH,cAAK,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,kBAAkB,CAAC,YACrD,aAAa,EAAE,GACd,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1,6 +1,4 @@
1
- import React from 'react';
2
- import type { IResponseError } from '../../types/api/error';
3
- import type { Column, FetchData, GetRowClassName, SortParams } from './types';
1
+ import type { Column, FetchData, GetRowClassName, RenderEmptyDataMessage, RenderErrorMessage, SortParams } from './types';
4
2
  interface TableChunkProps<T, F> {
5
3
  id: number;
6
4
  chunkSize: number;
@@ -13,8 +11,9 @@ interface TableChunkProps<T, F> {
13
11
  tableName: string;
14
12
  fetchData: FetchData<T, F>;
15
13
  getRowClassName?: GetRowClassName<T>;
16
- renderErrorMessage?: (error: IResponseError) => React.ReactNode;
14
+ renderErrorMessage?: RenderErrorMessage;
15
+ renderEmptyDataMessage?: RenderEmptyDataMessage;
17
16
  onDataFetched: (total: number, found: number) => void;
18
17
  }
19
- export declare const TableChunk: <T, F>({ id, chunkSize, calculatedCount, rowHeight, columns, fetchData, tableName, filters, sortParams, getRowClassName, renderErrorMessage, onDataFetched, isActive, }: TableChunkProps<T, F>) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const TableChunk: <T, F>({ id, chunkSize, calculatedCount, rowHeight, columns, fetchData, tableName, filters, sortParams, getRowClassName, renderErrorMessage, renderEmptyDataMessage, onDataFetched, isActive, }: TableChunkProps<T, F>) => import("react/jsx-runtime").JSX.Element;
20
19
  export {};
@@ -5,10 +5,11 @@ import { getArray } from '../../utils';
5
5
  import { useAutoRefreshInterval } from '../../utils/hooks';
6
6
  import { ResponseError } from '../Errors/ResponseError';
7
7
  import { EmptyTableRow, LoadingTableRow, TableRow } from './TableRow';
8
+ import i18n from './i18n';
8
9
  import { typedMemo } from './utils';
9
10
  const DEBOUNCE_TIMEOUT = 200;
10
11
  // Memoisation prevents chunks rerenders that could cause perfomance issues on big tables
11
- export const TableChunk = typedMemo(function TableChunk({ id, chunkSize, calculatedCount, rowHeight, columns, fetchData, tableName, filters, sortParams, getRowClassName, renderErrorMessage, onDataFetched, isActive, }) {
12
+ export const TableChunk = typedMemo(function TableChunk({ id, chunkSize, calculatedCount, rowHeight, columns, fetchData, tableName, filters, sortParams, getRowClassName, renderErrorMessage, renderEmptyDataMessage, onDataFetched, isActive, }) {
12
13
  var _a;
13
14
  const [isTimeoutActive, setIsTimeoutActive] = React.useState(true);
14
15
  const [autoRefreshInterval] = useAutoRefreshInterval();
@@ -46,6 +47,7 @@ export const TableChunk = typedMemo(function TableChunk({ id, chunkSize, calcula
46
47
  }, [currentData, isActive, onDataFetched]);
47
48
  const dataLength = ((_a = currentData === null || currentData === void 0 ? void 0 : currentData.data) === null || _a === void 0 ? void 0 : _a.length) || calculatedCount;
48
49
  const renderContent = () => {
50
+ var _a;
49
51
  if (!isActive) {
50
52
  return null;
51
53
  }
@@ -58,6 +60,10 @@ export const TableChunk = typedMemo(function TableChunk({ id, chunkSize, calcula
58
60
  return getArray(dataLength).map((value) => (_jsx(LoadingTableRow, { columns: columns, height: rowHeight, index: value }, value)));
59
61
  }
60
62
  }
63
+ // Data is loaded, but there are no entities in the chunk
64
+ if (!((_a = currentData.data) === null || _a === void 0 ? void 0 : _a.length)) {
65
+ return (_jsx(EmptyTableRow, { columns: columns, children: renderEmptyDataMessage ? renderEmptyDataMessage() : i18n('empty') }));
66
+ }
61
67
  return currentData.data.map((rowData, index) => (_jsx(TableRow, { index: index, row: rowData, columns: columns, height: rowHeight, getRowClassName: getRowClassName }, index)));
62
68
  };
63
69
  return (_jsx("tbody", { id: id.toString(), style: {
@@ -1 +1 @@
1
- {"version":3,"file":"TableChunk.js","sourceRoot":"","sources":["../../../src/components/PaginatedTable/TableChunk.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,YAAY,EAAC,MAAM,gCAAgC,CAAC;AAE5D,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AACrC,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAC,aAAa,EAAE,eAAe,EAAE,QAAQ,EAAC,MAAM,YAAY,CAAC;AAEpE,OAAO,EAAC,SAAS,EAAC,MAAM,SAAS,CAAC;AAElC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAmB7B,yFAAyF;AACzF,MAAM,CAAC,MAAM,UAAU,GAAG,SAAS,CAAC,SAAS,UAAU,CAAO,EAC1D,EAAE,EACF,SAAS,EACT,eAAe,EACf,SAAS,EACT,OAAO,EACP,SAAS,EACT,SAAS,EACT,OAAO,EACP,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,QAAQ,GACY;;IACpB,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACnE,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IAEvD,MAAM,UAAU,GAAG,OAAO,CA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,gBACI,EAAE,EAAE,EAAE,CAAC,QAAQ,EAAE,EACjB,KAAK,EAAE;YACH,MAAM,EAAE,GAAG,UAAU,GAAG,SAAS,IAAI;YACrC,+EAA+E;YAC/E,6EAA6E;YAC7E,oCAAoC;YACpC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO;SAClD,YAEA,aAAa,EAAE,GACZ,CACX,CAAC;AACN,CAAC,CAAC,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { UNBREAKABLE_GAP } from '../../../utils/utils';
2
+ import { prepareClockSkewValue, preparePingTimeValue } from '../utils';
3
+ describe('preparePingTimeValue', () => {
4
+ it('Should correctly prepare value', () => {
5
+ expect(preparePingTimeValue(1)).toEqual(`0${UNBREAKABLE_GAP}ms`);
6
+ expect(preparePingTimeValue(100)).toEqual(`0.1${UNBREAKABLE_GAP}ms`);
7
+ expect(preparePingTimeValue(5550)).toEqual(`6${UNBREAKABLE_GAP}ms`);
8
+ expect(preparePingTimeValue(100000)).toEqual(`100${UNBREAKABLE_GAP}ms`);
9
+ });
10
+ });
11
+ describe('prepareClockSkewValue', () => {
12
+ it('Should correctly prepare 0 or very low values', () => {
13
+ expect(prepareClockSkewValue(0)).toEqual(`0${UNBREAKABLE_GAP}ms`);
14
+ expect(prepareClockSkewValue(10)).toEqual(`0${UNBREAKABLE_GAP}ms`);
15
+ expect(prepareClockSkewValue(-10)).toEqual(`0${UNBREAKABLE_GAP}ms`);
16
+ });
17
+ it('Should correctly prepare positive values', () => {
18
+ expect(prepareClockSkewValue(100)).toEqual(`+0.1${UNBREAKABLE_GAP}ms`);
19
+ expect(prepareClockSkewValue(5500)).toEqual(`+6${UNBREAKABLE_GAP}ms`);
20
+ expect(prepareClockSkewValue(100000)).toEqual(`+100${UNBREAKABLE_GAP}ms`);
21
+ });
22
+ it('Should correctly prepare negative values', () => {
23
+ expect(prepareClockSkewValue(-100)).toEqual(`-0.1${UNBREAKABLE_GAP}ms`);
24
+ expect(prepareClockSkewValue(-5500)).toEqual(`-6${UNBREAKABLE_GAP}ms`);
25
+ expect(prepareClockSkewValue(-100000)).toEqual(`-100${UNBREAKABLE_GAP}ms`);
26
+ });
27
+ });
28
+ //# sourceMappingURL=utils.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.test.js","sourceRoot":"","sources":["../../../../src/components/nodesColumns/__test__/utils.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAC,qBAAqB,EAAE,oBAAoB,EAAC,MAAM,UAAU,CAAC;AAErE,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IAClC,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE;QACtC,MAAM,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,eAAe,IAAI,CAAC,CAAC;QACjE,MAAM,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,eAAe,IAAI,CAAC,CAAC;QACrE,MAAM,CAAC,oBAAoB,CAAC,IAAK,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,eAAe,IAAI,CAAC,CAAC;QACrE,MAAM,CAAC,oBAAoB,CAAC,MAAO,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,eAAe,IAAI,CAAC,CAAC;IAC7E,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACnC,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACrD,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,eAAe,IAAI,CAAC,CAAC;QAClE,MAAM,CAAC,qBAAqB,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,eAAe,IAAI,CAAC,CAAC;QACnE,MAAM,CAAC,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,eAAe,IAAI,CAAC,CAAC;IACxE,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,0CAA0C,EAAE,GAAG,EAAE;QAChD,MAAM,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,eAAe,IAAI,CAAC,CAAC;QACvE,MAAM,CAAC,qBAAqB,CAAC,IAAK,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,eAAe,IAAI,CAAC,CAAC;QACvE,MAAM,CAAC,qBAAqB,CAAC,MAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,eAAe,IAAI,CAAC,CAAC;IAC/E,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,0CAA0C,EAAE,GAAG,EAAE;QAChD,MAAM,CAAC,qBAAqB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,eAAe,IAAI,CAAC,CAAC;QACxE,MAAM,CAAC,qBAAqB,CAAC,CAAC,IAAK,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,eAAe,IAAI,CAAC,CAAC;QACxE,MAAM,CAAC,qBAAqB,CAAC,CAAC,MAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,eAAe,IAAI,CAAC,CAAC;IAChF,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,13 +1,15 @@
1
1
  import type { TMemoryStats, TPoolStats } from '../../types/api/nodes';
2
2
  import type { TTabletStateInfo } from '../../types/api/tablet';
3
3
  import type { Column } from '../../utils/tableUtils/types';
4
- import type { NodeHostData } from '../NodeHostWrapper/NodeHostWrapper';
4
+ import type { NodeHostData, StatusForIcon } from '../NodeHostWrapper/NodeHostWrapper';
5
5
  import type { GetNodesColumnsParams } from './types';
6
6
  import './NodesColumns.scss';
7
7
  export declare function getNodeIdColumn<T extends {
8
8
  NodeId?: string | number;
9
9
  }>(): Column<T>;
10
- export declare function getHostColumn<T extends NodeHostData>({ getNodeRef, database, }: GetNodesColumnsParams): Column<T>;
10
+ export declare function getHostColumn<T extends NodeHostData>({ getNodeRef, database }: GetNodesColumnsParams, { statusForIcon }?: {
11
+ statusForIcon?: StatusForIcon;
12
+ }): Column<T>;
11
13
  export declare function getNodeNameColumn<T extends {
12
14
  NodeName?: string;
13
15
  }>(): Column<T>;
@@ -61,3 +63,27 @@ export declare function getTabletsColumn<T extends {
61
63
  export declare function getMissingDisksColumn<T extends {
62
64
  Missing?: number;
63
65
  }>(): Column<T>;
66
+ export declare function getConnectionsColumn<T extends {
67
+ Connections?: number;
68
+ }>(): Column<T>;
69
+ export declare function getNetworkUtilizationColumn<T extends {
70
+ NetworkUtilization?: number;
71
+ NetworkUtilizationMin?: number;
72
+ NetworkUtilizationMax?: number;
73
+ }>(): Column<T>;
74
+ export declare function getSendThroughputColumn<T extends {
75
+ SendThroughput?: string;
76
+ }>(): Column<T>;
77
+ export declare function getReceiveThroughputColumn<T extends {
78
+ ReceiveThroughput?: string;
79
+ }>(): Column<T>;
80
+ export declare function getPingTimeColumn<T extends {
81
+ PingTimeUs?: string;
82
+ PingTimeMinUs?: string;
83
+ PingTimeMaxUs?: string;
84
+ }>(): Column<T>;
85
+ export declare function getClockSkewColumn<T extends {
86
+ ClockSkewUs?: string;
87
+ ClockSkewMinUs?: string;
88
+ ClockSkewMaxUs?: string;
89
+ }>(): Column<T>;
@@ -5,9 +5,9 @@ import { getLoadSeverityForNode } from '../../store/reducers/nodes/utils';
5
5
  import { valueIsDefined } from '../../utils';
6
6
  import { cn } from '../../utils/cn';
7
7
  import { EMPTY_DATA_PLACEHOLDER } from '../../utils/constants';
8
- import { formatStorageValues, formatStorageValuesToGb, } from '../../utils/dataFormatters/dataFormatters';
8
+ import { formatPercent, formatStorageValues, formatStorageValuesToGb, } from '../../utils/dataFormatters/dataFormatters';
9
9
  import { getSpaceUsageSeverity } from '../../utils/storage';
10
- import { isNumeric } from '../../utils/utils';
10
+ import { bytesToSpeed, isNumeric } from '../../utils/utils';
11
11
  import { CellWithPopover } from '../CellWithPopover/CellWithPopover';
12
12
  import { MemoryViewer } from '../MemoryViewer/MemoryViewer';
13
13
  import { NodeHostWrapper } from '../NodeHostWrapper/NodeHostWrapper';
@@ -18,6 +18,7 @@ import { formatPool } from '../TooltipsContent';
18
18
  import { UsageLabel } from '../UsageLabel/UsageLabel';
19
19
  import { NODES_COLUMNS_IDS, NODES_COLUMNS_TITLES } from './constants';
20
20
  import i18n from './i18n';
21
+ import { prepareClockSkewValue, preparePingTimeValue } from './utils';
21
22
  import './NodesColumns.scss';
22
23
  const b = cn('ydb-nodes-columns');
23
24
  export function getNodeIdColumn() {
@@ -29,12 +30,12 @@ export function getNodeIdColumn() {
29
30
  align: DataTable.RIGHT,
30
31
  };
31
32
  }
32
- export function getHostColumn({ getNodeRef, database, }) {
33
+ export function getHostColumn({ getNodeRef, database }, { statusForIcon = 'SystemState' } = {}) {
33
34
  return {
34
35
  name: NODES_COLUMNS_IDS.Host,
35
36
  header: NODES_COLUMNS_TITLES.Host,
36
37
  render: ({ row }) => {
37
- return _jsx(NodeHostWrapper, { node: row, getNodeRef: getNodeRef, database: database });
38
+ return (_jsx(NodeHostWrapper, { node: row, getNodeRef: getNodeRef, database: database, statusForIcon: statusForIcon }));
38
39
  },
39
40
  width: 350,
40
41
  align: DataTable.LEFT,
@@ -111,7 +112,7 @@ export function getMemoryColumn() {
111
112
  header: NODES_COLUMNS_TITLES.Memory,
112
113
  defaultOrder: DataTable.DESCENDING,
113
114
  render: ({ row }) => {
114
- return row.MemoryStats ? (_jsx(MemoryViewer, { capacity: row.MemoryLimit, value: row.MemoryStats.AnonRss, formatValues: formatStorageValuesToGb, stats: row.MemoryStats })) : (_jsx(ProgressViewer, { value: row.MemoryUsed, capacity: row.MemoryLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true }));
115
+ return row.MemoryStats ? (_jsx(MemoryViewer, { formatValues: formatStorageValuesToGb, stats: row.MemoryStats })) : (_jsx(ProgressViewer, { value: row.MemoryUsed, capacity: row.MemoryLimit, formatValues: formatStorageValuesToGb, colorizeProgress: true }));
115
116
  },
116
117
  align: DataTable.LEFT,
117
118
  width: 300,
@@ -228,4 +229,81 @@ export function getMissingDisksColumn() {
228
229
  defaultOrder: DataTable.DESCENDING,
229
230
  };
230
231
  }
232
+ // Network diagnostics columns
233
+ export function getConnectionsColumn() {
234
+ return {
235
+ name: NODES_COLUMNS_IDS.Connections,
236
+ header: NODES_COLUMNS_TITLES.Connections,
237
+ render: ({ row }) => (isNumeric(row.Connections) ? row.Connections : EMPTY_DATA_PLACEHOLDER),
238
+ align: DataTable.RIGHT,
239
+ width: 130,
240
+ };
241
+ }
242
+ export function getNetworkUtilizationColumn() {
243
+ return {
244
+ name: NODES_COLUMNS_IDS.NetworkUtilization,
245
+ header: NODES_COLUMNS_TITLES.NetworkUtilization,
246
+ render: ({ row }) => {
247
+ const { NetworkUtilization, NetworkUtilizationMin = 0, NetworkUtilizationMax = 0 } = row;
248
+ if (!isNumeric(NetworkUtilization)) {
249
+ return EMPTY_DATA_PLACEHOLDER;
250
+ }
251
+ return (_jsx(CellWithPopover, { placement: ['top', 'auto'], fullWidth: true, content: _jsxs(DefinitionList, { responsive: true, children: [_jsx(DefinitionList.Item, { name: i18n('sum'), children: formatPercent(NetworkUtilization) }, 'NetworkUtilization'), _jsx(DefinitionList.Item, { name: i18n('min'), children: formatPercent(NetworkUtilizationMin) }, 'NetworkUtilizationMin'), _jsx(DefinitionList.Item, { name: i18n('max'), children: formatPercent(NetworkUtilizationMax) }, 'NetworkUtilizationMax')] }), children: formatPercent(NetworkUtilization) }));
252
+ },
253
+ align: DataTable.RIGHT,
254
+ width: 110,
255
+ };
256
+ }
257
+ export function getSendThroughputColumn() {
258
+ return {
259
+ name: NODES_COLUMNS_IDS.SendThroughput,
260
+ header: NODES_COLUMNS_TITLES.SendThroughput,
261
+ render: ({ row }) => isNumeric(row.SendThroughput)
262
+ ? bytesToSpeed(row.SendThroughput)
263
+ : EMPTY_DATA_PLACEHOLDER,
264
+ align: DataTable.RIGHT,
265
+ width: 110,
266
+ };
267
+ }
268
+ export function getReceiveThroughputColumn() {
269
+ return {
270
+ name: NODES_COLUMNS_IDS.ReceiveThroughput,
271
+ header: NODES_COLUMNS_TITLES.ReceiveThroughput,
272
+ render: ({ row }) => isNumeric(row.ReceiveThroughput)
273
+ ? bytesToSpeed(row.ReceiveThroughput)
274
+ : EMPTY_DATA_PLACEHOLDER,
275
+ align: DataTable.RIGHT,
276
+ width: 110,
277
+ };
278
+ }
279
+ export function getPingTimeColumn() {
280
+ return {
281
+ name: NODES_COLUMNS_IDS.PingTime,
282
+ header: NODES_COLUMNS_TITLES.PingTime,
283
+ render: ({ row }) => {
284
+ const { PingTimeUs, PingTimeMinUs = 0, PingTimeMaxUs = 0 } = row;
285
+ if (!isNumeric(PingTimeUs)) {
286
+ return EMPTY_DATA_PLACEHOLDER;
287
+ }
288
+ return (_jsx(CellWithPopover, { placement: ['top', 'auto'], fullWidth: true, content: _jsxs(DefinitionList, { responsive: true, children: [_jsx(DefinitionList.Item, { name: i18n('avg'), children: preparePingTimeValue(PingTimeUs) }, 'PingTimeUs'), _jsx(DefinitionList.Item, { name: i18n('min'), children: preparePingTimeValue(PingTimeMinUs) }, 'PingTimeMinUs'), _jsx(DefinitionList.Item, { name: i18n('max'), children: preparePingTimeValue(PingTimeMaxUs) }, 'PingTimeMaxUs')] }), children: preparePingTimeValue(PingTimeUs) }));
289
+ },
290
+ align: DataTable.RIGHT,
291
+ width: 110,
292
+ };
293
+ }
294
+ export function getClockSkewColumn() {
295
+ return {
296
+ name: NODES_COLUMNS_IDS.ClockSkew,
297
+ header: NODES_COLUMNS_TITLES.ClockSkew,
298
+ render: ({ row }) => {
299
+ const { ClockSkewUs, ClockSkewMinUs = 0, ClockSkewMaxUs = 0 } = row;
300
+ if (!isNumeric(ClockSkewUs)) {
301
+ return EMPTY_DATA_PLACEHOLDER;
302
+ }
303
+ return (_jsx(CellWithPopover, { placement: ['top', 'auto'], fullWidth: true, content: _jsxs(DefinitionList, { responsive: true, children: [_jsx(DefinitionList.Item, { name: i18n('avg'), children: prepareClockSkewValue(ClockSkewUs) }, 'ClockSkewUs'), _jsx(DefinitionList.Item, { name: i18n('min'), children: prepareClockSkewValue(ClockSkewMinUs) }, 'ClockSkewMinUs'), _jsx(DefinitionList.Item, { name: i18n('max'), children: prepareClockSkewValue(ClockSkewMaxUs) }, 'ClockSkewMaxUs')] }), children: prepareClockSkewValue(ClockSkewUs) }));
304
+ },
305
+ align: DataTable.RIGHT,
306
+ width: 110,
307
+ };
308
+ }
231
309
  //# sourceMappingURL=columns.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../src/components/nodesColumns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,sBAAsB,EAAC,MAAM,kCAAkC,CAAC;AAGxE,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EACH,mBAAmB,EACnB,uBAAuB,GAC1B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAC,cAAc,EAAC,MA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W,CAAC,GACrB,CACrB,CAAC;QACN,CAAC;QACD,KAAK,EAAE,SAAS,CAAC,KAAK;QACtB,KAAK,EAAE,GAAG;KACb,CAAC;AACN,CAAC"}
@@ -18,6 +18,12 @@ export declare const NODES_COLUMNS_IDS: {
18
18
  readonly Load: "Load";
19
19
  readonly DiskSpaceUsage: "DiskSpaceUsage";
20
20
  readonly TotalSessions: "TotalSessions";
21
+ readonly Connections: "Connections";
22
+ readonly NetworkUtilization: "NetworkUtilization";
23
+ readonly SendThroughput: "SendThroughput";
24
+ readonly ReceiveThroughput: "ReceiveThroughput";
25
+ readonly PingTime: "PingTime";
26
+ readonly ClockSkew: "ClockSkew";
21
27
  readonly Missing: "Missing";
22
28
  readonly Tablets: "Tablets";
23
29
  readonly PDisks: "PDisks";
@@ -40,6 +46,12 @@ export declare const NODES_COLUMNS_TITLES: {
40
46
  readonly Load: string;
41
47
  readonly DiskSpaceUsage: string;
42
48
  readonly TotalSessions: string;
49
+ readonly Connections: string;
50
+ readonly NetworkUtilization: string;
51
+ readonly SendThroughput: string;
52
+ readonly ReceiveThroughput: string;
53
+ readonly PingTime: string;
54
+ readonly ClockSkew: string;
43
55
  readonly Missing: string;
44
56
  readonly Tablets: string;
45
57
  readonly PDisks: string;
@@ -17,6 +17,12 @@ export const NODES_COLUMNS_IDS = {
17
17
  Load: 'Load',
18
18
  DiskSpaceUsage: 'DiskSpaceUsage',
19
19
  TotalSessions: 'TotalSessions',
20
+ Connections: 'Connections',
21
+ NetworkUtilization: 'NetworkUtilization',
22
+ SendThroughput: 'SendThroughput',
23
+ ReceiveThroughput: 'ReceiveThroughput',
24
+ PingTime: 'PingTime',
25
+ ClockSkew: 'ClockSkew',
20
26
  Missing: 'Missing',
21
27
  Tablets: 'Tablets',
22
28
  PDisks: 'PDisks',
@@ -72,6 +78,24 @@ export const NODES_COLUMNS_TITLES = {
72
78
  get TotalSessions() {
73
79
  return i18n('sessions');
74
80
  },
81
+ get Connections() {
82
+ return i18n('connections');
83
+ },
84
+ get NetworkUtilization() {
85
+ return i18n('utilization');
86
+ },
87
+ get SendThroughput() {
88
+ return i18n('send');
89
+ },
90
+ get ReceiveThroughput() {
91
+ return i18n('receive');
92
+ },
93
+ get PingTime() {
94
+ return i18n('ping');
95
+ },
96
+ get ClockSkew() {
97
+ return i18n('skew');
98
+ },
75
99
  get Missing() {
76
100
  return i18n('missing');
77
101
  },
@@ -151,6 +175,12 @@ export const NODES_COLUMNS_TO_DATA_FIELDS = {
151
175
  Load: ['LoadAverage'],
152
176
  DiskSpaceUsage: ['DiskSpaceUsage'],
153
177
  TotalSessions: ['SystemState'],
178
+ Connections: ['Connections'],
179
+ NetworkUtilization: ['NetworkUtilization'],
180
+ SendThroughput: ['SendThroughput'],
181
+ ReceiveThroughput: ['ReceiveThroughput'],
182
+ PingTime: ['PingTime'],
183
+ ClockSkew: ['ClockSkew'],
154
184
  Missing: ['Missing'],
155
185
  Tablets: ['Tablets', 'Database'],
156
186
  PDisks: ['PDisks'],
@@ -172,6 +202,12 @@ const NODES_COLUMNS_TO_SORT_FIELDS = {
172
202
  Load: 'LoadAverage',
173
203
  DiskSpaceUsage: 'DiskSpaceUsage',
174
204
  TotalSessions: undefined,
205
+ Connections: 'Connections',
206
+ NetworkUtilization: 'NetworkUtilization',
207
+ SendThroughput: 'SendThroughput',
208
+ ReceiveThroughput: 'ReceiveThroughput',
209
+ PingTime: 'PingTime',
210
+ ClockSkew: 'ClockSkew',
175
211
  Missing: 'Missing',
176
212
  Tablets: undefined,
177
213
  PDisks: undefined,