ydb-embedded-ui 6.16.0 → 6.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. package/dist/components/ContentWithPopup/ContentWithPopup.d.ts +2 -1
  2. package/dist/components/ContentWithPopup/ContentWithPopup.js +9 -2
  3. package/dist/components/ContentWithPopup/ContentWithPopup.js.map +1 -1
  4. package/dist/components/ErrorBoundary/ErrorBoundary.scss +2 -0
  5. package/dist/components/FullNodeViewer/FullNodeViewer.js +1 -1
  6. package/dist/components/FullNodeViewer/FullNodeViewer.js.map +1 -1
  7. package/dist/components/InfoViewer/InfoViewer.d.ts +0 -1
  8. package/dist/components/InfoViewer/InfoViewer.js +0 -1
  9. package/dist/components/InfoViewer/InfoViewer.js.map +1 -1
  10. package/dist/components/InfoViewer/index.d.ts +1 -1
  11. package/dist/components/InfoViewer/index.js +1 -1
  12. package/dist/components/InfoViewer/index.js.map +1 -1
  13. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +2 -1
  14. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +2 -2
  15. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  16. package/dist/components/PaginatedTable/PaginatedTable.scss +12 -0
  17. package/dist/components/PaginatedTable/TableChunk.js +2 -1
  18. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  19. package/dist/components/PaginatedTable/TableHead.js +2 -2
  20. package/dist/components/PaginatedTable/TableHead.js.map +1 -1
  21. package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
  22. package/dist/components/TabletsStatistic/TabletsStatistic.js +4 -6
  23. package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
  24. package/dist/components/YDBDefinitionList/YDBDefinitionList.d.ts +9 -0
  25. package/dist/components/YDBDefinitionList/YDBDefinitionList.js +23 -0
  26. package/dist/components/YDBDefinitionList/YDBDefinitionList.js.map +1 -0
  27. package/dist/{containers/Tenant/Info/View/View.scss → components/YDBDefinitionList/YDBDefinitionList.scss} +6 -6
  28. package/dist/components/YDBDefinitionList/i18n/en.json +3 -0
  29. package/dist/components/YDBDefinitionList/i18n/index.d.ts +2 -0
  30. package/dist/components/YDBDefinitionList/i18n/index.js +5 -0
  31. package/dist/components/YDBDefinitionList/i18n/index.js.map +1 -0
  32. package/dist/containers/App/Content.js +1 -7
  33. package/dist/containers/App/Content.js.map +1 -1
  34. package/dist/containers/App/appSlots.d.ts +0 -6
  35. package/dist/containers/App/appSlots.js +0 -1
  36. package/dist/containers/App/appSlots.js.map +1 -1
  37. package/dist/containers/Cluster/Cluster.js +4 -13
  38. package/dist/containers/Cluster/Cluster.js.map +1 -1
  39. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.d.ts +3 -3
  40. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +18 -2
  41. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
  42. package/dist/containers/Header/Header.js +6 -7
  43. package/dist/containers/Header/Header.js.map +1 -1
  44. package/dist/containers/Header/breadcrumbs.js +26 -30
  45. package/dist/containers/Header/breadcrumbs.js.map +1 -1
  46. package/dist/containers/Node/Node.js +12 -6
  47. package/dist/containers/Node/Node.js.map +1 -1
  48. package/dist/containers/Node/NodePages.d.ts +2 -1
  49. package/dist/containers/Node/NodePages.js +2 -2
  50. package/dist/containers/Node/NodePages.js.map +1 -1
  51. package/dist/containers/Nodes/Nodes.js +1 -0
  52. package/dist/containers/Nodes/Nodes.js.map +1 -1
  53. package/dist/containers/Nodes/PaginatedNodes.js +1 -0
  54. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  55. package/dist/containers/Nodes/getNodesColumns.d.ts +3 -3
  56. package/dist/containers/Nodes/getNodesColumns.js +9 -9
  57. package/dist/containers/Nodes/getNodesColumns.js.map +1 -1
  58. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +2 -2
  59. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
  60. package/dist/containers/Storage/Storage.js +1 -1
  61. package/dist/containers/Storage/Storage.js.map +1 -1
  62. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +1 -1
  63. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js +1 -1
  64. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +1 -1
  65. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +2 -2
  66. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
  67. package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +2 -1
  68. package/dist/containers/Storage/StorageNodes/StorageNodes.js +2 -2
  69. package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +1 -1
  70. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +1 -1
  71. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +4 -4
  72. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
  73. package/dist/containers/Tablet/Tablet.js +33 -12
  74. package/dist/containers/Tablet/Tablet.js.map +1 -1
  75. package/dist/containers/Tablets/Tablets.d.ts +2 -1
  76. package/dist/containers/Tablets/Tablets.js +89 -85
  77. package/dist/containers/Tablets/Tablets.js.map +1 -1
  78. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +1 -1
  79. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  80. package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js +39 -20
  81. package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js.map +1 -1
  82. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js +1 -1
  83. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js.map +1 -1
  84. package/dist/containers/Tenant/Info/View/View.d.ts +0 -1
  85. package/dist/containers/Tenant/Info/View/View.js +3 -5
  86. package/dist/containers/Tenant/Info/View/View.js.map +1 -1
  87. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +1 -1
  88. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
  89. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +3 -0
  90. package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.d.ts +8 -0
  91. package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.js +15 -0
  92. package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.js.map +1 -0
  93. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +7 -13
  94. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
  95. package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.scss +62 -3
  96. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +2 -20
  97. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
  98. package/dist/containers/Tenant/Schema/SchemaViewer/i18n/en.json +3 -2
  99. package/dist/containers/Tenant/Schema/SchemaViewer/i18n/index.d.ts +1 -1
  100. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +11 -21
  101. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  102. package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +1 -2
  103. package/dist/containers/Tenant/Schema/SchemaViewer/utils.d.ts +3 -0
  104. package/dist/containers/Tenant/Schema/SchemaViewer/utils.js +9 -0
  105. package/dist/containers/Tenant/Schema/SchemaViewer/utils.js.map +1 -0
  106. package/dist/containers/Tenants/Tenants.js +2 -2
  107. package/dist/containers/Tenants/Tenants.js.map +1 -1
  108. package/dist/containers/UserSettings/i18n/en.json +0 -1
  109. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  110. package/dist/containers/UserSettings/settings.js +0 -3
  111. package/dist/containers/UserSettings/settings.js.map +1 -1
  112. package/dist/containers/VDiskPage/VDiskPage.d.ts +4 -0
  113. package/dist/containers/VDiskPage/VDiskPage.js +14 -10
  114. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  115. package/dist/containers/VDiskPage/VDiskPage.scss +9 -0
  116. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +2 -2
  117. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
  118. package/dist/containers/Versions/NodesTable/NodesTable.d.ts +2 -2
  119. package/dist/containers/Versions/NodesTable/NodesTable.js.map +1 -1
  120. package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.d.ts +2 -2
  121. package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.js.map +1 -1
  122. package/dist/containers/Versions/Versions.js +3 -2
  123. package/dist/containers/Versions/Versions.js.map +1 -1
  124. package/dist/containers/Versions/groupNodes.d.ts +4 -4
  125. package/dist/containers/Versions/groupNodes.js.map +1 -1
  126. package/dist/containers/Versions/types.d.ts +2 -2
  127. package/dist/services/api.d.ts +8 -7
  128. package/dist/services/api.js +20 -11
  129. package/dist/services/api.js.map +1 -1
  130. package/dist/store/configureStore.d.ts +2 -2
  131. package/dist/store/defaultStore.d.ts +1 -1
  132. package/dist/store/reducers/header/types.d.ts +7 -7
  133. package/dist/store/reducers/heatmap.js +2 -2
  134. package/dist/store/reducers/heatmap.js.map +1 -1
  135. package/dist/store/reducers/index.d.ts +2 -2
  136. package/dist/store/reducers/nodes/types.d.ts +6 -0
  137. package/dist/store/reducers/nodes/utils.js +6 -0
  138. package/dist/store/reducers/nodes/utils.js.map +1 -1
  139. package/dist/store/reducers/tablet.d.ts +1 -0
  140. package/dist/store/reducers/tablet.js +3 -3
  141. package/dist/store/reducers/tablet.js.map +1 -1
  142. package/dist/store/reducers/tenants/selectors.d.ts +9 -10
  143. package/dist/store/reducers/tenants/selectors.js +8 -7
  144. package/dist/store/reducers/tenants/selectors.js.map +1 -1
  145. package/dist/store/reducers/vdisk/types.d.ts +1 -1
  146. package/dist/store/reducers/vdisk/vdisk.d.ts +1 -1
  147. package/dist/store/state-url-mapping.d.ts +0 -8
  148. package/dist/store/state-url-mapping.js +0 -8
  149. package/dist/store/state-url-mapping.js.map +1 -1
  150. package/dist/styles/mixins.scss +5 -0
  151. package/dist/types/api/nodes.d.ts +5 -0
  152. package/dist/types/api/nodes.js.map +1 -1
  153. package/dist/types/store/heatmap.d.ts +0 -1
  154. package/dist/types/store/tablets.d.ts +1 -1
  155. package/dist/utils/constants.d.ts +1 -0
  156. package/dist/utils/constants.js +1 -0
  157. package/dist/utils/constants.js.map +1 -1
  158. package/dist/utils/versions/parseNodesToVersionsValues.d.ts +7 -0
  159. package/dist/utils/versions/parseNodesToVersionsValues.js +10 -0
  160. package/dist/utils/versions/parseNodesToVersionsValues.js.map +1 -1
  161. package/package.json +1 -1
  162. package/dist/containers/TabletsFilters/TabletsFilters.d.ts +0 -2
  163. package/dist/containers/TabletsFilters/TabletsFilters.js +0 -91
  164. package/dist/containers/TabletsFilters/TabletsFilters.js.map +0 -1
  165. package/dist/containers/TabletsFilters/TabletsFilters.scss +0 -80
  166. package/dist/containers/TabletsFilters/i18n/en.json +0 -3
  167. package/dist/containers/TabletsFilters/i18n/index.d.ts +0 -2
  168. package/dist/containers/TabletsFilters/i18n/index.js +0 -6
  169. package/dist/containers/TabletsFilters/i18n/index.js.map +0 -1
  170. package/dist/containers/TabletsFilters/i18n/ru.json +0 -3
  171. package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +0 -5
  172. package/dist/store/reducers/clusterNodes/clusterNodes.js +0 -22
  173. package/dist/store/reducers/clusterNodes/clusterNodes.js.map +0 -1
  174. package/dist/store/reducers/tabletsFilters.d.ts +0 -44
  175. package/dist/store/reducers/tabletsFilters.js +0 -20
  176. package/dist/store/reducers/tabletsFilters.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"prepareData.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaViewer/prepareData.ts"],"names":[],"mappings":"AASA,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,kB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C,IAAI,CAAC;QAEjF,OAAO;YACH,IAAI;YACJ,IAAI,EAAE,MAAM,CAAC,IAAI;SACpB,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,IAAI,EAAE,CAAC;AACjC,CAAC"}
1
+ {"version":3,"file":"prepareData.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaViewer/prepareData.ts"],"names":[],"mappings":"AASA,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,kBAAkB,EAAE,mBAAmB,EAAE,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAI3F,SAAS,iBAAiB,CAAC,KAAoB;IAC3C,IAAI,CAAC,KAAK,EAAE,CAAC;QACT,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,YAAY,CAAC,gBAAgB,EAAE,CAAC;QAC1C,OAAO,MAAM,CAAC;IAClB,CAAC;IACD,OAAO,KAAK,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,iBAAiB,EAAE,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,IAAwB;;IACpD,OAAO,CACH,MAAA,MAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,eAAe,0CAAE,cAAc,0CAAE,MAAM,CACzC,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;QACZ,IAAI,MAAM,CAAC,EAAE,EAAE,CAAC;YACZ,OAAO;gBACH,GAAG,GAAG;gBACN,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM;aACtB,CAAC;QACN,CAAC;QACD,OAAO,GAAG,CAAC;IACf,CAAC,EACD,EAAE,CACL,mCAAI,EAAE,CACV,CAAC;AACN,CAAC;AAED,SAAS,qBAAqB,CAAC,OAA0B,EAAE;IACvD,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAEvC,MAAM,EAAC,OAAO,EAAE,YAAY,EA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BAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;QAClC,OAAO,wBAAwB,CAAC,sBAAsB,CAAC,CAAC;IAC5D,CAAC;SAAM,IAAI,mBAAmB,CAAC,IAAI,CAAC,EAAE,CAAC;QACnC,OAAO,0BAA0B,CAAC,wBAAwB,CAAC,CAAC;IAChE,CAAC;IAED,OAAO,EAAE,CAAC;AACd,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,OAAsB;IACpD,MAAM,eAAe,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;;QAC5C,8CAA8C;QAC9C,MAAM,IAAI,GAAG,CAAA,MAAA,MAAM,CAAC,IAAI,0CAAE,QAAQ,CAAC,GAAG,CAAC,EAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC;QAEjF,OAAO;YACH,IAAI;YACJ,IAAI,EAAE,MAAM,CAAC,IAAI;SACpB,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,IAAI,EAAE,CAAC;AACjC,CAAC"}
@@ -3,8 +3,7 @@ export interface SchemaData {
3
3
  id?: number;
4
4
  name?: string;
5
5
  isKeyColumn?: boolean;
6
- /** value to sort keys, needed to ensure that key columns will be the first */
7
- keyAccessor?: number;
6
+ isPartitioningKeyColumn?: boolean;
8
7
  type?: string;
9
8
  notNull?: boolean;
10
9
  autoIncrement?: boolean;
@@ -0,0 +1,3 @@
1
+ import type { SchemaData } from './types';
2
+ export declare function getPartitioningKeys(tableData: SchemaData[]): string[];
3
+ export declare function getPrimaryKeys(tableData: SchemaData[]): string[];
@@ -0,0 +1,9 @@
1
+ export function getPartitioningKeys(tableData) {
2
+ return tableData
3
+ .filter((row) => row.isPartitioningKeyColumn && row.name)
4
+ .map((row) => row.name);
5
+ }
6
+ export function getPrimaryKeys(tableData) {
7
+ return tableData.filter((row) => row.isKeyColumn && row.name).map((row) => row.name);
8
+ }
9
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaViewer/utils.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,mBAAmB,CAAC,SAAuB;IACvD,OAAO,SAAS;SACX,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,uBAAuB,IAAI,GAAG,CAAC,IAAI,CAAC;SACxD,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAK,CAAC,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,SAAuB;IAClD,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAK,CAAC,CAAC;AAC1F,CAAC"}
@@ -13,7 +13,7 @@ import { Search } from '../../components/Search';
13
13
  import { TableWithControlsLayout } from '../../components/TableWithControlsLayout/TableWithControlsLayout';
14
14
  import { clusterName } from '../../store';
15
15
  import { ProblemFilterValues, changeFilter, selectProblemFilter, } from '../../store/reducers/settings/settings';
16
- import { selectFilteredTenants, selectTenantsSearchValue, } from '../../store/reducers/tenants/selectors';
16
+ import { selectFilteredTenants, selectTenants, selectTenantsSearchValue, } from '../../store/reducers/tenants/selectors';
17
17
  import { setSearchValue, tenantsApi } from '../../store/reducers/tenants/tenants';
18
18
  import { cn } from '../../utils/cn';
19
19
  import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
@@ -28,7 +28,7 @@ export const Tenants = ({ additionalTenantsProps }) => {
28
28
  const [autoRefreshInterval] = useAutoRefreshInterval();
29
29
  const { currentData, isFetching, error } = tenantsApi.useGetTenantsInfoQuery({ clusterName }, { pollingInterval: autoRefreshInterval });
30
30
  const loading = isFetching && currentData === undefined;
31
- const tenants = currentData !== null && currentData !== void 0 ? currentData : [];
31
+ const tenants = useTypedSelector((state) => selectTenants(state, clusterName));
32
32
  const searchValue = useTypedSelector(selectTenantsSearchValue);
33
33
  const filteredTenants = useTypedSelector((state) => selectFilteredTenants(state, clusterName));
34
34
  const problemFilter = useTypedSelector(selectProblemFilter);
@@ -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,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EACH,qBAAqB,EACrB,wBAAwB,GAC3B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAC,cAAc,EAAE,UAAU,EAAC,MAAM,sCAAsC,CAAC;AAGhF,OAAO,EAAC,EAA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I,EAAE,eAAe,EACrB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,sBAAsB,EAChC,gBAAgB,EAAC,iBAAiB,GACpC,CACL,CAAC;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"}
@@ -19,7 +19,6 @@
19
19
  "settings.language.option-russian": "Russian",
20
20
  "settings.language.option-english": "English",
21
21
  "settings.binaryDataInPlainTextDisplay.title": "Display binary data in plain text",
22
- "settings.binaryDataInPlainTextDisplay.description": "Available starting from version 24.1",
23
22
  "settings.invertedDisks.title": "Inverted disks space indicators",
24
23
  "settings.useNodesEndpoint.title": "Break the Nodes tab in Diagnostics",
25
24
  "settings.useNodesEndpoint.description": "Use /viewer/json/nodes endpoint for Nodes tab in diagnostics. It could return incorrect data on versions before 24-1",
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.binaryDataInPlainTextDisplay.description" | "settings.invertedDisks.title" | "settings.useNodesEndpoint.title" | "settings.useNodesEndpoint.description" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.queryUseMultiSchema.title" | "settings.queryUseMultiSchema.description" | "settings.useClusterBalancerAsBackend.title" | "settings.useClusterBalancerAsBackend.description" | "settings.about.interfaceVersionInfoField.title", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.invertedDisks.title" | "settings.useNodesEndpoint.title" | "settings.useNodesEndpoint.description" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.queryUseMultiSchema.title" | "settings.queryUseMultiSchema.description" | "settings.useClusterBalancerAsBackend.title" | "settings.useClusterBalancerAsBackend.description" | "settings.about.interfaceVersionInfoField.title", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -1,9 +1,7 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
1
  import { CircleInfo, Flask, PencilToSquare, StarFill } from '@gravity-ui/icons';
3
2
  import { createNextState } from '@reduxjs/toolkit';
4
3
  import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY, USE_PAGINATED_TABLES_KEY, } from '../../utils/constants';
5
4
  import { Lang, defaultLang } from '../../utils/i18n';
6
- import { ClusterModeGuard } from '../ClusterModeGuard';
7
5
  import i18n from './i18n';
8
6
  import packageJson from '../../../package.json';
9
7
  const themeOptions = [
@@ -49,7 +47,6 @@ export const languageSetting = {
49
47
  export const binaryDataInPlainTextDisplay = {
50
48
  settingKey: BINARY_DATA_IN_PLAIN_TEXT_DISPLAY,
51
49
  title: i18n('settings.binaryDataInPlainTextDisplay.title'),
52
- description: (_jsx(ClusterModeGuard, { mode: "multi", children: i18n('settings.binaryDataInPlainTextDisplay.description') })),
53
50
  };
54
51
  export const invertedDisksSetting = {
55
52
  settingKey: INVERTED_DISKS_KEY,
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/containers/UserSettings/settings.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EACH,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,EACZ,0BAA0B,EAC1B,wBAAwB,EACxB,SAAS,EACT,mCAAmC,EACnC,qCAAqC,EACrC,wBAAwB,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAGrD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAiBhD,MAAM,YAAY,GAAG;IACjB;QACI,KAAK,EAAE,QAAQ;QACf,OAAO,EAAE,IAAI,CAAC,8BAA8B,CAAC;KAChD;IACD;QACI,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,IAAI,CAAC,6BAA6B,CAAC;KAC/C;IACD;QACI,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,I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MAAM,CAAC,MAAM,UAAU,GAAiB;IACpC,EAAE,EAAE,YAAY;IAChB,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC;IAC1B,IAAI,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC;IAC5B,QAAQ,EAAE,CAAC,kBAAkB,CAAC;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAiB;IACnC,EAAE,EAAE,WAAW;IACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC;IACzB,IAAI,EAAE,EAAC,IAAI,EAAE,UAAU,EAAC;IACxB,QAAQ,EAAE,CAAC,oBAAoB,CAAC;CACnC,CAAC;AAEF,MAAM,UAAU,eAAe,CAAC,EAAC,iBAAiB,EAA+B;IAC7E,MAAM,WAAW,GAAG,iBAAiB;QACjC,CAAC,CAAC,eAAe;QACjB,CAAC,CAAC,eAAe,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE;YACvC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC;QACxE,CAAC,CAAC,CAAC;IAET,MAAM,QAAQ,GAA0B,CAAC,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;IAE1F,OAAO,QAAQ,CAAC;AACpB,CAAC"}
@@ -1,2 +1,6 @@
1
+ import type { PreparedStorageGroup } from '../../store/reducers/storage/types';
1
2
  import './VDiskPage.scss';
2
3
  export declare function VDiskPage(): import("react/jsx-runtime").JSX.Element;
4
+ export declare function VDiskGroup({ data }: {
5
+ data: PreparedStorageGroup;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -8,10 +8,9 @@ import { StringParam, useQueryParams } from 'use-query-params';
8
8
  import { ButtonWithConfirmDialog } from '../../components/ButtonWithConfirmDialog/ButtonWithConfirmDialog';
9
9
  import { EntityPageTitle } from '../../components/EntityPageTitle/EntityPageTitle';
10
10
  import { ResponseError } from '../../components/Errors/ResponseError';
11
- import { GroupInfo } from '../../components/GroupInfo/GroupInfo';
12
11
  import { InfoViewerSkeleton } from '../../components/InfoViewerSkeleton/InfoViewerSkeleton';
13
12
  import { PageMetaWithAutorefresh } from '../../components/PageMeta/PageMeta';
14
- import { VDiskWithDonorsStack } from '../../components/VDisk/VDiskWithDonorsStack';
13
+ import { ResizeableDataTable } from '../../components/ResizeableDataTable/ResizeableDataTable';
15
14
  import { VDiskInfo } from '../../components/VDiskInfo/VDiskInfo';
16
15
  import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
17
16
  import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
@@ -19,15 +18,16 @@ import { selectNodesMap } from '../../store/reducers/nodesList';
19
18
  import { vDiskApi } from '../../store/reducers/vdisk/vdisk';
20
19
  import { valueIsDefined } from '../../utils';
21
20
  import { cn } from '../../utils/cn';
21
+ import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
22
22
  import { stringifyVdiskId } from '../../utils/dataFormatters/dataFormatters';
23
23
  import { getSeverityColor } from '../../utils/disks/helpers';
24
24
  import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../utils/hooks';
25
+ import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, getDiskPageStorageColumns, } from '../Storage/StorageGroups/getStorageGroupsColumns';
25
26
  import { vDiskPageKeyset } from './i18n';
26
27
  import './VDiskPage.scss';
27
28
  const vDiskPageCn = cn('ydb-vdisk-page');
28
29
  export function VDiskPage() {
29
30
  const dispatch = useTypedDispatch();
30
- const nodesMap = useTypedSelector(selectNodesMap);
31
31
  const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
32
32
  const [{ nodeId, pDiskId, vDiskSlotId }] = useQueryParams({
33
33
  nodeId: StringParam,
@@ -93,23 +93,20 @@ export function VDiskPage() {
93
93
  const hostItem = NodeHost ? `${vDiskPageKeyset('fqdn')}: ${NodeHost}` : undefined;
94
94
  const nodeIdItem = NodeId ? `${vDiskPageKeyset('node')}: ${NodeId}` : undefined;
95
95
  const pDiskIdItem = NodeId ? `${vDiskPageKeyset('pdisk')}: ${PDiskId}` : undefined;
96
- return (_jsx(PageMetaWithAutorefresh, { loading: loading, items: [hostItem, nodeIdItem, NodeType, NodeDC, pDiskIdItem, PDiskType] }));
96
+ return (_jsx(PageMetaWithAutorefresh, { className: vDiskPageCn('meta'), loading: loading, items: [hostItem, nodeIdItem, NodeType, NodeDC, pDiskIdItem, PDiskType] }));
97
97
  };
98
98
  const renderPageTitle = () => {
99
- return (_jsx(EntityPageTitle, { entityName: vDiskPageKeyset('vdisk'), status: getSeverityColor(Severity), id: stringifyVdiskId(vDiskData === null || vDiskData === void 0 ? void 0 : vDiskData.VDiskId) }));
99
+ return (_jsx(EntityPageTitle, { className: vDiskPageCn('title'), entityName: vDiskPageKeyset('vdisk'), status: getSeverityColor(Severity), id: stringifyVdiskId(vDiskData === null || vDiskData === void 0 ? void 0 : vDiskData.VDiskId) }));
100
100
  };
101
101
  const renderControls = () => {
102
102
  return (_jsx("div", { className: vDiskPageCn('controls'), children: _jsxs(ButtonWithConfirmDialog, { onConfirmAction: handleEvictVDisk, onConfirmActionSuccess: handleAfterEvictVDisk, buttonDisabled: !vDiskIdParamsDefined || !isUserAllowedToMakeChanges, buttonView: "normal", dialogContent: vDiskPageKeyset('evict-vdisk-dialog'), retryButtonText: vDiskPageKeyset('force-evict-vdisk-button'), withPopover: true, popoverContent: vDiskPageKeyset('evict-vdisk-not-allowed'), popoverDisabled: isUserAllowedToMakeChanges, children: [_jsx(Icon, { data: ArrowsOppositeToDots }), vDiskPageKeyset('evict-vdisk-button')] }) }));
103
103
  };
104
104
  const renderInfo = () => {
105
- return _jsx(VDiskInfo, { data: vDiskData });
105
+ return _jsx(VDiskInfo, { data: vDiskData, className: vDiskPageCn('info') });
106
106
  };
107
107
  const renderGroupInfo = () => {
108
- var _a;
109
108
  if (groupData) {
110
- return (_jsxs(React.Fragment, { children: [_jsx("div", { className: vDiskPageCn('group-title'), children: vDiskPageKeyset('group') }), _jsx(GroupInfo, { data: groupData }), _jsx("div", { className: vDiskPageCn('group-disks'), children: (_a = groupData.VDisks) === null || _a === void 0 ? void 0 : _a.map((vDisk) => {
111
- return (_jsx(VDiskWithDonorsStack, { data: vDisk, nodes: nodesMap, className: vDiskPageCn('group-disk') }, stringifyVdiskId(vDisk.VDiskId)));
112
- }) })] }));
109
+ return (_jsxs(React.Fragment, { children: [_jsx("div", { className: vDiskPageCn('group-title'), children: vDiskPageKeyset('group') }), _jsx(VDiskGroup, { data: groupData })] }));
113
110
  }
114
111
  return null;
115
112
  };
@@ -121,4 +118,11 @@ export function VDiskPage() {
121
118
  };
122
119
  return (_jsxs("div", { className: vDiskPageCn(null), children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderControls(), renderContent()] }));
123
120
  }
121
+ export function VDiskGroup({ data }) {
122
+ const nodesMap = useTypedSelector(selectNodesMap);
123
+ const pDiskStorageColumns = React.useMemo(() => {
124
+ return getDiskPageStorageColumns(nodesMap);
125
+ }, [nodesMap]);
126
+ return (_jsx(ResizeableDataTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, data: [data], columns: pDiskStorageColumns, settings: DEFAULT_TABLE_SETTINGS }));
127
+ }
124
128
  //# sourceMappingURL=VDiskPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VDiskPage.js","sourceRoot":"","sources":["../../../src/containers/VDiskPage/VDiskPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CA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CAAC,aAC5B,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,cAAc,EAAE,EAChB,aAAa,EAAE,IACd,CACT,CAAC;AACN,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,EAAC,IAAI,EAA+B;IAC3D,MAAM,QAAQ,GAAG,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAElD,MAAM,mBAAmB,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QAC3C,OAAO,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IAC/C,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,OAAO,CACH,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,mCAAmC,EACtD,IAAI,EAAE,CAAC,IAAI,CAAC,EACZ,OAAO,EAAE,mBAAmB,EAC5B,QAAQ,EAAE,sBAAsB,GAClC,CACL,CAAC;AACN,CAAC"}
@@ -11,6 +11,15 @@
11
11
  height: 100%;
12
12
  padding: 20px;
13
13
 
14
+ &__meta,
15
+ &__title,
16
+ &__controls,
17
+ &__info,
18
+ &__group-title {
19
+ position: sticky;
20
+ left: 0;
21
+ }
22
+
14
23
  &__controls {
15
24
  display: flex;
16
25
  align-items: center;
@@ -1,11 +1,11 @@
1
- import type { PreparedClusterNode } from '../../../store/reducers/clusterNodes/clusterNodes';
2
1
  import type { VersionValue } from '../../../types/versions';
2
+ import type { PreparedNodeSystemState } from '../../../utils/nodes';
3
3
  import type { GroupedNodesItem } from '../types';
4
4
  import './GroupedNodesTree.scss';
5
5
  export declare const b: import("@bem-react/classname").ClassNameFormatter;
6
6
  interface GroupedNodesTreeProps {
7
7
  title?: string;
8
- nodes?: PreparedClusterNode[];
8
+ nodes?: PreparedNodeSystemState[];
9
9
  items?: GroupedNodesItem[];
10
10
  expanded?: boolean;
11
11
  versionColor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"GroupedNodesTree.js","sourceRoot":"","sources":["../../../../src/containers/Versions/GroupedNodesT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UAAU,EAChB,SAAS,EAAE,CAAC,QAAQ,EACpB,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,eAAe,EACxB,YAAY,EAAE,eAAe,YAE5B,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,KAAC,gBAAgB,IAEb,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,KAAK,EAAE,KAAK,GAAG,CAAC,IALX,KAAK,CAMZ,CACL,CAAC,IAhBG,KAAK,CAiBH,GACT,CACT,CAAC;IACN,CAAC;IAED,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,EAAC,aAAa,EAAE,KAAK,KAAK,CAAC,EAAC,CAAC,YAC3C,KAAC,QAAQ,IAEL,IAAI,EAAE,UAAU,EAChB,SAAS,EAAE,CAAC,QAAQ,EACpB,QAAQ,QACR,OAAO,EAAE,eAAe,EACxB,YAAY,EAAE,eAAe,YAE7B,cAAK,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAC3B,KAAC,UAAU,IAAC,KAAK,EAAE,KAAK,IAAI,EAAE,GAAI,GAChC,IATD,KAAK,CAUH,GACT,CACT,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"GroupedNodesTree.js","sourceRoot":"","sources":["../../../../src/containers/Versions/GroupedNodesTree/GroupedNodesTree.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAG3C,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AAErC,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAGhE,OAAO,yBAAyB,CAAC;AAEjC,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AY,EAAE,IAAI,CAAC,YAAY,EAC/B,KAAK,EAAE,KAAK,GAAG,CAAC,IALX,KAAK,CAMZ,CACL,CAAC,IAhBG,KAAK,CAiBH,GACT,CACT,CAAC;IACN,CAAC;IAED,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,EAAC,aAAa,EAAE,KAAK,KAAK,CAAC,EAAC,CAAC,YAC3C,KAAC,QAAQ,IAEL,IAAI,EAAE,UAAU,EAChB,SAAS,EAAE,CAAC,QAAQ,EACpB,QAAQ,QACR,OAAO,EAAE,eAAe,EACxB,YAAY,EAAE,eAAe,YAE7B,cAAK,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAC3B,KAAC,UAAU,IAAC,KAAK,EAAE,KAAK,IAAI,EAAE,GAAI,GAChC,IATD,KAAK,CAUH,GACT,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { PreparedClusterNode } from '../../../store/reducers/clusterNodes/clusterNodes';
1
+ import type { PreparedNodeSystemState } from '../../../utils/nodes';
2
2
  interface NodesTableProps {
3
- nodes: PreparedClusterNode[];
3
+ nodes: PreparedNodeSystemState[];
4
4
  }
5
5
  export declare const NodesTable: ({ nodes }: NodesTableProps) => import("react/jsx-runtime").JSX.Element;
6
6
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"NodesTable.js","sourceRoot":"","sources":["../../../../src/containers/Versions/NodesTable/NodesTable.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,YAAY,EAAC,MAAM,+CAA+C,CAAC;AAC3E,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAC,cAAc,EAAC,MAAM,mDAAmD,CAAC;AACjF,OAAO,EAAC,mBAAmB,EAAC,MAAM,6DAA6D,CAAC;AAEhG,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,WAAW,EAAC,MA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,KAAK,EAAE,GAAG,CAAC,mBAAmB,CAAC,CAAC,CAAC,EACjC,QAAQ,EAAE,IAAI,EACd,QAAQ,EAAE,GAAG,EACb,gBAAgB,EAAE,IAAI,GACxB,CACL,CAAC,CAAC,CAAC,CACA,GAAG,CACN;QACL,KAAK,EAAE,SAAS,CAAC,IAAI;KACxB;CACJ,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EAAC,KAAK,EAAkB,EAAE,EAAE;IACnD,OAAO,CACH,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,6BAA6B,EAChD,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,sBAAsB,GAClC,CACL,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"NodesTable.js","sourceRoot":"","sources":["../../../../src/containers/Versions/NodesTable/NodesTable.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,YAAY,EAAC,MAAM,+CAA+C,CAAC;AAC3E,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAC,cAAc,EAAC,MAAM,mDAAmD,CAAC;AACjF,OAAO,EAAC,mBAAmB,EAAC,MAAM,6DAA6D,CAAC;AAChG,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,WAAW,EAAC,MAAM,8CAA8C,CAAC;AAEzE,OAAO,EAAC,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAExD,MAAM,6BAA6B,GAAG,2BAA2B,CAAC;AAElE,MAAM,OAAO,GAAsC;IAC/C;QACI,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,GAAG;QACX,KAAK,EAAE,EAAE;QACT,cAAc,EAAE,EAAE;QAClB,KAAK,EAAE,SAAS,CAAC,IAAI;QACrB,MAAM,EAAE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EAAE,6BAA6B,EAChD,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,sBAAsB,GAClC,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -1,10 +1,10 @@
1
- import type { PreparedClusterNode } from '../../../store/reducers/clusterNodes/clusterNodes';
2
1
  import type { VersionValue } from '../../../types/versions';
2
+ import type { PreparedNodeSystemState } from '../../../utils/nodes';
3
3
  import type { GroupedNodesItem } from '../types';
4
4
  import './NodesTreeTitle.scss';
5
5
  interface NodesTreeTitleProps {
6
6
  title?: string;
7
- nodes?: PreparedClusterNode[];
7
+ nodes?: PreparedNodeSystemState[];
8
8
  items?: GroupedNodesItem[];
9
9
  versionColor?: string;
10
10
  versionsValues?: VersionValue[];
@@ -1 +1 @@
1
- {"version":3,"file":"NodesTreeTitle.js","sourceRoot":"","sources":["../../../../src/containers/Versions/NodesTreeTitle/NodesTreeTitle.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAC,eAAe,EAAC,MAAM,qCAAqC,CAAC;AAGpE,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AAGrC,OAAO,uBAAuB,CAAC;AAE/B,MAAM,CAAC,GAAG,EAAE,CAAC,+BAA+B,CAAC,CAAC;AAU9C,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC3B,KAAK,EACL,KAAK,EACL,KAAK,EACL,YAAY,EACZ,cAAc,GACI,EAAE,EAAE;IACtB,IAAI,WAAW,CAAC;IAChB,IAAI,KAAK,EAAE,CAAC;QACR,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;gBACd,OAAO,GAAG,CAAC;YACf,CAAC;YACD,OAAO,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;QACnC,CAA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AC,CAAC,gBAAgB,CAAC,aAC/B,KAAK,EACN,KAAC,eAAe,IAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAC,GAAG,EAAC,SAAS,EAAE,CAAC,CAAC,kBAAkB,CAAC,GAAI,IACxE,CACV,CAAC,CAAC,CAAC,IAAI,IACN,EACN,eAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,aAC9B,0BACI,eAAM,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAAG,WAAW,GAAQ,EACtD,eAAM,SAAS,EAAE,CAAC,CAAC,YAAY,EAAE,EAAC,MAAM,EAAE,MAAM,EAAC,CAAC,sBAAc,IAC9D,EACL,cAAc,CAAC,CAAC,CAAC,CACd,eAAK,SAAS,EAAE,CAAC,CAAC,kBAAkB,CAAC,aACjC,eAAM,SAAS,EAAE,CAAC,CAAC,YAAY,EAAE,EAAC,MAAM,EAAE,OAAO,EAAC,CAAC,yBAAiB,EACpE,KAAC,QAAQ,IAAC,IAAI,EAAC,GAAG,EAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,cAAc,GAAI,IACtD,CACT,CAAC,CAAC,CAAC,IAAI,IACN,IACJ,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { Checkbox, RadioButton } from '@gravity-ui/uikit';
4
4
  import { Loader } from '../../components/Loader';
5
- import { clusterNodesApi } from '../../store/reducers/clusterNodes/clusterNodes';
5
+ import { nodesApi } from '../../store/reducers/nodes/nodes';
6
6
  import { cn } from '../../utils/cn';
7
7
  import { useAutoRefreshInterval } from '../../utils/hooks';
8
8
  import { GroupedNodesTree } from './GroupedNodesTree/GroupedNodesTree';
@@ -12,7 +12,8 @@ import './Versions.scss';
12
12
  const b = cn('ydb-versions');
13
13
  export const Versions = ({ versionToColor }) => {
14
14
  const [autoRefreshInterval] = useAutoRefreshInterval();
15
- const { data: nodes = [], isLoading: isNodesLoading } = clusterNodesApi.useGetClusterNodesQuery(undefined, { pollingInterval: autoRefreshInterval });
15
+ const { currentData, isLoading: isNodesLoading } = nodesApi.useGetNodesQuery({ tablets: false }, { pollingInterval: autoRefreshInterval });
16
+ const nodes = currentData === null || currentData === void 0 ? void 0 : currentData.Nodes;
16
17
  const [groupByValue, setGroupByValue] = React.useState(GroupByValue.VERSION);
17
18
  const [expanded, setExpanded] = React.useState(false);
18
19
  const handleGroupByValueChange = (value) => {
@@ -1 +1 @@
1
- {"version":3,"file":"Versions.js","sourceRoot":"","sources":["../../../src/containers/Versions/Versions.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAE,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAC,MAAM,EAAC,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAC,eAAe,EAAC,MAAM,gDAAgD,CAAC;AAE/E,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAC,sBAAsB,EAAE,qBAAqB,EAAE,aAAa,EAAC,MAAM,cAAc,CAAC;AAC1F,OAAO,EAAC,YAAY,EAAC,MAAM,SAAS,CAAC;AAErC,OAAO,iBAAiB,CAAC;AAEzB,MAAM,CAAC,GAAG,EAAE,CAAC,cAAc,CAAC,CAAC;AAM7B,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAC,cAAc,EAAgB,EAAE,EAAE;IACxD,MAAM,CAAC,mBAAmB,CAAC,GAAG,sBAAsB,EAAE,CAAC;IACvD,MAAM,EAAC,IAAI,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,EAAE,cAAc,EAAC,GAAG,eAAe,CAAC,uBAAuB,CACzF,SAAS,EACT,EAAC,e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KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,cAAc,EAAC,EAAE,EAAE,CAAC,CACjF,KAAC,gBAAgB,IAEb,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,SAAS,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,cAAc,IANzB,gBAAgB,KAAK,EAAE,CAO9B,CACL,CAAC,IACW,CACpB,CAAC,CAAC,CAAC,IAAI,CAAC;IACT,MAAM,iBAAiB,GAAG,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM,EAAC,CAAC,CAAC,CAC3C,MAAC,KAAK,CAAC,QAAQ,eACX,uCAAoB,EACnB,UAAU,CAAC,GAAG,CAAC,CAAC,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,cAAc,EAAC,EAAE,EAAE,CAAC,CAChF,KAAC,gBAAgB,IAEb,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,SAAS,EAChB,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,cAAc,IALzB,eAAe,KAAK,EAAE,CAM7B,CACL,CAAC,IACW,CACpB,CAAC,CAAC,CAAC,IAAI,CAAC;IAET,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,aACxB,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,IAChB,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
- import type { PreparedClusterNode } from '../../store/reducers/clusterNodes/clusterNodes';
2
1
  import type { VersionToColorMap } from '../../types/versions';
2
+ import type { PreparedNodeSystemState } from '../../utils/nodes';
3
3
  import type { GroupedNodesItem } from './types';
4
4
  import { GroupByValue } from './types';
5
- export declare const getGroupedTenantNodes: (nodes: PreparedClusterNode[] | undefined, versionToColor: VersionToColorMap | undefined, groupByValue: GroupByValue) => GroupedNodesItem[] | undefined;
6
- export declare const getGroupedStorageNodes: (nodes: PreparedClusterNode[] | undefined, versionToColor: VersionToColorMap | undefined) => GroupedNodesItem[] | undefined;
7
- export declare const getOtherNodes: (nodes: PreparedClusterNode[] | undefined, versionToColor: VersionToColorMap | undefined) => GroupedNodesItem[] | undefined;
5
+ export declare const getGroupedTenantNodes: (nodes: PreparedNodeSystemState[] | undefined, versionToColor: VersionToColorMap | undefined, groupByValue: GroupByValue) => GroupedNodesItem[] | undefined;
6
+ export declare const getGroupedStorageNodes: (nodes: PreparedNodeSystemState[] | undefined, versionToColor: VersionToColorMap | undefined) => GroupedNodesItem[] | undefined;
7
+ export declare const getOtherNodes: (nodes: PreparedNodeSystemState[] | undefined, versionToColor: VersionToColorMap | undefined) => GroupedNodesItem[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"groupNodes.js","sourceRoot":"","sources":["../../../src/containers/Versions/groupNodes.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAIrC,OAAO,EAAC,eAAe,EAAE,0BAA0B,EAAC,MAAM,sBAAsB,CAAC;AAGjF,OAAO,EAAC,YAAY,EAAC,MAAM,SAAS,CAAC;AAErC,MAAM,WAAW,GAAG,CAAC,CAAmB,EAAE,CAAmB,EAAE,EAAE,WAC7D,OAAA,CAAA,MAAA,CAAC,CAAC,KAAK,0CAAE,aAAa,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC,KAAI,CAAC,CAAC,CAAA,EAAA,CAAC;AAEhD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACjC,KAAwC,EACxC,cAA6C,EAC7C,YAA0B,EACI,EAAE;IAChC,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;QAC1B,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,IAAI,YAAY,KAAK,YAAY,CAAC,OAAO,EAAE,CAAC;QACxC,MAAM,gBA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OAAO,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;IAElE,OAAO,MAAM,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3D,OAAO;YACH,KAAK,EAAE,OAAO;YACd,KAAK,EAAE,0BAA0B,CAAC,OAAO,CAAC;YAC1C,YAAY,EAAE,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;SAC9D,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC"}
@@ -1,8 +1,8 @@
1
- import type { PreparedClusterNode } from '../../store/reducers/clusterNodes/clusterNodes';
2
1
  import type { VersionValue } from '../../types/versions';
2
+ import type { PreparedNodeSystemState } from '../../utils/nodes';
3
3
  export interface GroupedNodesItem {
4
4
  title?: string;
5
- nodes?: PreparedClusterNode[];
5
+ nodes?: PreparedNodeSystemState[];
6
6
  items?: GroupedNodesItem[];
7
7
  versionColor?: string;
8
8
  versionsValues?: VersionValue[];
@@ -39,7 +39,6 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
39
39
  getPath(path: string): string;
40
40
  getClusterCapabilities(): Promise<CapabilitiesResponse>;
41
41
  getClusterInfo(clusterName?: string, { concurrentId, signal }?: AxiosOptions): Promise<TClusterInfo>;
42
- getClusterNodes({ concurrentId, signal }?: AxiosOptions): Promise<TEvSystemStateResponse>;
43
42
  getNodeInfo(id?: string | number, { concurrentId, signal }?: AxiosOptions): Promise<TEvSystemStateResponse>;
44
43
  getTenants(clusterName?: string, { concurrentId, signal }?: AxiosOptions): Promise<TTenantInfo>;
45
44
  getTenantInfo({ path, database }: {
@@ -64,8 +63,8 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
64
63
  nodeId: string | number;
65
64
  }, { concurrentId, signal }?: AxiosOptions): Promise<TEvVDiskStateResponse>;
66
65
  getGroupInfo(groupId: string | number, { concurrentId, signal }?: AxiosOptions): Promise<TStorageInfo>;
67
- getTabletsInfo({ nodes, path, database }: {
68
- nodes?: string[];
66
+ getTabletsInfo({ nodeId, path, database }: {
67
+ nodeId?: string | number;
69
68
  path?: string;
70
69
  database?: string;
71
70
  }, { concurrentId, signal }?: AxiosOptions): Promise<TEvTabletStateResponse>;
@@ -98,13 +97,15 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
98
97
  consumer: string;
99
98
  database: string;
100
99
  }, { concurrentId, signal }?: AxiosOptions): Promise<DescribeConsumerResult>;
101
- getTablet({ id, database }: {
102
- id?: string;
100
+ getTablet({ id, database, nodeId }: {
101
+ id: string;
103
102
  database?: string;
103
+ nodeId?: string;
104
104
  }, { concurrentId, signal }?: AxiosOptions): Promise<TEvTabletStateResponse>;
105
- getTabletHistory({ id, database }: {
106
- id?: string;
105
+ getTabletHistory({ id, database, nodeId }: {
106
+ id: string;
107
107
  database?: string;
108
+ nodeId?: string;
108
109
  }, { concurrentId, signal }?: AxiosOptions): Promise<UnmergedTEvTabletStateResponse>;
109
110
  getNodesList({ concurrentId, signal }?: AxiosOptions): Promise<TEvNodesInfo>;
110
111
  getTenantsList({ concurrentId, signal }?: AxiosOptions): Promise<TTenants>;
@@ -2,7 +2,7 @@ import AxiosWrapper from '@gravity-ui/axios-wrapper';
2
2
  import axiosRetry from 'axios-retry';
3
3
  import qs from 'qs';
4
4
  import { backend as BACKEND, metaBackend as META_BACKEND } from '../store';
5
- import { BINARY_DATA_IN_PLAIN_TEXT_DISPLAY } from '../utils/constants';
5
+ import { BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEV_ENABLE_TRACING_FOR_ALL_REQUESTS, } from '../utils/constants';
6
6
  import { prepareSortValue } from '../utils/filters';
7
7
  import { parseMetaCluster } from './parsers/parseMetaCluster';
8
8
  import { parseMetaTenants } from './parsers/parseMetaTenants';
@@ -15,6 +15,15 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
15
15
  retries: this.DEFAULT_RETRIES_COUNT,
16
16
  retryDelay: axiosRetry.exponentialDelay,
17
17
  });
18
+ // Make possible manually enable tracing for all requests
19
+ // For development purposes
20
+ this._axios.interceptors.request.use(function (config) {
21
+ const enableTracing = settingsManager.readUserSettingsValue(DEV_ENABLE_TRACING_FOR_ALL_REQUESTS);
22
+ if (enableTracing) {
23
+ config.headers['X-Want-Trace'] = 1;
24
+ }
25
+ return config;
26
+ });
18
27
  // Interceptor to process OIDC auth
19
28
  this._axios.interceptors.response.use(null, function (error) {
20
29
  var _a;
@@ -40,9 +49,6 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
40
49
  tablets: true,
41
50
  }, { concurrentId: concurrentId || `getClusterInfo`, requestConfig: { signal } });
42
51
  }
43
- getClusterNodes({ concurrentId, signal } = {}) {
44
- return this.get(this.getPath('/viewer/json/sysinfo'), {}, { concurrentId: concurrentId || `getClusterNodes`, requestConfig: { signal } });
45
- }
46
52
  getNodeInfo(id, { concurrentId, signal } = {}) {
47
53
  return this.get(this.getPath('/viewer/json/sysinfo?enums=true'), {
48
54
  node_id: id,
@@ -116,11 +122,10 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
116
122
  group_id: groupId,
117
123
  }, { concurrentId, requestConfig: { signal } });
118
124
  }
119
- getTabletsInfo({ nodes = [], path, database }, { concurrentId, signal } = {}) {
120
- const filter = nodes.length > 0 && `(NodeId=[${nodes.join(',')}])`;
125
+ getTabletsInfo({ nodeId, path, database }, { concurrentId, signal } = {}) {
121
126
  return this.get(this.getPath('/viewer/json/tabletinfo'), {
122
127
  database,
123
- filter,
128
+ node_id: nodeId,
124
129
  path,
125
130
  enums: true,
126
131
  }, { concurrentId, requestConfig: { signal } });
@@ -189,20 +194,24 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
189
194
  consumer,
190
195
  }, { concurrentId: concurrentId || 'getConsumer', requestConfig: { signal } });
191
196
  }
192
- getTablet({ id, database }, { concurrentId, signal } = {}) {
193
- return this.get(this.getPath(`/viewer/json/tabletinfo?filter=(TabletId=${id})`), {
197
+ getTablet({ id, database, nodeId }, { concurrentId, signal } = {}) {
198
+ return this.get(this.getPath('/viewer/json/tabletinfo'), {
194
199
  enums: true,
195
200
  database,
201
+ node_id: nodeId,
202
+ filter: `(TabletId=${id})`,
196
203
  }, {
197
204
  concurrentId,
198
205
  requestConfig: { signal },
199
206
  });
200
207
  }
201
- getTabletHistory({ id, database }, { concurrentId, signal } = {}) {
202
- return this.get(this.getPath(`/viewer/json/tabletinfo?filter=(TabletId=${id})`), {
208
+ getTabletHistory({ id, database, nodeId }, { concurrentId, signal } = {}) {
209
+ return this.get(this.getPath('/viewer/json/tabletinfo'), {
203
210
  enums: true,
204
211
  merge: false,
205
212
  database,
213
+ node_id: nodeId,
214
+ filter: `(TabletId=${id})`,
206
215
  }, {
207
216
  concurrentId,
208
217
  requestConfig: { signal },