ydb-embedded-ui 6.32.0 → 6.34.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +21 -0
- package/dist/components/ConfirmationDialog/ConfirmationDialog.js +31 -0
- package/dist/components/ConfirmationDialog/ConfirmationDialog.js.map +1 -0
- package/dist/components/ConfirmationDialog/ConfirmationDialog.scss +6 -0
- package/dist/components/ConfirmationDialog/i18n/en.json +3 -0
- package/dist/components/ConfirmationDialog/i18n/index.d.ts +1 -0
- package/dist/components/ConfirmationDialog/i18n/index.js +5 -0
- package/dist/components/ConfirmationDialog/i18n/index.js.map +1 -0
- package/dist/components/EntityStatus/EntityStatus.js +1 -1
- package/dist/components/EntityStatus/EntityStatus.js.map +1 -1
- package/dist/components/MemoryViewer/MemoryViewer.d.ts +14 -0
- package/dist/components/MemoryViewer/MemoryViewer.js +84 -0
- package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -0
- package/dist/components/MemoryViewer/MemoryViewer.scss +104 -0
- package/dist/components/MemoryViewer/i18n/en.json +11 -0
- package/dist/components/MemoryViewer/i18n/index.d.ts +2 -0
- package/dist/components/MemoryViewer/i18n/index.js +5 -0
- package/dist/components/MemoryViewer/i18n/index.js.map +1 -0
- package/dist/components/MemoryViewer/utils.d.ts +10 -0
- package/dist/components/MemoryViewer/utils.js +71 -0
- package/dist/components/MemoryViewer/utils.js.map +1 -0
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/ProgressViewer/ProgressViewer.d.ts +1 -1
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.scss +1 -1
- package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/nodesColumns/columns.d.ts +4 -7
- package/dist/components/nodesColumns/columns.js +9 -17
- package/dist/components/nodesColumns/columns.js.map +1 -1
- package/dist/components/nodesColumns/constants.d.ts +4 -5
- package/dist/components/nodesColumns/constants.js +78 -11
- package/dist/components/nodesColumns/constants.js.map +1 -1
- package/dist/components/nodesColumns/i18n/en.json +8 -5
- package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
- package/dist/containers/App/App.d.ts +1 -1
- package/dist/containers/App/Providers.js +2 -1
- package/dist/containers/App/Providers.js.map +1 -1
- package/dist/containers/AsideNavigation/AsideNavigation.d.ts +2 -0
- package/dist/containers/AsideNavigation/AsideNavigation.js +2 -1
- package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
- package/dist/containers/Clusters/Clusters.js +1 -1
- package/dist/containers/Clusters/Clusters.js.map +1 -1
- package/dist/containers/Clusters/Clusters.scss +5 -2
- package/dist/containers/Clusters/constants.d.ts +1 -1
- package/dist/containers/Nodes/columns/columns.js +2 -2
- package/dist/containers/Nodes/columns/columns.js.map +1 -1
- package/dist/containers/Nodes/columns/constants.js +2 -4
- package/dist/containers/Nodes/columns/constants.js.map +1 -1
- package/dist/containers/Nodes/getNodes.js +4 -5
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/columns.js +3 -3
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +3 -7
- package/dist/containers/Storage/StorageGroups/columns/constants.js +54 -10
- package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/getGroups.js +3 -5
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/columns.js +2 -3
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/constants.js +2 -2
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/getNodes.js +4 -5
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/utils/index.d.ts +1 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +3 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +2 -7
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +3 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +5 -1
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +5 -2
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.d.ts +7 -0
- package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.js +40 -0
- package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.js.map +1 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +4 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +8 -1
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +3 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +2 -27
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +32 -51
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js.map +1 -1
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +9 -3
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +23 -12
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js.map +1 -1
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +8 -3
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js.map +1 -1
- package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +1 -1
- package/dist/containers/Tenant/utils/newSQLQueryActions.js +2 -3
- package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -1
- package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -0
- package/dist/containers/Tenant/utils/schemaActions.js +59 -40
- package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js +1 -1
- package/dist/containers/UserSettings/i18n/en.json +2 -0
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +1 -0
- package/dist/containers/UserSettings/settings.js +7 -2
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/services/api.d.ts +4 -0
- package/dist/services/api.js +11 -0
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +1 -0
- package/dist/services/settings.js +2 -1
- package/dist/services/settings.js.map +1 -1
- package/dist/store/configureStore.d.ts +25 -11
- package/dist/store/defaultStore.d.ts +12 -5
- package/dist/store/reducers/capabilities/capabilities.d.ts +48 -8
- package/dist/store/reducers/cluster/cluster.d.ts +36 -6
- package/dist/store/reducers/executeQuery.d.ts +41 -51
- package/dist/store/reducers/executeQuery.js +64 -160
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +120 -20
- package/dist/store/reducers/index.d.ts +19 -10
- package/dist/store/reducers/node/selectors.d.ts +6 -1
- package/dist/store/reducers/nodes/utils.d.ts +1 -1
- package/dist/store/reducers/nodesList.d.ts +6 -1
- package/dist/store/reducers/planToSvg.d.ts +8 -0
- package/dist/store/reducers/planToSvg.js +21 -0
- package/dist/store/reducers/planToSvg.js.map +1 -0
- package/dist/store/reducers/queryActions/queryActions.d.ts +0 -27
- package/dist/store/reducers/queryActions/queryActions.js +1 -1
- package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
- package/dist/store/reducers/schema/schema.d.ts +22 -7
- package/dist/store/reducers/schema/schema.js +16 -20
- package/dist/store/reducers/schema/schema.js.map +1 -1
- package/dist/store/reducers/tablets.d.ts +30 -5
- package/dist/store/reducers/tenantOverview/topShards/utils.d.ts +1 -1
- package/dist/store/reducers/tenants/selectors.d.ts +54 -9
- package/dist/store/reducers/tooltip.d.ts +1 -1
- package/dist/store/reducers/topic.d.ts +90 -15
- package/dist/store/reducers/trace.d.ts +1 -1
- package/dist/store/reducers/trace.js +1 -1
- package/dist/store/reducers/trace.js.map +1 -1
- package/dist/types/api/nodes.d.ts +18 -4
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/store/executeQuery.d.ts +3 -6
- package/dist/types/store/executeQuery.js.map +1 -1
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/constants.js +1 -0
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/hooks/withConfirmation/i18n/en.json +4 -0
- package/dist/utils/hooks/withConfirmation/i18n/index.d.ts +2 -0
- package/dist/utils/hooks/withConfirmation/i18n/index.js +5 -0
- package/dist/utils/hooks/withConfirmation/i18n/index.js.map +1 -0
- package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.d.ts +3 -0
- package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +53 -0
- package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -0
- package/dist/utils/monaco/yql/constants.d.ts +1 -1
- package/dist/utils/monaco/yql/generateSuggestions.d.ts +2 -1
- package/dist/utils/monaco/yql/generateSuggestions.js +36 -15
- package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
- package/dist/utils/monaco/yql/yqlSuggestions.js +1 -1
- package/dist/utils/monaco/yql/yqlSuggestions.js.map +1 -1
- package/dist/utils/nodes.d.ts +1 -4
- package/dist/utils/nodes.js +0 -36
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/query.d.ts +1 -1
- package/dist/utils/storage.d.ts +1 -3
- package/dist/utils/storage.js +0 -17
- package/dist/utils/storage.js.map +1 -1
- package/package.json +3 -2
@@ -1,9 +1,8 @@
|
|
1
|
-
import type { NodesRequiredField } from '../../types/api/nodes';
|
1
|
+
import type { NodesGroupByField, NodesRequiredField, NodesSortValue } from '../../types/api/nodes';
|
2
2
|
import type { ValueOf } from '../../types/common';
|
3
3
|
export declare const NODES_COLUMNS_WIDTH_LS_KEY = "nodesTableColumnsWidth";
|
4
4
|
export declare const NODES_COLUMNS_IDS: {
|
5
5
|
readonly NodeId: "NodeId";
|
6
|
-
readonly SystemState: "SystemState";
|
7
6
|
readonly Host: "Host";
|
8
7
|
readonly Database: "Database";
|
9
8
|
readonly NodeName: "NodeName";
|
@@ -18,7 +17,6 @@ export declare const NODES_COLUMNS_IDS: {
|
|
18
17
|
readonly LoadAverage: "LoadAverage";
|
19
18
|
readonly Load: "Load";
|
20
19
|
readonly DiskSpaceUsage: "DiskSpaceUsage";
|
21
|
-
readonly SharedCacheUsage: "SharedCacheUsage";
|
22
20
|
readonly TotalSessions: "TotalSessions";
|
23
21
|
readonly Missing: "Missing";
|
24
22
|
readonly Tablets: "Tablets";
|
@@ -27,7 +25,6 @@ export declare const NODES_COLUMNS_IDS: {
|
|
27
25
|
export type NodesColumnId = ValueOf<typeof NODES_COLUMNS_IDS>;
|
28
26
|
export declare const NODES_COLUMNS_TITLES: {
|
29
27
|
readonly NodeId: string;
|
30
|
-
readonly SystemState: string;
|
31
28
|
readonly Host: string;
|
32
29
|
readonly Database: string;
|
33
30
|
readonly NodeName: string;
|
@@ -42,10 +39,12 @@ export declare const NODES_COLUMNS_TITLES: {
|
|
42
39
|
readonly LoadAverage: string;
|
43
40
|
readonly Load: string;
|
44
41
|
readonly DiskSpaceUsage: string;
|
45
|
-
readonly SharedCacheUsage: string;
|
46
42
|
readonly TotalSessions: string;
|
47
43
|
readonly Missing: string;
|
48
44
|
readonly Tablets: string;
|
49
45
|
readonly PDisks: string;
|
50
46
|
};
|
47
|
+
export declare function getNodesGroupByFieldTitle(groupByField: NodesGroupByField): string;
|
51
48
|
export declare const NODES_COLUMNS_TO_DATA_FIELDS: Record<NodesColumnId, NodesRequiredField[]>;
|
49
|
+
export declare function getNodesColumnSortField(columnId?: string): NodesSortValue | undefined;
|
50
|
+
export declare function isSortableNodesColumn(columnId: string): boolean;
|
@@ -2,7 +2,6 @@ import i18n from './i18n';
|
|
2
2
|
export const NODES_COLUMNS_WIDTH_LS_KEY = 'nodesTableColumnsWidth';
|
3
3
|
export const NODES_COLUMNS_IDS = {
|
4
4
|
NodeId: 'NodeId',
|
5
|
-
SystemState: 'SystemState',
|
6
5
|
Host: 'Host',
|
7
6
|
Database: 'Database',
|
8
7
|
NodeName: 'NodeName',
|
@@ -17,7 +16,6 @@ export const NODES_COLUMNS_IDS = {
|
|
17
16
|
LoadAverage: 'LoadAverage',
|
18
17
|
Load: 'Load',
|
19
18
|
DiskSpaceUsage: 'DiskSpaceUsage',
|
20
|
-
SharedCacheUsage: 'SharedCacheUsage',
|
21
19
|
TotalSessions: 'TotalSessions',
|
22
20
|
Missing: 'Missing',
|
23
21
|
Tablets: 'Tablets',
|
@@ -29,9 +27,6 @@ export const NODES_COLUMNS_TITLES = {
|
|
29
27
|
get NodeId() {
|
30
28
|
return i18n('node-id');
|
31
29
|
},
|
32
|
-
get SystemState() {
|
33
|
-
return i18n('system-state');
|
34
|
-
},
|
35
30
|
get Host() {
|
36
31
|
return i18n('host');
|
37
32
|
},
|
@@ -74,9 +69,6 @@ export const NODES_COLUMNS_TITLES = {
|
|
74
69
|
get DiskSpaceUsage() {
|
75
70
|
return i18n('disk-usage');
|
76
71
|
},
|
77
|
-
get SharedCacheUsage() {
|
78
|
-
return i18n('caches');
|
79
|
-
},
|
80
72
|
get TotalSessions() {
|
81
73
|
return i18n('sessions');
|
82
74
|
},
|
@@ -90,11 +82,60 @@ export const NODES_COLUMNS_TITLES = {
|
|
90
82
|
return i18n('pdisks');
|
91
83
|
},
|
92
84
|
};
|
85
|
+
const NODES_COLUMNS_GROUP_BY_TITLES = {
|
86
|
+
get NodeId() {
|
87
|
+
return i18n('node-id');
|
88
|
+
},
|
89
|
+
get Host() {
|
90
|
+
return i18n('host');
|
91
|
+
},
|
92
|
+
get NodeName() {
|
93
|
+
return i18n('node-name');
|
94
|
+
},
|
95
|
+
get Database() {
|
96
|
+
return i18n('database');
|
97
|
+
},
|
98
|
+
get DiskSpaceUsage() {
|
99
|
+
return i18n('disk-usage');
|
100
|
+
},
|
101
|
+
get DC() {
|
102
|
+
return i18n('dc');
|
103
|
+
},
|
104
|
+
get Rack() {
|
105
|
+
return i18n('rack');
|
106
|
+
},
|
107
|
+
get Missing() {
|
108
|
+
return i18n('missing');
|
109
|
+
},
|
110
|
+
get Uptime() {
|
111
|
+
return i18n('uptime');
|
112
|
+
},
|
113
|
+
get Version() {
|
114
|
+
return i18n('version');
|
115
|
+
},
|
116
|
+
get SystemState() {
|
117
|
+
return i18n('system-state');
|
118
|
+
},
|
119
|
+
get ConnectStatus() {
|
120
|
+
return i18n('connect-status');
|
121
|
+
},
|
122
|
+
get NetworkUtilization() {
|
123
|
+
return i18n('network-utilization');
|
124
|
+
},
|
125
|
+
get ClockSkew() {
|
126
|
+
return i18n('clock-skew');
|
127
|
+
},
|
128
|
+
get PingTime() {
|
129
|
+
return i18n('ping-time');
|
130
|
+
},
|
131
|
+
};
|
132
|
+
export function getNodesGroupByFieldTitle(groupByField) {
|
133
|
+
return NODES_COLUMNS_GROUP_BY_TITLES[groupByField];
|
134
|
+
}
|
93
135
|
// Although columns ids mostly similar to backend fields, there might be some difference
|
94
136
|
// Also for some columns we may use more than one field
|
95
137
|
export const NODES_COLUMNS_TO_DATA_FIELDS = {
|
96
138
|
NodeId: ['NodeId'],
|
97
|
-
SystemState: ['SystemState'],
|
98
139
|
Host: ['Host', 'Rack', 'Database', 'SystemState'],
|
99
140
|
Database: ['Database'],
|
100
141
|
NodeName: ['NodeName'],
|
@@ -102,17 +143,43 @@ export const NODES_COLUMNS_TO_DATA_FIELDS = {
|
|
102
143
|
Rack: ['Rack'],
|
103
144
|
Version: ['Version'],
|
104
145
|
Uptime: ['Uptime'],
|
105
|
-
Memory: ['Memory'],
|
146
|
+
Memory: ['Memory', 'MemoryDetailed'],
|
106
147
|
RAM: ['Memory'],
|
107
148
|
Pools: ['CPU'],
|
108
149
|
CPU: ['CPU'],
|
109
150
|
LoadAverage: ['LoadAverage'],
|
110
151
|
Load: ['LoadAverage'],
|
111
152
|
DiskSpaceUsage: ['DiskSpaceUsage'],
|
112
|
-
SharedCacheUsage: ['SystemState'],
|
113
153
|
TotalSessions: ['SystemState'],
|
114
154
|
Missing: ['Missing'],
|
115
155
|
Tablets: ['Tablets', 'Database'],
|
116
156
|
PDisks: ['PDisks'],
|
117
157
|
};
|
158
|
+
const NODES_COLUMNS_TO_SORT_FIELDS = {
|
159
|
+
NodeId: 'NodeId',
|
160
|
+
Host: 'Host',
|
161
|
+
Database: 'Database',
|
162
|
+
NodeName: 'NodeName',
|
163
|
+
DC: 'DC',
|
164
|
+
Rack: 'Rack',
|
165
|
+
Version: 'Version',
|
166
|
+
Uptime: 'Uptime',
|
167
|
+
Memory: 'Memory',
|
168
|
+
RAM: 'Memory',
|
169
|
+
CPU: 'CPU',
|
170
|
+
Pools: 'CPU',
|
171
|
+
LoadAverage: 'LoadAverage',
|
172
|
+
Load: 'LoadAverage',
|
173
|
+
DiskSpaceUsage: 'DiskSpaceUsage',
|
174
|
+
TotalSessions: undefined,
|
175
|
+
Missing: 'Missing',
|
176
|
+
Tablets: undefined,
|
177
|
+
PDisks: undefined,
|
178
|
+
};
|
179
|
+
export function getNodesColumnSortField(columnId) {
|
180
|
+
return NODES_COLUMNS_TO_SORT_FIELDS[columnId];
|
181
|
+
}
|
182
|
+
export function isSortableNodesColumn(columnId) {
|
183
|
+
return Boolean(getNodesColumnSortField(columnId));
|
184
|
+
}
|
118
185
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/nodesColumns/constants.ts"],"names":[],"mappings":"AAGA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,MAAM,0BAA0B,GAAG,wBAAwB,CAAC;AAEnE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,MAAM,EAAE,QAAQ;IAChB,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/nodesColumns/constants.ts"],"names":[],"mappings":"AAGA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,MAAM,0BAA0B,GAAG,wBAAwB,CAAC;AAEnE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,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SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,QAAQ;IACb,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,KAAK;IACZ,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,aAAa;IACnB,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,SAAS;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,SAAS;CACpB,CAAC;AAEF,MAAM,UAAU,uBAAuB,CAAC,QAAiB;IACrD,OAAO,4BAA4B,CAAC,QAAyB,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,QAAgB;IAClD,OAAO,OAAO,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,CAAC;AACtD,CAAC"}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"node-id": "Node ID",
|
3
|
-
"system-state": "System State",
|
4
3
|
"host": "Host",
|
5
4
|
"database": "Database",
|
6
5
|
"node-name": "Node Name",
|
@@ -8,18 +7,22 @@
|
|
8
7
|
"rack": "Rack",
|
9
8
|
"version": "Version",
|
10
9
|
"uptime": "Uptime",
|
11
|
-
"memory": "Memory",
|
10
|
+
"memory": "Detailed Memory",
|
12
11
|
"ram": "RAM",
|
13
12
|
"cpu": "CPU",
|
14
13
|
"pools": "Pools",
|
15
|
-
"disk-usage": "Disk
|
14
|
+
"disk-usage": "Disk Usage",
|
16
15
|
"tablets": "Tablets",
|
17
16
|
"load-average": "Load Average",
|
18
17
|
"load": "Load",
|
19
|
-
"caches": "Caches",
|
20
18
|
"sessions": "Sessions",
|
21
19
|
"missing": "Missing",
|
22
20
|
"pdisks": "PDisks",
|
23
21
|
"field_memory-used": "Memory used",
|
24
|
-
"field_memory-limit": "Memory limit"
|
22
|
+
"field_memory-limit": "Memory limit",
|
23
|
+
"system-state": "System State",
|
24
|
+
"connect-status": "Connect Status",
|
25
|
+
"network-utilization": "Network Utilization",
|
26
|
+
"clock-skew": "Clock Skew",
|
27
|
+
"ping-time": "Ping Time"
|
25
28
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "missing" | "version" | "host" | "tablets" | "cpu" | "memory" | "
|
1
|
+
declare const _default: (key: "database" | "missing" | "version" | "host" | "tablets" | "cpu" | "memory" | "uptime" | "load" | "node-id" | "node-name" | "dc" | "rack" | "ram" | "pools" | "disk-usage" | "load-average" | "sessions" | "pdisks" | "field_memory-used" | "field_memory-limit" | "system-state" | "connect-status" | "network-utilization" | "clock-skew" | "ping-time", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -13,9 +13,9 @@ export interface AppProps {
|
|
13
13
|
declare function App({ store, history, singleClusterMode, children, userSettings, }: AppProps): import("react/jsx-runtime").JSX.Element;
|
14
14
|
declare const _default: import("react-redux").ConnectedComponent<typeof App, {
|
15
15
|
history: History;
|
16
|
+
children?: React.ReactNode;
|
16
17
|
userSettings?: YDBEmbeddedUISettings;
|
17
18
|
store: Store;
|
18
|
-
children?: React.ReactNode;
|
19
19
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null>;
|
20
20
|
}>;
|
21
21
|
export default _default;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import * as NiceModal from '@ebay/nice-modal-react';
|
2
3
|
import { ThemeProvider } from '@gravity-ui/uikit';
|
3
4
|
import { HelmetProvider } from 'react-helmet-async';
|
4
5
|
import { Provider } from 'react-redux';
|
@@ -10,7 +11,7 @@ import { componentsRegistry as defaultComponentsRegistry } from '../../component
|
|
10
11
|
import { THEME_KEY } from '../../utils/constants';
|
11
12
|
import { useSetting } from '../../utils/hooks';
|
12
13
|
export function Providers({ store, history, componentsRegistry = defaultComponentsRegistry, children, }) {
|
13
|
-
return (_jsx(HelmetProvider, { children: _jsx(Provider, { store: store, children: _jsx(Router, { history: history, children: _jsx(QueryParamProvider, { adapter: ReactRouter5Adapter, children: _jsx(Theme, { children: _jsx(ComponentsProvider, { registry: componentsRegistry, children: children }) }) }) }) }) }));
|
14
|
+
return (_jsx(HelmetProvider, { children: _jsx(Provider, { store: store, children: _jsx(Router, { history: history, children: _jsx(QueryParamProvider, { adapter: ReactRouter5Adapter, children: _jsx(Theme, { children: _jsx(NiceModal.Provider, { children: _jsx(ComponentsProvider, { registry: componentsRegistry, children: children }) }) }) }) }) }) }));
|
14
15
|
}
|
15
16
|
function Theme({ children }) {
|
16
17
|
const [theme] = useSetting(THEME_KEY);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Providers.js","sourceRoot":"","sources":["../../../src/containers/App/Providers.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAGhD,OAAO,EAAC,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AACrC,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAC,kBAAkB,EAAC,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAE7E,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC,kBAAkB,IAAI,yBAAyB,EAAC,MAAM,wDAAwD,CAAC;AAEvH,OAAO,EAAC,SAAS,EAAC,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAS7C,MAAM,UAAU,SAAS,CAAC,EACtB,KAAK,EACL,OAAO,EACP,kBAAkB,GAAG,yBAAyB,EAC9C,QAAQ,GACK;IACb,OAAO,CACH,KAAC,cAAc,cACX,KAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YAClB,KAAC,MAAM,IAAC,OAAO,EAAE,OAAO,YACpB,KA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O,EAAE,OAAO,YACpB,KAAC,kBAAkB,IAAC,OAAO,EAAE,mBAAmB,YAC5C,KAAC,KAAK,cACF,KAAC,SAAS,CAAC,QAAQ,cACf,KAAC,kBAAkB,IAAC,QAAQ,EAAE,kBAAkB,YAC3C,QAAQ,GACQ,GACJ,GACjB,GACS,GAChB,GACF,GACE,CACpB,CAAC;AACN,CAAC;AAED,SAAS,KAAK,CAAC,EAAC,QAAQ,EAA8B;IAClD,MAAM,CAAC,KAAK,CAAC,GAAG,UAAU,CAAqB,SAAS,CAAC,CAAC;IAE1D,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,YAAG,QAAQ,GAAiB,CAAC;AACnE,CAAC"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { MenuItem } from '@gravity-ui/navigation';
|
3
|
+
import type { IconData } from '@gravity-ui/uikit';
|
3
4
|
import './AsideNavigation.scss';
|
4
5
|
export interface AsideNavigationProps {
|
5
6
|
settings: JSX.Element;
|
@@ -8,6 +9,7 @@ export interface AsideNavigationProps {
|
|
8
9
|
content: React.ReactNode;
|
9
10
|
user?: {
|
10
11
|
login: string;
|
12
|
+
icon?: IconData;
|
11
13
|
};
|
12
14
|
}
|
13
15
|
export declare function AsideNavigation(props: AsideNavigationProps): import("react/jsx-runtime").JSX.Element;
|
@@ -12,8 +12,9 @@ import ydbLogoIcon from '../../assets/icons/ydb.svg';
|
|
12
12
|
import './AsideNavigation.scss';
|
13
13
|
const b = cn('kv-navigation');
|
14
14
|
function UserDropdown({ isCompact, popupAnchor, user, children }) {
|
15
|
+
var _a;
|
15
16
|
const [isUserDropdownVisible, setIsUserDropdownVisible] = React.useState(false);
|
16
|
-
const iconData = user ? Person : userSecret;
|
17
|
+
const iconData = user ? (_a = user.icon) !== null && _a !== void 0 ? _a : Person : userSecret;
|
17
18
|
return (_jsx(FooterItem, { compact: isCompact, item: {
|
18
19
|
id: 'user-popup',
|
19
20
|
title: (user === null || user === void 0 ? void 0 : user.login) ? user.login : i18n('navigation-item.account'),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AsideNavigation.js","sourceRoot":"","sources":["../../../src/containers/AsideNavigation/AsideNavigation.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,cAAc,EAAE,IAAI,EAAE,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAC,WAAW,EAAE,UAAU,EAAC,MAAM,wBAAwB,CAAC;
|
1
|
+
{"version":3,"file":"AsideNavigation.js","sourceRoot":"","sources":["../../../src/containers/AsideNavigation/AsideNavigation.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,cAAc,EAAE,IAAI,EAAE,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAC,WAAW,EAAE,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAE/D,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,wBAAwB,EAAC,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,WAAW,MAAM,4BAA4B,CAAC;AAErD,OAAO,wBAAwB,CAAC;AAEhC,MAAM,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,CAAC;AAY9B,SAAS,YAAY,CAAC,EAAC,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAuB;;IAChF,MAAM,CAAC,qBAAqB,EAAE,wBAAwB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChF,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC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,YAAY;oBAC5C,OAAO,EAAE,KAAK,CAAC,QAAQ;iBAC1B;aACJ,EACD,YAAY,EAAE,GAAG,EAAE;gBACf,eAAe,CAAC,SAAS,CAAC,CAAC;YAC/B,CAAC,GACH,GACW,CACpB,CAAC;AACN,CAAC"}
|
@@ -74,7 +74,7 @@ export function Clusters() {
|
|
74
74
|
.sort()
|
75
75
|
.map((el) => ({ value: el, content: el }));
|
76
76
|
}, [clusters]);
|
77
|
-
return (_jsxs("div", { className: b(), children: [_jsx(Helmet, { children: _jsx("title", { children: i18n('page_title') }) }), _jsx(ClustersStatistics, { stats: aggregation, count: filteredClusters.length }), _jsxs("div", { className: b('controls'), children: [_jsx("div", { className: b('control', { wide: true }), children: _jsx(Search, { placeholder: i18n('controls_search-placeholder'), onChange: changeClusterName, value: clusterName }) }), _jsx("div", { className: b('control'), children: _jsx(Select, { multiple: true, filterable: true, hasClear: true, placeholder: i18n('controls_select-placeholder'), label: i18n('controls_status-select-label'), value: status, options: statuses, onUpdate: changeStatus, width: "max" }) }), _jsx("div", { className: b('control'), children: _jsx(Select, { multiple: true, filterable: true, hasClear: true, placeholder: i18n('controls_select-placeholder'), label: i18n('controls_service-select-label'), value: service, options: servicesToSelect, onUpdate: changeService, width: "max" }) }), _jsx("div", { className: b('control'), children: _jsx(Select, { multiple: true, filterable: true, hasClear: true, placeholder: i18n('controls_select-placeholder'), label: i18n('controls_version-select-label'), value: version, options: versions, onUpdate: changeVersion, width: "max" }) }), _jsx("div", { className: b('control'), children: _jsx(TableColumnSetup, { popupWidth: 242, items: columnsToSelect, showStatus: true, onUpdate: setColumns, sortable: false }, "TableColumnSetup") }), _jsx(AutoRefreshControl, {})] }), query.isError ? _jsx(ResponseError, { error: query.error, className: b('error') }) : null, query.isLoading ? _jsx(Loader, { size: "l" }) : null, query.fulfilledTimeStamp ? (_jsx("div", { className: b('table-wrapper'), children: _jsx("div", { className: b('table-content'), children: _jsx(ResizeableDataTable, { columnsWidthLSKey: CLUSTERS_COLUMNS_WIDTH_LS_KEY, wrapperClassName: b('table'), data: filteredClusters, columns: columnsToShow, settings: { ...DEFAULT_TABLE_SETTINGS, dynamicRender: false }, initialSortOrder: {
|
77
|
+
return (_jsxs("div", { className: b(), children: [_jsx(Helmet, { children: _jsx("title", { children: i18n('page_title') }) }), _jsx(ClustersStatistics, { stats: aggregation, count: filteredClusters.length }), _jsxs("div", { className: b('controls'), children: [_jsx("div", { className: b('control', { wide: true }), children: _jsx(Search, { placeholder: i18n('controls_search-placeholder'), onChange: changeClusterName, value: clusterName }) }), _jsx("div", { className: b('control'), children: _jsx(Select, { multiple: true, filterable: true, hasClear: true, placeholder: i18n('controls_select-placeholder'), label: i18n('controls_status-select-label'), value: status, options: statuses, onUpdate: changeStatus, width: "max" }) }), _jsx("div", { className: b('control'), children: _jsx(Select, { multiple: true, filterable: true, hasClear: true, placeholder: i18n('controls_select-placeholder'), label: i18n('controls_service-select-label'), value: service, options: servicesToSelect, onUpdate: changeService, width: "max" }) }), _jsx("div", { className: b('control'), children: _jsx(Select, { multiple: true, filterable: true, hasClear: true, placeholder: i18n('controls_select-placeholder'), label: i18n('controls_version-select-label'), value: version, options: versions, onUpdate: changeVersion, width: "max" }) }), _jsx("div", { className: b('control'), children: _jsx(TableColumnSetup, { popupWidth: 242, items: columnsToSelect, showStatus: true, onUpdate: setColumns, sortable: false }, "TableColumnSetup") }), _jsx(AutoRefreshControl, { className: b('autorefresh') })] }), query.isError ? _jsx(ResponseError, { error: query.error, className: b('error') }) : null, query.isLoading ? _jsx(Loader, { size: "l" }) : null, query.fulfilledTimeStamp ? (_jsx("div", { className: b('table-wrapper'), children: _jsx("div", { className: b('table-content'), children: _jsx(ResizeableDataTable, { columnsWidthLSKey: CLUSTERS_COLUMNS_WIDTH_LS_KEY, wrapperClassName: b('table'), data: filteredClusters, columns: columnsToShow, settings: { ...DEFAULT_TABLE_SETTINGS, dynamicRender: false }, initialSortOrder: {
|
78
78
|
columnId: COLUMNS_NAMES.TITLE,
|
79
79
|
order: DataTable.ASCENDING,
|
80
80
|
} }) }) })) : null] }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Clusters.js","sourceRoot":"","sources":["../../../src/containers/Clusters/Clusters.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,MAAM,EAAE,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAE1C,OAAO,EAAC,kBAAkB,EAAC,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,MAAM,EAAC,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAC,mBAAmB,EAAC,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAC,MAAM,EAAC,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAC,qBAAqB,EAAE,WAAW,EAAC,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EACH,qBAAqB,EACrB,cAAc,EACd,uBAAuB,EACvB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,GACtB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAC,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAC7F,OAAO,EAAC,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AAErD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAC,gBAAgB,EAAE,6BAA6B,EAAC,MAAM,WAAW,CAAC;AAC1E,OAAO,EACH,6BAA6B,EAC7B,aAAa,EACb,cAAc,EACd,eAAe,GAClB,MAAM,aA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CAAC,aAAa,CAAC,GAAI,IACjD,EACL,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,EACnF,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,KAAC,MAAM,IAAC,IAAI,EAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,EAC5C,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,CACxB,cAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,YAC9B,cAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,YAC9B,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,6BAA6B,EAChD,gBAAgB,EAAE,CAAC,CAAC,OAAO,CAAC,EAC5B,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,EAAC,GAAG,sBAAsB,EAAE,aAAa,EAAE,KAAK,EAAC,EAC3D,gBAAgB,EAAE;4BACd,QAAQ,EAAE,aAAa,CAAC,KAAK;4BAC7B,KAAK,EAAE,SAAS,CAAC,SAAS;yBAC7B,GACH,GACA,GACJ,CACT,CAAC,CAAC,CAAC,IAAI,IACN,CACT,CAAC;AACN,CAAC"}
|
@@ -7,7 +7,9 @@
|
|
7
7
|
|
8
8
|
@include mixins.body-2-typography();
|
9
9
|
@include mixins.flex-container();
|
10
|
-
|
10
|
+
&__autorefresh {
|
11
|
+
margin-left: auto;
|
12
|
+
}
|
11
13
|
&__cluster {
|
12
14
|
display: flex;
|
13
15
|
align-items: center;
|
@@ -87,6 +89,7 @@
|
|
87
89
|
|
88
90
|
&__aggregation,
|
89
91
|
&__controls {
|
92
|
+
margin-right: 15px;
|
90
93
|
margin-left: 15px;
|
91
94
|
}
|
92
95
|
|
@@ -108,7 +111,7 @@
|
|
108
111
|
display: flex;
|
109
112
|
align-items: center;
|
110
113
|
|
111
|
-
max-width:
|
114
|
+
max-width: 230px;
|
112
115
|
|
113
116
|
font-size: var(--g-text-subheader-3-font-size);
|
114
117
|
line-height: var(--g-text-subheader-3-line-height);
|
@@ -14,7 +14,7 @@ export declare const COLUMNS_NAMES: {
|
|
14
14
|
readonly DESCRIPTION: "description";
|
15
15
|
readonly BALANCER: "balancer";
|
16
16
|
};
|
17
|
-
export declare const DEFAULT_COLUMNS: ("status" | "
|
17
|
+
export declare const DEFAULT_COLUMNS: ("status" | "storage" | "hosts" | "versions" | "balancer" | "nodes" | "tenants" | "service" | "load" | "owner" | "title")[];
|
18
18
|
export declare const COLUMNS_TITLES: {
|
19
19
|
readonly title: "Cluster";
|
20
20
|
readonly versions: "Versions";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { getCpuColumn, getDataCenterColumn, getHostColumn, getLoadAverageColumn, getMemoryColumn, getNodeIdColumn, getNodeNameColumn, getPoolsColumn, getRAMColumn, getRackColumn, getTabletsColumn, getUptimeColumn, getVersionColumn, } from '../../../components/nodesColumns/columns';
|
2
|
-
import {
|
2
|
+
import { isSortableNodesColumn } from '../../../components/nodesColumns/constants';
|
3
3
|
export function getNodesColumns(params) {
|
4
4
|
const columns = [
|
5
5
|
getNodeIdColumn(),
|
@@ -17,7 +17,7 @@ export function getNodesColumns(params) {
|
|
17
17
|
getTabletsColumn(params),
|
18
18
|
];
|
19
19
|
return columns.map((column) => {
|
20
|
-
return { ...column, sortable:
|
20
|
+
return { ...column, sortable: isSortableNodesColumn(column.name) };
|
21
21
|
});
|
22
22
|
}
|
23
23
|
//# sourceMappingURL=columns.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/columns.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,gBAAgB,GACnB,MAAM,0CAA0C,CAAC;
|
1
|
+
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/columns.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,gBAAgB,GACnB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAC,qBAAqB,EAAC,MAAM,4CAA4C,CAAC;AAKjF,MAAM,UAAU,eAAe,CAAC,MAA6B;IACzD,MAAM,OAAO,GAAG;QACZ,eAAe,EAAuB;QACtC,aAAa,CAAsB,MAAM,CAAC;QAC1C,iBAAiB,EAAuB;QACxC,mBAAmB,EAAuB;QAC1C,aAAa,EAAuB;QACpC,gBAAgB,EAAuB;QACvC,eAAe,EAAuB;QACtC,eAAe,EAAuB;QACtC,YAAY,EAAuB;QACnC,cAAc,EAAuB;QACrC,YAAY,EAAuB;QACnC,oBAAoB,EAAuB;QAC3C,gBAAgB,CAAsB,MAAM,CAAC;KAChD,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QAC1B,OAAO,EAAC,GAAG,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,CAAC;IACrE,CAAC,CAAC,CAAC;AACP,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { getNodesGroupByFieldTitle } from '../../../components/nodesColumns/constants';
|
2
2
|
export const NODES_TABLE_SELECTED_COLUMNS_LS_KEY = 'nodesTableSelectedColumns';
|
3
3
|
export const DEFAULT_NODES_COLUMNS = [
|
4
4
|
'NodeId',
|
@@ -21,8 +21,6 @@ const ALL_NODES_GROUP_BY_PARAMS = [
|
|
21
21
|
'Database',
|
22
22
|
'Version',
|
23
23
|
'Uptime',
|
24
|
-
'Missing',
|
25
|
-
'DiskSpaceUsage',
|
26
24
|
];
|
27
25
|
function getAvailableNodesGroupByParams(withSystemStateGroupBy) {
|
28
26
|
if (!withSystemStateGroupBy) {
|
@@ -34,7 +32,7 @@ export function getNodesGroupByOptions(withSystemStateGroupBy) {
|
|
34
32
|
return getAvailableNodesGroupByParams(withSystemStateGroupBy).map((param) => {
|
35
33
|
return {
|
36
34
|
value: param,
|
37
|
-
content:
|
35
|
+
content: getNodesGroupByFieldTitle(param),
|
38
36
|
};
|
39
37
|
});
|
40
38
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,yBAAyB,EAAC,MAAM,4CAA4C,CAAC;AAIrF,MAAM,CAAC,MAAM,mCAAmC,GAAG,2BAA2B,CAAC;AAE/E,MAAM,CAAC,MAAM,qBAAqB,GAAoB;IAClD,QAAQ;IACR,MAAM;IACN,IAAI;IACJ,MAAM;IACN,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,aAAa;IACb,SAAS;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAoB,CAAC,QAAQ,CAAC,CAAC;AAElE,MAAM,yBAAyB,GAAG;IAC9B,aAAa;IACb,MAAM;IACN,IAAI;IACJ,MAAM;IACN,UAAU;IACV,SAAS;IACT,QAAQ;CAC4B,CAAC;AAEzC,SAAS,8BAA8B,CAAC,sBAAgC;IACpE,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAC1B,OAAO,yBAAyB,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,aAAa,CAAC,CAAC;IAChF,CAAC;IAED,OAAO,yBAAyB,CAAC;AACrC,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,sBAAgC;IACnE,OAAO,8BAA8B,CAAC,sBAAsB,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACxE,OAAO;YACH,KAAK,EAAE,KAAK;YACZ,OAAO,EAAE,yBAAyB,CAAC,KAAK,CAAC;SAC5C,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC;AAED,MAAM,UAAU,sBAAsB,CAClC,YAAqB,EACrB,sBAAgC;IAEhC,MAAM,eAAe,GAAG,8BAA8B,CAAC,sBAAsB,CAAC,CAAC;IAE/E,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,KAAK,YAAY,CAAC,CAAC;AACjF,CAAC"}
|
@@ -1,15 +1,14 @@
|
|
1
|
-
import { NODES_COLUMNS_TO_DATA_FIELDS } from '../../components/nodesColumns/constants';
|
1
|
+
import { NODES_COLUMNS_TO_DATA_FIELDS, getNodesColumnSortField, } from '../../components/nodesColumns/constants';
|
2
2
|
import { prepareNodesData } from '../../store/reducers/nodes/utils';
|
3
3
|
import { prepareSortValue } from '../../utils/filters';
|
4
|
-
import {
|
4
|
+
import { getProblemParamValue, getUptimeParamValue } from '../../utils/nodes';
|
5
5
|
import { getRequiredDataFields } from '../../utils/tableUtils/getRequiredDataFields';
|
6
6
|
export const getNodes = async (params) => {
|
7
7
|
const { type = 'any', storage = false, tablets = true, limit, offset, sortParams, filters, columnsIds, } = params;
|
8
8
|
const { sortOrder, columnId } = sortParams !== null && sortParams !== void 0 ? sortParams : {};
|
9
9
|
const { path, database, searchValue, problemFilter, uptimeFilter, filterGroup, filterGroupBy } = filters !== null && filters !== void 0 ? filters : {};
|
10
|
-
const
|
11
|
-
|
12
|
-
: undefined;
|
10
|
+
const sortField = getNodesColumnSortField(columnId);
|
11
|
+
const sort = sortField ? prepareSortValue(sortField, sortOrder) : undefined;
|
13
12
|
const dataFieldsRequired = getRequiredDataFields(columnsIds, NODES_COLUMNS_TO_DATA_FIELDS);
|
14
13
|
const response = await window.api.getNodes({
|
15
14
|
type,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getNodes.js","sourceRoot":"","sources":["../../../src/containers/Nodes/getNodes.ts"],"names":[],"mappings":"AACA,OAAO,
|
1
|
+
{"version":3,"file":"getNodes.js","sourceRoot":"","sources":["../../../src/containers/Nodes/getNodes.ts"],"names":[],"mappings":"AACA,OAAO,EACH,4BAA4B,EAC5B,uBAAuB,GAC1B,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAC,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AAElE,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAC,qBAAqB,EAAC,MAAM,8CAA8C,CAAC;AAEnF,MAAM,CAAC,MAAM,QAAQ,GAIjB,KAAK,EAAE,MAAM,EAAE,EAAE;IACjB,MAAM,EACF,IAAI,GAAG,KAAK,EACZ,OAAO,GAAG,KAAK,EACf,OAAO,GAAG,IAAI,EACd,KAAK,EACL,MAAM,EACN,UAAU,EACV,OAAO,EACP,UAAU,GACb,GAAG,MAAM,CAAC;IAEX,MAAM,EAAC,SAAS,EAAE,QAAQ,EAAC,GAAG,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,EAAE,CAAC;IAC/C,MAAM,EAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAC,GACxF,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC;IAElB,MAAM,SAAS,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IACpD,MAAM,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC,gBAAgB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAE5E,MAAM,kBAAkB,GAAG,qBAAqB,CAAC,UAAU,EAAE,4BAA4B,CAAC,CAAC;IAE3F,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;QACvC,IAAI;QACJ,OAAO;QACP,OAAO;QACP,KAAK;QACL,MAAM;QACN,IAAI;QACJ,IAAI;QACJ,QAAQ;QACR,MAAM,EAAE,WAAW;QACnB,aAAa,EAAE,oBAAoB,CAAC,aAAa,CAAC;QAClD,MAAM,EAAE,mBAAmB,CAAC,YAAY,CAAC;QACzC,YAAY,EAAE,WAAW;QACzB,eAAe,EAAE,aAAa;QAC9B,cAAc,EAAE,kBAAkB;KACrC,CAAC,CAAC;IACH,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAEpD,OAAO;QACH,IAAI,EAAE,gBAAgB,CAAC,KAAK,IAAI,EAAE;QAClC,KAAK,EAAE,gBAAgB,CAAC,UAAU,IAAI,CAAC;QACvC,KAAK,EAAE,gBAAgB,CAAC,UAAU,IAAI,CAAC;KAC1C,CAAC;AACN,CAAC,CAAC"}
|
@@ -13,13 +13,13 @@ import { valueIsDefined } from '../../../../utils';
|
|
13
13
|
import { cn } from '../../../../utils/cn';
|
14
14
|
import { EMPTY_DATA_PLACEHOLDER } from '../../../../utils/constants';
|
15
15
|
import { formatNumber } from '../../../../utils/dataFormatters/dataFormatters';
|
16
|
-
import { getSpaceUsageSeverity
|
16
|
+
import { getSpaceUsageSeverity } from '../../../../utils/storage';
|
17
17
|
import { formatToMs } from '../../../../utils/timeParsers';
|
18
18
|
import { bytesToGB, bytesToSpeed } from '../../../../utils/utils';
|
19
19
|
import { Disks } from '../../Disks/Disks';
|
20
20
|
import { getDegradedSeverity, isVdiskActive } from '../../utils';
|
21
21
|
import i18n from '../i18n';
|
22
|
-
import { STORAGE_GROUPS_COLUMNS_IDS, STORAGE_GROUPS_COLUMNS_TITLES } from './constants';
|
22
|
+
import { STORAGE_GROUPS_COLUMNS_IDS, STORAGE_GROUPS_COLUMNS_TITLES, isSortableStorageGroupsColumn, } from './constants';
|
23
23
|
import './StorageGroupsColumns.scss';
|
24
24
|
const b = cn('ydb-storage-groups-columns');
|
25
25
|
const poolNameColumn = {
|
@@ -216,7 +216,7 @@ export const getStorageGroupsColumns = (data) => {
|
|
216
216
|
];
|
217
217
|
return columns.map((column) => ({
|
218
218
|
...column,
|
219
|
-
sortable:
|
219
|
+
sortable: isSortableStorageGroupsColumn(column.name),
|
220
220
|
}));
|
221
221
|
};
|
222
222
|
//# sourceMappingURL=columns.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAExE,OAAO,EAAC,eAAe,EAAC,MAAM,wDAAwD,CAAC;AACvF,OAAO,EAAC,YAAY,EAAC,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAC,UAAU,EAAC,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAC,UAAU,EAAC,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAC,oBAAoB,EAAC,MAAM,mDAAmD,CAAC;AACvF,OAAO,EAAC,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,sBAAsB,EAAC,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAC,YAAY,EAAC,MAAM,iDAAiD,CAAC;AAC7E,OAAO,EAAC,qBAAqB,
|
1
|
+
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAExE,OAAO,EAAC,eAAe,EAAC,MAAM,wDAAwD,CAAC;AACvF,OAAO,EAAC,YAAY,EAAC,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAC,UAAU,EAAC,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAC,UAAU,EAAC,MAAM,8CAA8C,CAAC;AACxE,OAAO,EAAC,oBAAoB,EAAC,MAAM,mDAAmD,CAAC;AACvF,OAAO,EAAC,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,sBAAsB,EAAC,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAC,YAAY,EAAC,MAAM,iDAAiD,CAAC;AAC7E,OAAO,EAAC,qBAAqB,EAAC,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAC,UAAU,EAAC,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAC,SAAS,EAAE,YAAY,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAC,mBAAmB,EAAE,aAAa,EAAC,MAAM,aAAa,CAAC;AAC/D,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,EACH,0BAA0B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EAAE,SAAS,CAAC,MAAM;IACvB,KAAK,EAAE,GAAG;IACV,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,KAAK;CAClB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAyB,GAAG,EAAE;IACjE,MAAM,OAAO,GAAG;QACZ,aAAa;QACb,UAAU;QACV,aAAa;QACb,WAAW;QACX,UAAU;QACV,WAAW;KACd,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QAC1B,OAAO;YACH,GAAG,MAAM;YACT,QAAQ,EAAE,KAAK;SAClB,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAyB,CAAC,IAAI,EAAE,EAAE;IAClE,MAAM,OAAO,GAAG;QACZ,aAAa;QACb,cAAc;QACd,UAAU;QACV,aAAa;QACb,cAAc;QACd,WAAW;QACX,oBAAoB;QACpB,UAAU;QACV,WAAW;QACX,mBAAmB;QACnB,UAAU;QACV,WAAW;QACX,aAAa;QACb,qBAAqB;QACrB,eAAe,CAAC,IAAI,CAAC;QACrB,cAAc,CAAC,IAAI,CAAC;KACvB,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC5B,GAAG,MAAM;QACT,QAAQ,EAAE,6BAA6B,CAAC,MAAM,CAAC,IAAI,CAAC;KACvD,CAAC,CAAC,CAAC;AACR,CAAC,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { SelectOption } from '@gravity-ui/uikit';
|
2
2
|
import { z } from 'zod';
|
3
|
-
import type { GroupsGroupByField, GroupsRequiredField } from '../../../../types/api/storage';
|
3
|
+
import type { GroupsGroupByField, GroupsRequiredField, StorageV2SortValue } from '../../../../types/api/storage';
|
4
4
|
import type { ValueOf } from '../../../../types/common';
|
5
5
|
export declare const STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY = "storageGroupsColumnsWidth";
|
6
6
|
export declare const STORAGE_GROUPS_SELECTED_COLUMNS_LS_KEY = "storageGroupsSelectedColumns";
|
@@ -8,7 +8,6 @@ export declare const STORAGE_GROUPS_COLUMNS_IDS: {
|
|
8
8
|
readonly GroupId: "GroupId";
|
9
9
|
readonly PoolName: "PoolName";
|
10
10
|
readonly MediaType: "MediaType";
|
11
|
-
readonly Encryption: "Encryption";
|
12
11
|
readonly Erasure: "Erasure";
|
13
12
|
readonly Used: "Used";
|
14
13
|
readonly Limit: "Limit";
|
@@ -21,9 +20,7 @@ export declare const STORAGE_GROUPS_COLUMNS_IDS: {
|
|
21
20
|
readonly AllocationUnits: "AllocationUnits";
|
22
21
|
readonly VDisks: "VDisks";
|
23
22
|
readonly VDisksPDisks: "VDisksPDisks";
|
24
|
-
readonly MissingDisks: "MissingDisks";
|
25
23
|
readonly Degraded: "Degraded";
|
26
|
-
readonly State: "State";
|
27
24
|
};
|
28
25
|
export type StorageGroupsColumnId = ValueOf<typeof STORAGE_GROUPS_COLUMNS_IDS>;
|
29
26
|
export declare const DEFAULT_STORAGE_GROUPS_COLUMNS: StorageGroupsColumnId[];
|
@@ -31,7 +28,6 @@ export declare const REQUIRED_STORAGE_GROUPS_COLUMNS: StorageGroupsColumnId[];
|
|
31
28
|
export declare const STORAGE_GROUPS_COLUMNS_TITLES: {
|
32
29
|
readonly PoolName: string;
|
33
30
|
readonly MediaType: string;
|
34
|
-
readonly Encryption: string;
|
35
31
|
readonly Erasure: string;
|
36
32
|
readonly GroupId: string;
|
37
33
|
readonly Used: string;
|
@@ -46,9 +42,9 @@ export declare const STORAGE_GROUPS_COLUMNS_TITLES: {
|
|
46
42
|
readonly VDisks: string;
|
47
43
|
readonly VDisksPDisks: string;
|
48
44
|
readonly Degraded: string;
|
49
|
-
readonly MissingDisks: string;
|
50
|
-
readonly State: string;
|
51
45
|
};
|
52
46
|
export declare const STORAGE_GROUPS_GROUP_BY_OPTIONS: SelectOption[];
|
53
47
|
export declare const storageGroupsGroupByParamSchema: z.ZodCatch<z.ZodType<GroupsGroupByField | undefined, z.ZodTypeDef, GroupsGroupByField | undefined>>;
|
54
48
|
export declare const GROUPS_COLUMNS_TO_DATA_FIELDS: Record<StorageGroupsColumnId, GroupsRequiredField[]>;
|
49
|
+
export declare function getStorageGroupsColumnSortField(columnId?: string): StorageV2SortValue | undefined;
|
50
|
+
export declare function isSortableStorageGroupsColumn(columnId: string): boolean;
|