ydb-embedded-ui 6.23.1 → 6.25.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/CellWithPopover/CellWithPopover.js +2 -1
- package/dist/components/CellWithPopover/CellWithPopover.js.map +1 -1
- package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +6 -2
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.js +8 -1
- package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +3 -2
- package/dist/components/PaginatedTable/PaginatedTable.js +15 -21
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.d.ts +1 -2
- package/dist/components/PaginatedTable/TableChunk.js +5 -19
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/useScrollBasedChunks.d.ts +9 -0
- package/dist/components/PaginatedTable/useScrollBasedChunks.js +35 -0
- package/dist/components/PaginatedTable/useScrollBasedChunks.js.map +1 -0
- package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
- package/dist/components/TabletsStatistic/TabletsStatistic.js +2 -2
- package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
- package/dist/components/VDisk/VDisk.js +12 -26
- package/dist/components/VDisk/VDisk.js.map +1 -1
- package/dist/components/VDisk/VDisk.scss +2 -0
- package/dist/components/VDisk/VDiskWithDonorsStack.js +2 -2
- package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
- package/dist/components/VDisk/utils.d.ts +2 -0
- package/dist/components/VDisk/utils.js +23 -0
- package/dist/components/VDisk/utils.js.map +1 -0
- package/dist/components/VDiskInfo/VDiskInfo.js +2 -2
- package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.d.ts +2 -3
- package/dist/components/VDiskPopup/VDiskPopup.js +29 -3
- package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
- package/dist/components/nodesColumns/columns.d.ts +55 -0
- package/dist/components/nodesColumns/columns.js +187 -0
- package/dist/components/nodesColumns/columns.js.map +1 -0
- package/dist/components/nodesColumns/constants.d.ts +39 -0
- package/dist/components/nodesColumns/constants.js +73 -0
- package/dist/components/nodesColumns/constants.js.map +1 -0
- package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/en.json +4 -3
- package/dist/components/nodesColumns/i18n/index.d.ts +2 -0
- package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/index.js +1 -1
- package/dist/components/nodesColumns/i18n/index.js.map +1 -0
- package/dist/components/nodesColumns/types.d.ts +8 -0
- package/dist/components/nodesColumns/types.js.map +1 -0
- package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js +8 -4
- package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js.map +1 -1
- package/dist/containers/Authentication/Authentication.js +12 -10
- package/dist/containers/Authentication/Authentication.js.map +1 -1
- package/dist/containers/Cluster/Cluster.js +3 -1
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/utils.d.ts +4 -0
- package/dist/containers/Cluster/utils.js +6 -1
- package/dist/containers/Cluster/utils.js.map +1 -1
- package/dist/containers/Node/Node.js +1 -1
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Nodes/Nodes.js +1 -1
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/NodesWrapper.d.ts +2 -2
- package/dist/containers/Nodes/NodesWrapper.js +2 -2
- package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes.d.ts +3 -2
- package/dist/containers/Nodes/PaginatedNodes.js +3 -3
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/columns/columns.d.ts +2 -7
- package/dist/containers/Nodes/columns/columns.js +13 -187
- package/dist/containers/Nodes/columns/columns.js.map +1 -1
- package/dist/containers/Nodes/columns/constants.d.ts +1 -38
- package/dist/containers/Nodes/columns/constants.js +0 -68
- package/dist/containers/Nodes/columns/constants.js.map +1 -1
- package/dist/containers/Nodes/columns/hooks.d.ts +3 -3
- package/dist/containers/Nodes/columns/hooks.js +2 -1
- package/dist/containers/Nodes/columns/hooks.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +2 -2
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/Storage/Disks/Disks.d.ts +2 -2
- package/dist/containers/Storage/Disks/Disks.js +5 -6
- package/dist/containers/Storage/Disks/Disks.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.d.ts +2 -2
- package/dist/containers/Storage/PDisk/PDisk.js +13 -11
- package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorage.d.ts +4 -1
- package/dist/containers/Storage/PaginatedStorage.js +3 -2
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageGroups.js +7 -6
- package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageNodes.js +9 -8
- package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -1
- package/dist/containers/Storage/Storage.d.ts +3 -1
- package/dist/containers/Storage/Storage.js +3 -3
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageControls/StorageControls.js +2 -2
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +3 -2
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js +2 -2
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/StorageGroupsColumns.scss +10 -1
- package/dist/containers/Storage/StorageGroups/columns/columns.js +21 -16
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/constants.js +1 -1
- package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -2
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +5 -5
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +1 -1
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +3 -2
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +3 -2
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js +2 -2
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +2 -38
- package/dist/containers/Storage/StorageNodes/columns/columns.js +34 -71
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +20 -4
- package/dist/containers/Storage/StorageNodes/columns/constants.js +4 -32
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +2 -39
- package/dist/containers/Storage/StorageNodes/columns/hooks.js +4 -4
- package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +0 -8
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/columns/types.d.ts +5 -5
- package/dist/containers/Storage/StorageWrapper.d.ts +6 -3
- package/dist/containers/Storage/StorageWrapper.js +10 -3
- package/dist/containers/Storage/StorageWrapper.js.map +1 -1
- package/dist/containers/Storage/types.d.ts +6 -0
- package/dist/containers/Storage/types.js +2 -0
- package/dist/containers/Storage/types.js.map +1 -0
- package/dist/containers/Storage/utils/index.d.ts +4 -6
- package/dist/containers/Storage/utils/index.js +35 -9
- package/dist/containers/Storage/utils/index.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.js +2 -2
- package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +2 -9
- package/dist/containers/Tablets/Tablets.js +2 -123
- package/dist/containers/Tablets/Tablets.js.map +1 -1
- package/dist/containers/Tablets/TabletsTable.d.ts +10 -0
- package/dist/containers/Tablets/TabletsTable.js +129 -0
- package/dist/containers/Tablets/TabletsTable.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -4
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +4 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +18 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +22 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +23 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -6
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +4 -2
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +5 -7
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/components/SimplifiedPlan/SimplifiedPlan.scss +1 -1
- package/dist/containers/Tenant/Query/Preview/Preview.js +3 -2
- package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +1 -4
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +4 -4
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenants/Tenants.js +10 -2
- package/dist/containers/Tenants/Tenants.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +0 -2
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +0 -1
- package/dist/containers/UserSettings/settings.js +2 -7
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.js +3 -4
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/services/api.d.ts +3 -4
- package/dist/services/api.js +1 -3
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +1 -2
- package/dist/services/settings.js +1 -2
- package/dist/services/settings.js.map +1 -1
- package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js +62 -40
- package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.js +0 -1
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/cluster/utils.d.ts +1 -1
- package/dist/store/reducers/cluster/utils.js +2 -1
- package/dist/store/reducers/cluster/utils.js.map +1 -1
- package/dist/store/reducers/executeQuery.d.ts +0 -2
- package/dist/store/reducers/executeQuery.js +1 -2
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js +4 -4
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
- package/dist/store/reducers/nodes/types.d.ts +2 -7
- package/dist/store/reducers/nodes/utils.js +0 -6
- package/dist/store/reducers/nodes/utils.js.map +1 -1
- package/dist/store/reducers/preview.js +1 -1
- package/dist/store/reducers/preview.js.map +1 -1
- package/dist/store/reducers/shardsWorkload/shardsWorkload.js +0 -1
- package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
- package/dist/store/reducers/storage/types.d.ts +6 -7
- package/dist/store/reducers/storage/utils.js +23 -9
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +0 -1
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +0 -1
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
- package/dist/store/reducers/tenants/types.d.ts +1 -0
- package/dist/store/reducers/tenants/utils.js +4 -2
- package/dist/store/reducers/tenants/utils.js.map +1 -1
- package/dist/store/reducers/viewSchema/viewSchema.js +2 -2
- package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
- package/dist/types/additionalProps.d.ts +1 -1
- package/dist/types/api/cluster.d.ts +2 -0
- package/dist/types/api/cluster.js +3 -1
- package/dist/types/api/cluster.js.map +1 -1
- package/dist/types/api/nodes.d.ts +3 -0
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/api/query.d.ts +16 -30
- package/dist/types/api/storage.d.ts +2 -2
- package/dist/types/store/query.d.ts +0 -1
- package/dist/utils/constants.d.ts +0 -1
- package/dist/utils/constants.js +0 -2
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js +1 -2
- package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js.map +1 -1
- package/dist/utils/disks/calculateVDiskSeverity.js +2 -3
- package/dist/utils/disks/calculateVDiskSeverity.js.map +1 -1
- package/dist/utils/disks/prepareDisks.js +3 -0
- package/dist/utils/disks/prepareDisks.js.map +1 -1
- package/dist/utils/disks/types.d.ts +1 -0
- package/dist/utils/nodes.d.ts +4 -2
- package/dist/utils/nodes.js +10 -1
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/query.d.ts +5 -5
- package/dist/utils/query.js +7 -22
- package/dist/utils/query.js.map +1 -1
- package/dist/utils/query.test.js +221 -56
- package/dist/utils/query.test.js.map +1 -1
- package/dist/utils/storage.d.ts +1 -0
- package/dist/utils/storage.js +3 -0
- package/dist/utils/storage.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/PaginatedTable/useIntersectionObserver.d.ts +0 -9
- package/dist/components/PaginatedTable/useIntersectionObserver.js +0 -28
- package/dist/components/PaginatedTable/useIntersectionObserver.js.map +0 -1
- package/dist/containers/Nodes/columns/i18n/index.d.ts +0 -2
- package/dist/containers/Nodes/columns/i18n/index.js.map +0 -1
- package/dist/containers/Nodes/columns/types.d.ts +0 -9
- package/dist/containers/Nodes/columns/types.js.map +0 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +0 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +0 -7
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +0 -1
- /package/dist/{containers/Nodes/columns → components/nodesColumns}/types.js +0 -0
@@ -58,6 +58,7 @@ function fillDateRangeFor(value) {
|
|
58
58
|
return value;
|
59
59
|
}
|
60
60
|
export const TopShards = ({ tenantName, path, type }) => {
|
61
|
+
var _a, _b;
|
61
62
|
const dispatch = useTypedDispatch();
|
62
63
|
const location = useLocation();
|
63
64
|
const [autoRefreshInterval] = useAutoRefreshInterval();
|
@@ -82,7 +83,7 @@ export const TopShards = ({ tenantName, path, type }) => {
|
|
82
83
|
filters,
|
83
84
|
}, { pollingInterval: autoRefreshInterval });
|
84
85
|
const loading = isFetching && result === undefined;
|
85
|
-
const
|
86
|
+
const data = ((_b = (_a = result === null || result === void 0 ? void 0 : result.resultSets) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.result) || [];
|
86
87
|
const onSort = (newSortOrder) => {
|
87
88
|
// omit information about sort order to disable ASC order, only DESC makes sense for top shards
|
88
89
|
// use a string (and not the DataTable default format) to prevent reference change,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TopShards.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TopShards/TopShards.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAg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c,EACxB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,0BAA0B,CAAC,SAAS,CAAC,GAClD,CACL,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,uBAAuB,eACpB,KAAC,uBAAuB,CAAC,QAAQ,cAAE,cAAc,EAAE,GAAoC,EAEtF,OAAO,CAAC,IAAI,KAAK,mBAAmB,CAAC,OAAO,IAAI,CAC7C,cAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,YAAG,IAAI,CAAC,aAAa,CAAC,GAAO,CACzD,EAEA,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,uBAAuB,CAAC,KAAK,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,EACxE,KAAC,uBAAuB,CAAC,KAAK,IAAC,OAAO,EAAE,OAAO,YAC1C,aAAa,EAAE,GACY,IACV,CAC7B,CAAC;AACN,CAAC,CAAC"}
|
@@ -43,9 +43,8 @@ export function ExecuteResult({ result, isResultsCollapsed, theme, tenantName, o
|
|
43
43
|
const dispatch = useTypedDispatch();
|
44
44
|
const { error, isLoading, queryId, data } = result;
|
45
45
|
const stats = data === null || data === void 0 ? void 0 : data.stats;
|
46
|
-
const resultsSetsCount = (_a = data === null || data === void 0 ? void 0 : data.resultSets) === null || _a === void 0 ? void 0 : _a.length;
|
47
|
-
const
|
48
|
-
const currentResult = isMulti ? (_b = data === null || data === void 0 ? void 0 : data.resultSets) === null || _b === void 0 ? void 0 : _b[selectedResultSet] : data;
|
46
|
+
const resultsSetsCount = ((_a = data === null || data === void 0 ? void 0 : data.resultSets) === null || _a === void 0 ? void 0 : _a.length) || 0;
|
47
|
+
const currentResult = (_b = data === null || data === void 0 ? void 0 : data.resultSets) === null || _b === void 0 ? void 0 : _b[selectedResultSet];
|
49
48
|
const { plan, simplifiedPlan } = React.useMemo(() => getPlan(data), [data]);
|
50
49
|
const resultOptions = [
|
51
50
|
{ value: resultOptionsIds.result, content: i18n('action.result') },
|
@@ -70,16 +69,15 @@ export function ExecuteResult({ result, isResultsCollapsed, theme, tenantName, o
|
|
70
69
|
setActiveSection(value);
|
71
70
|
};
|
72
71
|
const renderResult = () => {
|
73
|
-
|
74
|
-
return (_jsxs("div", { className: b('result-wrapper'), children: [isMulti && resultsSetsCount > 1 && (_jsx("div", { children: _jsx(Tabs, { className: b('result-tabs'), size: "l", items: getArray(resultsSetsCount).map((item) => {
|
72
|
+
return (_jsxs("div", { className: b('result-wrapper'), children: [resultsSetsCount > 1 && (_jsx("div", { children: _jsx(Tabs, { className: b('result-tabs'), size: "l", items: getArray(resultsSetsCount).map((item) => {
|
75
73
|
var _a, _b;
|
76
74
|
return ({
|
77
75
|
id: String(item),
|
78
76
|
title: `Result #${item + 1}${((_b = (_a = data === null || data === void 0 ? void 0 : data.resultSets) === null || _a === void 0 ? void 0 : _a[item]) === null || _b === void 0 ? void 0 : _b.truncated) ? ' (T)' : ''}`,
|
79
77
|
});
|
80
|
-
}), activeTab: String(selectedResultSet), onSelectTab: (tabId) => setSelectedResultSet(Number(tabId)) }) })), _jsxs("div", { className: b('result'), children: [_jsxs("div", { className: b('result-head'), children: [_jsx(Text, { variant: "subheader-3", children: (currentResult === null || currentResult === void 0 ? void 0 : currentResult.truncated)
|
78
|
+
}), activeTab: String(selectedResultSet), onSelectTab: (tabId) => setSelectedResultSet(Number(tabId)) }) })), currentResult && (_jsxs("div", { className: b('result'), children: [_jsxs("div", { className: b('result-head'), children: [_jsx(Text, { variant: "subheader-3", children: (currentResult === null || currentResult === void 0 ? void 0 : currentResult.truncated)
|
81
79
|
? i18n('title.truncated')
|
82
|
-
: i18n('title.result') }), _jsx(Text, { color: "secondary", variant: "body-2", className: b('row-count'), children: `(${
|
80
|
+
: i18n('title.result') }), currentResult.result && (_jsx(Text, { color: "secondary", variant: "body-2", className: b('row-count'), children: `(${currentResult.result.length})` }))] }), _jsx(QueryResultTable, { data: currentResult.result, columns: currentResult.columns })] }))] }));
|
83
81
|
};
|
84
82
|
const getStatsToCopy = () => {
|
85
83
|
switch (activeSection) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ExecuteResult.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/ExecuteResult/ExecuteResult.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,WAAW,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAC1D,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAE5C,OAAO,EAAC,eAAe,EAAC,MAAM,wCAAwC,CAAC;AACvE,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,WAAW,MAAM,gDAAgD,CAAC;AACzE,OAAO,sBAAsB,MAAM,sEAAsE,CAAC;AAC1G,OAAO,UAAU,MAAM,8CAA8C,CAAC;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAC,aAAa,EAAC,MAAM,oDAAoD,CAAC;AACjF,OAAO,EAAC,oBAAoB,EAAC,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAC,gBAAgB,EAAC,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AAIxE,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,kBAAkB,EAAC,MAAM,iDAAiD,CAAC;AACnF,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAC,2BAA2B,EAAC,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAC,iBAAiB,EAAC,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAC,cAAc,EAAC,MAAM,2DAA2D,CAAC;AACzF,OAAO,EAAC,YAAY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AAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,GAAI,IAClD,CACpB,CAAC,CAAC,CAAC,IAAI,EACP,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAC,CAAC,CAAC,KAAC,WAAW,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,IAC5D,EACN,eAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,aAC7B,qBAAqB,EAAE,EACxB,KAAC,sBAAsB,KAAG,EAC1B,KAAC,2BAA2B,IACxB,UAAU,EAAE,iBAAiB,EAC7B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,kBAAkB,EAC/B,gBAAgB,EAAC,QAAQ,GAC3B,IACA,IACJ,EACL,SAAS,IAAI,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAC,mBAAmB,KAAG,EAC3E,KAAC,aAAa,IAAC,OAAO,EAAE,SAAS,YAC7B,KAAC,UAAU,cAAE,mBAAmB,EAAE,GAAc,GACpC,IACH,CACpB,CAAC;AACN,CAAC"}
|
@@ -14,17 +14,18 @@ import i18n from '../i18n';
|
|
14
14
|
import './Preview.scss';
|
15
15
|
const b = cn('kv-preview');
|
16
16
|
export const Preview = ({ database, path, type }) => {
|
17
|
+
var _a, _b;
|
17
18
|
const dispatch = useTypedDispatch();
|
18
19
|
const isPreviewAvailable = isTableType(type);
|
19
20
|
const [autoRefreshInterval] = useAutoRefreshInterval();
|
20
|
-
const query =
|
21
|
+
const query = `select * from \`${path}\` limit 32`;
|
21
22
|
const { currentData, isFetching, error } = previewApi.useSendQueryQuery({ database, query, action: isExternalTableType(type) ? 'execute-query' : 'execute-scan' }, {
|
22
23
|
pollingInterval: autoRefreshInterval,
|
23
24
|
skip: !isPreviewAvailable,
|
24
25
|
refetchOnMountOrArgChange: true,
|
25
26
|
});
|
26
27
|
const loading = isFetching && currentData === undefined;
|
27
|
-
const data = currentData !== null &&
|
28
|
+
const data = (_b = (_a = currentData === null || currentData === void 0 ? void 0 : currentData.resultSets) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : {};
|
28
29
|
const handleClosePreview = () => {
|
29
30
|
dispatch(setShowPreview(false));
|
30
31
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Preview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/Preview/Preview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEvD,OAAO,sBAAsB,MAAM,sEAAsE,CAAC;AAC1G,OAAO,UAAU,MAAM,8CAA8C,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAC,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAC,UAAU,EAAC,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAC,cAAc,EAAC,MAAM,0CAA0C,CAAC;AAExE,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAC,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAC,mBAAmB,EAAE,WAAW,EAAC,MAAM,oBAAoB,CAAC;AACpE,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,gBAAgB,CAAC;AAExB,MAAM,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,CAAC;AAQ3B,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,EAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAe,EAAE,EAAE
|
1
|
+
{"version":3,"file":"Preview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/Preview/Preview.tsx"],"names":[],"mappings":";AAAA,OAA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,OAAO,GAAG,cAAK,SAAS,EAAE,CAAC,CAAC,mBAAmB,CAAC,YAAG,IAAI,CAAC,uBAAuB,CAAC,GAAO,CAAC;IAC5F,CAAC;SAAM,IAAI,KAAK,EAAE,CAAC;QACf,OAAO,GAAG,CACN,cAAK,SAAS,EAAE,CAAC,CAAC,mBAAmB,EAAE,OAAO,CAAC,YAAG,uBAAuB,CAAC,KAAK,CAAC,GAAO,CAC1F,CAAC;IACN,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,CACvB,cAAK,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,YACvB,KAAC,gBAAgB,IAAC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,GAAI,GAC5D,CACT,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACd,YAAY,EAAE,EACf,KAAC,UAAU,cAAE,OAAO,GAAc,IAChC,CACT,CAAC;AACN,CAAC,CAAC"}
|
@@ -13,7 +13,7 @@ import { setQueryAction } from '../../../../store/reducers/queryActions/queryAct
|
|
13
13
|
import { setShowPreview } from '../../../../store/reducers/schema/schema';
|
14
14
|
import { ResultType } from '../../../../types/store/executeQuery';
|
15
15
|
import { cn } from '../../../../utils/cn';
|
16
|
-
import { DEFAULT_IS_QUERY_RESULT_COLLAPSED, DEFAULT_SIZE_RESULT_PANE_KEY, LAST_USED_QUERY_ACTION_KEY,
|
16
|
+
import { DEFAULT_IS_QUERY_RESULT_COLLAPSED, DEFAULT_SIZE_RESULT_PANE_KEY, LAST_USED_QUERY_ACTION_KEY, } from '../../../../utils/constants';
|
17
17
|
import { useEventHandler, useQueryExecutionSettings, useSetting } from '../../../../utils/hooks';
|
18
18
|
import { useChangedQuerySettings } from '../../../../utils/hooks/useChangedQuerySettings';
|
19
19
|
import { useLastQueryExecutionSettings } from '../../../../utils/hooks/useLastQueryExecutionSettings';
|
@@ -47,7 +47,6 @@ function QueryEditor(props) {
|
|
47
47
|
const enableTracingLevel = useTracingLevelOptionAvailable();
|
48
48
|
const [lastQueryExecutionSettings, setLastQueryExecutionSettings] = useLastQueryExecutionSettings();
|
49
49
|
const { resetBanner } = useChangedQuerySettings();
|
50
|
-
const [useMultiSchema] = useSetting(QUERY_USE_MULTI_SCHEMA_KEY);
|
51
50
|
const [lastUsedQueryAction, setLastUsedQueryAction] = useSetting(LAST_USED_QUERY_ACTION_KEY);
|
52
51
|
const [sendExecuteQuery] = executeQueryApi.useExecuteQueryMutation();
|
53
52
|
const [sendExplainQuery] = explainQueryApi.useExplainQueryMutation();
|
@@ -80,7 +79,6 @@ function QueryEditor(props) {
|
|
80
79
|
const handleSendExecuteClick = useEventHandler((text) => {
|
81
80
|
var _a;
|
82
81
|
const { input, history } = executeQuery;
|
83
|
-
const schema = useMultiSchema ? 'multi' : 'modern';
|
84
82
|
const query = text !== null && text !== void 0 ? text : input;
|
85
83
|
setLastUsedQueryAction(QUERY_ACTIONS.execute);
|
86
84
|
if (!isEqual(lastQueryExecutionSettings, querySettings)) {
|
@@ -92,7 +90,6 @@ function QueryEditor(props) {
|
|
92
90
|
query,
|
93
91
|
database: tenantName,
|
94
92
|
querySettings,
|
95
|
-
schema,
|
96
93
|
enableTracingLevel,
|
97
94
|
queryId,
|
98
95
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueryEditor/QueryEditor.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AAC/B,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,EAAE,IAAI,MAAM,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAk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C,MAAM,CAAC,QAAQ,EAAE,EAAE,cAAc,EAAE,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;IACH,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE;QACrB,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IACjC,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,aAAa,CAAC,IAAY,EAAE,WAAmB;IACpD,MAAM,eAAe,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC;IAE5D,IAAI,eAAe,EAAE,CAAC;QAClB,MAAM,CAAC,cAAc,GAAG,CAAC,CAAC,EAAE,EAAE;YAC1B,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,wCAAwC;YACxC,CAAC,CAAC,WAAW,GAAG,EAAE,CAAC;QACvB,CAAC,CAAC;IACN,CAAC;SAAM,CAAC;QACJ,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IACjC,CAAC;AACL,CAAC"}
|
1
|
+
{"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueryEditor/QueryEditor.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AAC/B,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,EAAE,IAAI,MAAM,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,SAAS,MAAM,kCAAkC,CAAC;AAEzD,OAAO,EAAC,8BAA8B,EAAC,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EACH,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,aAAa,GAChB,MAAM,yCAAyC,CAAC;AACjD,O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C,CAAC,EAAE,EAAE;YAC1B,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,wCAAwC;YACxC,CAAC,CAAC,WAAW,GAAG,EAAE,CAAC;QACvB,CAAC,CAAC;IACN,CAAC;SAAM,CAAC;QACJ,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IACjC,CAAC;AACL,CAAC"}
|
@@ -75,7 +75,7 @@ export declare const TRACING_LEVEL_SELECT_OPTIONS: ({
|
|
75
75
|
value: "off";
|
76
76
|
content: string;
|
77
77
|
text: string;
|
78
|
-
isDefault
|
78
|
+
isDefault: boolean;
|
79
79
|
} | {
|
80
80
|
value: "toplevel";
|
81
81
|
content: string;
|
@@ -90,7 +90,7 @@ export declare const TRACING_LEVEL_SELECT_OPTIONS: ({
|
|
90
90
|
value: "detailed";
|
91
91
|
content: string;
|
92
92
|
text: string;
|
93
|
-
isDefault
|
93
|
+
isDefault?: undefined;
|
94
94
|
} | {
|
95
95
|
value: "diagnostic";
|
96
96
|
content: string;
|
@@ -191,7 +191,7 @@ export declare const QUERY_SETTINGS_FIELD_SETTINGS: {
|
|
191
191
|
value: "off";
|
192
192
|
content: string;
|
193
193
|
text: string;
|
194
|
-
isDefault
|
194
|
+
isDefault: boolean;
|
195
195
|
} | {
|
196
196
|
value: "toplevel";
|
197
197
|
content: string;
|
@@ -206,7 +206,7 @@ export declare const QUERY_SETTINGS_FIELD_SETTINGS: {
|
|
206
206
|
value: "detailed";
|
207
207
|
content: string;
|
208
208
|
text: string;
|
209
|
-
isDefault
|
209
|
+
isDefault?: undefined;
|
210
210
|
} | {
|
211
211
|
value: "diagnostic";
|
212
212
|
content: string;
|
@@ -85,6 +85,7 @@ export const TRACING_LEVEL_SELECT_OPTIONS = [
|
|
85
85
|
value: TRACING_LEVELS.off,
|
86
86
|
content: TRACING_LEVELS_TITLES[TRACING_LEVELS.off],
|
87
87
|
text: i18n('tracing-level-description.off'),
|
88
|
+
isDefault: true,
|
88
89
|
},
|
89
90
|
{
|
90
91
|
value: TRACING_LEVELS.toplevel,
|
@@ -100,7 +101,6 @@ export const TRACING_LEVEL_SELECT_OPTIONS = [
|
|
100
101
|
value: TRACING_LEVELS.detailed,
|
101
102
|
content: TRACING_LEVELS_TITLES[TRACING_LEVELS.detailed],
|
102
103
|
text: i18n('tracing-level-description.detailed'),
|
103
|
-
isDefault: true,
|
104
104
|
},
|
105
105
|
{
|
106
106
|
value: TRACING_LEVELS.diagnostic,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,GAC3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,QAAQ,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC3C;QACI,KAAK,EAAE,iBAAiB,CAAC,QAAQ;QACjC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,QAAQ,CAAC;QAC7D,IAAI,EAAE,IAAI,CAAC,uCAAuC,CAAC;QACnD,SAAS,EAAE,IAAI;KAClB;IACD;QACI,KAAK,EAAE,iBAAiB,CAAC,YAAY;QACrC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,YAAY,CAAC;QACjE,IAAI,EAAE,IAAI,CAAC,2CAA2C,CAAC;KAC1D;IACD;QACI,KAAK,EAAE,iBAAiB,CAAC,QAAQ;QACjC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,QAAQ,CAAC;QAC7D,IAAI,EAAE,IAAI,CAAC,uCAAuC,CAAC;KACtD;IACD;QACI,KAAK,EAAE,iBAAiB,CAAC,OAAO;QAChC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAA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CAAC;QAC9C,SAAS,EAAE,IAAI;KAClB;IACD;QACI,KAAK,EAAE,gBAAgB,CAAC,KAAK;QAC7B,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,KAAK,CAAC;QACxD,IAAI,EAAE,IAAI,CAAC,mCAAmC,CAAC;KAClD;IACD;QACI,KAAK,EAAE,gBAAgB,CAAC,IAAI;QAC5B,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,IAAI,CAAC;QACvD,IAAI,EAAE,IAAI,CAAC,kCAAkC,CAAC;KACjD;IACD;QACI,KAAK,EAAE,gBAAgB,CAAC,OAAO;QAC/B,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,OAAO,CAAC;QAC1D,IAAI,EAAE,IAAI,CAAC,qCAAqC,CAAC;KACpD;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG;IACxC;QACI,KAAK,EAAE,cAAc,CAAC,GAAG;QACzB,OAAO,EAAE,qBAAqB,CAAC,cAAc,CAAC,GAAG,CAAC;QAClD,IAAI,EAAE,IAAI,CAAC,+BAA+B,CAAC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,GAC3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,QAAQ,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC3C;QACI,KAAK,EAAE,iBAAiB,CAAC,QAAQ;QACjC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,QAAQ,CAAC;QAC7D,IAAI,EAAE,IAAI,CAAC,uCAAuC,CAAC;QACnD,SAAS,EAAE,IAAI;KACl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enants = ({ additionalTenantsProps }) => {
|
|
44
44
|
const renderTable = () => {
|
45
45
|
const getTenantBackend = (tenant) => {
|
46
46
|
var _a, _b;
|
47
|
-
|
48
|
-
|
47
|
+
if (typeof (additionalTenantsProps === null || additionalTenantsProps === void 0 ? void 0 : additionalTenantsProps.prepareTenantBackend) !== 'function') {
|
48
|
+
return undefined;
|
49
|
+
}
|
50
|
+
let backend = (_a = tenant.MonitoringEndpoint) !== null && _a !== void 0 ? _a : tenant.backend;
|
51
|
+
const nodeIds = (_b = tenant.NodeIds) !== null && _b !== void 0 ? _b : tenant.sharedNodeIds;
|
52
|
+
if (!backend && nodeIds && nodeIds.length > 0) {
|
53
|
+
const index = Math.floor(Math.random() * nodeIds.length);
|
54
|
+
backend = { NodeId: nodeIds[index] };
|
55
|
+
}
|
56
|
+
return additionalTenantsProps.prepareTenantBackend(backend);
|
49
57
|
};
|
50
58
|
const columns = [
|
51
59
|
{
|
@@ -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,O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AAE,EAAC,EAAE,EAAE,CAC/B,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;gBAC/D,YAAY,EAAE,SAAS,CAAC,UAAU;gBAClC,KAAK,EAAE,SAAS,CAAC,IAAI;gBACrB,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,KAAC,UAAU,IAAC,KAAK,EAAE,GAAG,CAAC,SAAS,GAAI;aAC1D;SACJ,CAAC;QAEF,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,IAAI,aAAa,KAAK,mBAAmB,CAAC,GAAG,EAAE,CAAC;YAC5E,OAAO,KAAC,YAAY,IAAC,IAAI,EAAC,UAAU,EAAC,KAAK,EAAC,KAAK,GAAG,CAAC;QACxD,CAAC;QAED,OAAO,CACH,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,8BAA8B,EACjD,IAAI,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"}
|
@@ -23,8 +23,6 @@
|
|
23
23
|
"settings.usePaginatedTables.title": "Use paginated tables",
|
24
24
|
"settings.usePaginatedTables.description": " Use table with data load on scroll for Nodes and Storage tabs. It will increase performance, but could work unstable",
|
25
25
|
"settings.showDomainDatabase.title": "Show domain database",
|
26
|
-
"settings.queryUseMultiSchema.title": "Allow queries with multiple result sets",
|
27
|
-
"settings.queryUseMultiSchema.description": "Use 'multi' schema for queries. It enables queries with multiple result sets. It returns nothing on versions 23-3 and older",
|
28
26
|
"settings.useClusterBalancerAsBackend.title": "Use cluster balancer as backend",
|
29
27
|
"settings.useClusterBalancerAsBackend.description": "By default random cluster node is used as backend. It causes saved links to become invalid after some time, when node is restarted. Using balancer as backend fixes it",
|
30
28
|
"settings.about.interfaceVersionInfoField.title": "Interface version"
|
@@ -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.invertedDisks.title" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.
|
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.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.useClusterBalancerAsBackend.title" | "settings.useClusterBalancerAsBackend.description" | "settings.about.interfaceVersionInfoField.title", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -18,7 +18,6 @@ export declare const binaryDataInPlainTextDisplay: SettingProps;
|
|
18
18
|
export declare const invertedDisksSetting: SettingProps;
|
19
19
|
export declare const usePaginatedTables: SettingProps;
|
20
20
|
export declare const showDomainDatabase: SettingProps;
|
21
|
-
export declare const queryUseMultiSchemaSetting: SettingProps;
|
22
21
|
export declare const useClusterBalancerAsBackendSetting: SettingProps;
|
23
22
|
export declare const enableAutocompleteSetting: SettingProps;
|
24
23
|
export declare const autocompleteOnEnterSetting: SettingProps;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { CircleInfo, Flask, PencilToSquare, StarFill } from '@gravity-ui/icons';
|
2
2
|
import { createNextState } from '@reduxjs/toolkit';
|
3
|
-
import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY,
|
3
|
+
import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_PAGINATED_TABLES_KEY, } from '../../utils/constants';
|
4
4
|
import { Lang, defaultLang } from '../../utils/i18n';
|
5
5
|
import i18n from './i18n';
|
6
6
|
import packageJson from '../../../package.json';
|
@@ -61,11 +61,6 @@ export const showDomainDatabase = {
|
|
61
61
|
settingKey: SHOW_DOMAIN_DATABASE_KEY,
|
62
62
|
title: i18n('settings.showDomainDatabase.title'),
|
63
63
|
};
|
64
|
-
export const queryUseMultiSchemaSetting = {
|
65
|
-
settingKey: QUERY_USE_MULTI_SCHEMA_KEY,
|
66
|
-
title: i18n('settings.queryUseMultiSchema.title'),
|
67
|
-
description: i18n('settings.queryUseMultiSchema.description'),
|
68
|
-
};
|
69
64
|
export const useClusterBalancerAsBackendSetting = {
|
70
65
|
settingKey: USE_CLUSTER_BALANCER_AS_BACKEND_KEY,
|
71
66
|
title: i18n('settings.useClusterBalancerAsBackend.title'),
|
@@ -99,7 +94,7 @@ export const appearanceSection = {
|
|
99
94
|
export const experimentsSection = {
|
100
95
|
id: 'experimentsSection',
|
101
96
|
title: i18n('section.experiments'),
|
102
|
-
settings: [usePaginatedTables
|
97
|
+
settings: [usePaginatedTables],
|
103
98
|
};
|
104
99
|
export const devSettingsSection = {
|
105
100
|
id: 'devSettingsSection',
|
@@ -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,
|
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,wBAAwB,EACxB,SAAS,EACT,mCAAmC,EACnC,wBAAwB,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAGnD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAiBhD,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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"}
|
@@ -18,10 +18,9 @@ import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
|
|
18
18
|
import { vDiskApi } from '../../store/reducers/vdisk/vdisk';
|
19
19
|
import { valueIsDefined } from '../../utils';
|
20
20
|
import { cn } from '../../utils/cn';
|
21
|
-
import { stringifyVdiskId } from '../../utils/dataFormatters/dataFormatters';
|
22
21
|
import { getSeverityColor, getVDiskSlotBasedId } from '../../utils/disks/helpers';
|
23
22
|
import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../utils/hooks';
|
24
|
-
import {
|
23
|
+
import { StorageWrapper } from '../Storage/StorageWrapper';
|
25
24
|
import { vDiskPageKeyset } from './i18n';
|
26
25
|
import './VDiskPage.scss';
|
27
26
|
const vDiskPageCn = cn('ydb-vdisk-page');
|
@@ -99,7 +98,7 @@ export function VDiskPage() {
|
|
99
98
|
return (_jsx(PageMetaWithAutorefresh, { className: vDiskPageCn('meta'), loading: loading, items: [hostItem, nodeIdItem, NodeType, NodeDC, pDiskIdItem, PDiskType] }));
|
100
99
|
};
|
101
100
|
const renderPageTitle = () => {
|
102
|
-
return (_jsx(EntityPageTitle, { className: vDiskPageCn('title'), entityName: vDiskPageKeyset('vdisk'), status: getSeverityColor(Severity), id:
|
101
|
+
return (_jsx(EntityPageTitle, { className: vDiskPageCn('title'), entityName: vDiskPageKeyset('vdisk'), status: getSeverityColor(Severity), id: vDiskData === null || vDiskData === void 0 ? void 0 : vDiskData.StringifiedId }));
|
103
102
|
};
|
104
103
|
const renderControls = () => {
|
105
104
|
return (_jsx("div", { className: vDiskPageCn('controls'), children: _jsxs(ButtonWithConfirmDialog, { onConfirmAction: handleEvictVDisk, onConfirmActionSuccess: handleAfterEvictVDisk, buttonDisabled: !vDiskIdParamsDefined || !isUserAllowedToMakeChanges, buttonView: "normal", dialogHeader: vDiskPageKeyset('evict-vdisk-dialog-header'), dialogText: vDiskPageKeyset('evict-vdisk-dialog-text'), 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')] }) }));
|
@@ -109,7 +108,7 @@ export function VDiskPage() {
|
|
109
108
|
};
|
110
109
|
const renderStorageInfo = () => {
|
111
110
|
if (valueIsDefined(GroupID) && valueIsDefined(nodeId)) {
|
112
|
-
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: vDiskPageCn('storage-title'), children: vDiskPageKeyset('storage') }), _jsx(
|
111
|
+
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: vDiskPageCn('storage-title'), children: vDiskPageKeyset('storage') }), _jsx(StorageWrapper, { groupId: GroupID, nodeId: nodeId, pDiskId: pDiskId !== null && pDiskId !== void 0 ? pDiskId : undefined, vDiskSlotId: vDiskSlotId !== null && vDiskSlotId !== void 0 ? vDiskSlotId : undefined })] }));
|
113
112
|
}
|
114
113
|
return null;
|
115
114
|
};
|
@@ -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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E,WAAW,CAAC,eAAe,CAAC,YAAG,eAAe,CAAC,SAAS,CAAC,GAAO,EAChF,KAAC,cAAc,IACX,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,SAAS,EAC7B,WAAW,EAAE,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,SAAS,GACvC,IACW,CACpB,CAAC;QACN,CAAC;QAED,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,OAAO,EAAE,CAAC;YACV,OAAO,KAAC,kBAAkB,IAAC,IAAI,EAAE,EAAE,GAAI,CAAC;QAC5C,CAAC;QAED,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACV,KAAK,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9C,UAAU,EAAE,EACZ,iBAAiB,EAAE,IACP,CACpB,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,aAC5B,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,cAAc,EAAE,EAChB,aAAa,EAAE,IACd,CACT,CAAC;AACN,CAAC"}
|
package/dist/services/api.d.ts
CHANGED
@@ -14,7 +14,7 @@ import type { TNetInfo } from '../types/api/netInfo';
|
|
14
14
|
import type { NodesRequestParams, TNodesInfo } from '../types/api/nodes';
|
15
15
|
import type { TEvNodesInfo } from '../types/api/nodesList';
|
16
16
|
import type { EDecommitStatus, TEvPDiskStateResponse, TPDiskInfoResponse } from '../types/api/pdisk';
|
17
|
-
import type { Actions, ErrorResponse, QueryAPIResponse,
|
17
|
+
import type { Actions, ErrorResponse, QueryAPIResponse, Stats, Timeout, TracingLevel } from '../types/api/query';
|
18
18
|
import type { JsonRenderRequestParams, JsonRenderResponse } from '../types/api/render';
|
19
19
|
import type { TEvDescribeSchemeResult } from '../types/api/schema';
|
20
20
|
import type { GroupsRequestParams, StorageGroupsResponse, StorageRequestParams, TStorageInfo } from '../types/api/storage';
|
@@ -108,11 +108,10 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
108
108
|
}, { concurrentId, signal }?: AxiosOptions): Promise<UnmergedTEvTabletStateResponse>;
|
109
109
|
getNodesList({ concurrentId, signal }?: AxiosOptions): Promise<TEvNodesInfo>;
|
110
110
|
getTenantsList({ concurrentId, signal }?: AxiosOptions): Promise<TTenants>;
|
111
|
-
sendQuery<Action extends Actions
|
111
|
+
sendQuery<Action extends Actions>(params: {
|
112
112
|
query?: string;
|
113
113
|
database?: string;
|
114
114
|
action?: Action;
|
115
|
-
schema?: Schema;
|
116
115
|
syntax?: QuerySyntax;
|
117
116
|
stats?: Stats;
|
118
117
|
tracingLevel?: TracingLevel;
|
@@ -120,7 +119,7 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
120
119
|
timeout?: Timeout;
|
121
120
|
query_id?: string;
|
122
121
|
limit_rows?: number;
|
123
|
-
}, { concurrentId, signal, withRetries }?: AxiosOptions): Promise<ErrorResponse | QueryAPIResponse<Action
|
122
|
+
}, { concurrentId, signal, withRetries }?: AxiosOptions): Promise<ErrorResponse | QueryAPIResponse<Action> | null>;
|
124
123
|
getHotKeys({ path, database, enableSampling }: {
|
125
124
|
path: string;
|
126
125
|
database: string;
|
package/dist/services/api.js
CHANGED
@@ -285,10 +285,8 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
285
285
|
* @link https://github.com/ydb-platform/ydb/pull/647
|
286
286
|
*/
|
287
287
|
const base64 = !settingsManager.readUserSettingsValue(BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, true);
|
288
|
-
// FIXME: after backend fix
|
289
|
-
const { schema, ...rest } = params;
|
290
288
|
// FIXME: base64 is passed both to params and body to work on versions before and after 24-3
|
291
|
-
return this.post(this.getPath('/viewer/json/query'), { ...
|
289
|
+
return this.post(this.getPath('/viewer/json/query'), { ...params, base64 }, { schema: 'multi', base64 }, {
|
292
290
|
concurrentId,
|
293
291
|
timeout: params.timeout,
|
294
292
|
requestConfig: {
|