ydb-embedded-ui 6.18.0 → 6.19.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/ComponentsProvider/ComponentsProvider.d.ts +2 -2
- package/dist/components/GroupInfo/GroupInfo.js +3 -3
- package/dist/components/MetricChart/reducer.d.ts +2 -2
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.scss +4 -0
- package/dist/components/PaginatedTable/TableChunk.js +5 -2
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/TableRow.js +1 -1
- package/dist/components/PaginatedTable/TableRow.js.map +1 -1
- package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js +4 -2
- package/dist/containers/AppWithClusters/ExtendedNode/ExtendedNode.js.map +1 -1
- package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +4 -3
- package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js.map +1 -1
- package/dist/containers/AppWithClusters/useClusterData.d.ts +7 -1
- package/dist/containers/AppWithClusters/useClusterData.js +8 -8
- package/dist/containers/AppWithClusters/useClusterData.js.map +1 -1
- package/dist/containers/AsideNavigation/AsideNavigation.d.ts +3 -0
- package/dist/containers/AsideNavigation/AsideNavigation.js +6 -10
- package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
- package/dist/containers/AsideNavigation/Navigation.js +4 -1
- package/dist/containers/AsideNavigation/Navigation.js.map +1 -1
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.d.ts +3 -1
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +2 -4
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js.map +1 -1
- package/dist/containers/Cluster/Cluster.js +5 -13
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/Cluster.scss +1 -0
- package/dist/containers/Header/Header.js +3 -7
- package/dist/containers/Header/Header.js.map +1 -1
- package/dist/containers/Node/Node.js +1 -5
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Node/NodePages.js +5 -4
- package/dist/containers/Node/NodePages.js.map +1 -1
- package/dist/containers/Node/NodeStructure/NodeStructure.js +9 -3
- package/dist/containers/Node/NodeStructure/NodeStructure.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +16 -7
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +2 -0
- package/dist/containers/PDiskPage/PDiskGroups/utils.js +14 -0
- package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +1 -0
- package/dist/containers/PDiskPage/PDiskPage.js +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/Storage/Storage.js +9 -9
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +7 -2
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +1 -1
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js +7 -20
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/getGroups.d.ts +3 -1
- package/dist/containers/Storage/StorageGroups/getGroups.js +27 -24
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +1 -1
- package/dist/containers/Storage/utils/index.js +3 -4
- package/dist/containers/Storage/utils/index.js.map +1 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Configs/Configs.d.ts +6 -0
- package/dist/containers/Tenant/Diagnostics/Configs/Configs.js +79 -0
- package/dist/containers/Tenant/Diagnostics/Configs/Configs.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Configs/Configs.scss +8 -0
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/en.json +11 -0
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js +5 -0
- package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -0
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +3 -0
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +5 -0
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +21 -4
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +7 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +1 -0
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +8 -3
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js.map +1 -1
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.d.ts +7 -0
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js +17 -0
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.js.map +1 -0
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.scss +9 -0
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.d.ts +5 -9
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +7 -7
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +0 -12
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +9 -24
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +0 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.d.ts +4 -12
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +7 -5
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +0 -6
- package/dist/containers/Tenant/Query/ExplainResult/i18n/en.json +1 -2
- package/dist/containers/Tenant/Query/ExplainResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/Query.js +14 -2
- package/dist/containers/Tenant/Query/Query.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +3 -2
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +18 -36
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/i18n/en.json +1 -0
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/utils/queryTemplates.js +1 -1
- package/dist/containers/Tenant/utils/queryTemplates.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.d.ts +3 -4
- package/dist/containers/VDiskPage/VDiskPage.js +33 -10
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/utils.d.ts +2 -0
- package/dist/containers/VDiskPage/utils.js +7 -0
- package/dist/containers/VDiskPage/utils.js.map +1 -0
- package/dist/lib.d.ts +1 -0
- package/dist/lib.js +1 -0
- package/dist/lib.js.map +1 -1
- package/dist/services/api.d.ts +17 -10
- package/dist/services/api.js +62 -16
- package/dist/services/api.js.map +1 -1
- package/dist/services/parsers/parseMetaCluster.d.ts +14 -0
- package/dist/services/parsers/parseMetaCluster.js +17 -31
- package/dist/services/parsers/parseMetaCluster.js.map +1 -1
- package/dist/store/configureStore.d.ts +4 -4
- package/dist/store/defaultStore.d.ts +2 -2
- package/dist/store/getUrlData.js +9 -6
- package/dist/store/getUrlData.js.map +1 -1
- package/dist/store/reducers/api.d.ts +1 -1
- package/dist/store/reducers/api.js +1 -1
- package/dist/store/reducers/api.js.map +1 -1
- package/dist/store/reducers/authentication/authentication.d.ts +4 -4
- package/dist/store/reducers/cancelQuery.d.ts +2 -2
- package/dist/store/reducers/cancelQuery.js.map +1 -1
- package/dist/store/reducers/capabilities/capabilities.d.ts +6 -6
- package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
- package/dist/store/reducers/capabilities/hooks.js +8 -1
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.d.ts +230 -2
- package/dist/store/reducers/cluster/cluster.js +36 -3
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/cluster/utils.d.ts +1 -0
- package/dist/store/reducers/cluster/utils.js +7 -0
- package/dist/store/reducers/cluster/utils.js.map +1 -1
- package/dist/store/reducers/clusters/clusters.d.ts +2 -2
- package/dist/store/reducers/describe.d.ts +2 -2
- package/dist/store/reducers/executeQuery.d.ts +8 -4
- package/dist/store/reducers/executeQuery.js +34 -1
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
- package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -3
- package/dist/store/reducers/explainQuery/explainQuery.js +23 -2
- package/dist/store/reducers/explainQuery/explainQuery.js.map +1 -1
- package/dist/store/reducers/explainQuery/types.d.ts +1 -0
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -58
- package/dist/store/reducers/heatmap.d.ts +2 -2
- package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
- package/dist/store/reducers/index.d.ts +3 -3
- package/dist/store/reducers/network/network.d.ts +2 -2
- package/dist/store/reducers/node/node.d.ts +3 -3
- package/dist/store/reducers/node/selectors.d.ts +1 -1
- package/dist/store/reducers/nodes/nodes.d.ts +3 -3
- package/dist/store/reducers/nodes/nodes.js +1 -2
- package/dist/store/reducers/nodes/nodes.js.map +1 -1
- package/dist/store/reducers/nodesList.d.ts +3 -3
- package/dist/store/reducers/overview/overview.d.ts +2 -2
- package/dist/store/reducers/partitions/partitions.d.ts +2 -2
- package/dist/store/reducers/pdisk/pdisk.d.ts +2 -3
- package/dist/store/reducers/pdisk/pdisk.js +1 -21
- package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
- package/dist/store/reducers/pdisk/utils.d.ts +0 -3
- package/dist/store/reducers/pdisk/utils.js +0 -22
- package/dist/store/reducers/pdisk/utils.js.map +1 -1
- package/dist/store/reducers/preview.d.ts +2 -2
- package/dist/store/reducers/schema/schema.d.ts +3 -3
- package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
- package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
- package/dist/store/reducers/storage/requestStorageData.d.ts +5 -0
- package/dist/store/reducers/storage/requestStorageData.js +12 -0
- package/dist/store/reducers/storage/requestStorageData.js.map +1 -0
- package/dist/store/reducers/storage/selectors.js +1 -1
- package/dist/store/reducers/storage/storage.d.ts +6 -4
- package/dist/store/reducers/storage/storage.js +6 -6
- package/dist/store/reducers/storage/storage.js.map +1 -1
- package/dist/store/reducers/storage/types.d.ts +11 -23
- package/dist/store/reducers/storage/utils.d.ts +3 -2
- package/dist/store/reducers/storage/utils.js +52 -26
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/store/reducers/tableData.d.ts +1 -1
- package/dist/store/reducers/tablet.d.ts +7 -7
- package/dist/store/reducers/tablets.d.ts +13 -13
- package/dist/store/reducers/tenant/constants.d.ts +1 -0
- package/dist/store/reducers/tenant/constants.js +1 -0
- package/dist/store/reducers/tenant/constants.js.map +1 -1
- package/dist/store/reducers/tenant/tenant.d.ts +5 -2
- package/dist/store/reducers/tenant/tenant.js +12 -0
- package/dist/store/reducers/tenant/tenant.js.map +1 -1
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
- package/dist/store/reducers/tenants/selectors.d.ts +27 -27
- package/dist/store/reducers/tenants/tenants.d.ts +2 -2
- package/dist/store/reducers/topic.d.ts +44 -44
- package/dist/store/reducers/trace.d.ts +4 -5
- package/dist/store/reducers/trace.js +5 -8
- package/dist/store/reducers/trace.js.map +1 -1
- package/dist/store/reducers/vdisk/utils.d.ts +0 -2
- package/dist/store/reducers/vdisk/utils.js +0 -10
- package/dist/store/reducers/vdisk/utils.js.map +1 -1
- package/dist/store/reducers/vdisk/vdisk.d.ts +8 -5
- package/dist/store/reducers/vdisk/vdisk.js +17 -32
- package/dist/store/reducers/vdisk/vdisk.js.map +1 -1
- package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
- package/dist/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/compute.d.ts +1 -4
- package/dist/types/api/compute.js +1 -5
- package/dist/types/api/compute.js.map +1 -1
- package/dist/types/api/featureFlags.d.ts +13 -0
- package/dist/types/api/featureFlags.js +2 -0
- package/dist/types/api/featureFlags.js.map +1 -0
- package/dist/types/api/meta.d.ts +4 -2
- package/dist/types/api/pdisk.d.ts +1 -1
- package/dist/types/api/storage.d.ts +132 -6
- package/dist/types/api/storage.js +1 -5
- package/dist/types/api/storage.js.map +1 -1
- package/dist/types/api/trace.d.ts +16 -6
- package/dist/types/api/trace.js +7 -1
- package/dist/types/api/trace.js.map +1 -1
- package/dist/types/api/vdisk.d.ts +1 -1
- package/dist/types/store/executeQuery.d.ts +25 -3
- package/dist/types/store/executeQuery.js +5 -1
- package/dist/types/store/executeQuery.js.map +1 -1
- package/dist/utils/disks/helpers.d.ts +4 -1
- package/dist/utils/disks/helpers.js +7 -1
- package/dist/utils/disks/helpers.js.map +1 -1
- package/dist/utils/monaco/yql/generateSuggestions.js +8 -3
- package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
- package/dist/utils/storage.d.ts +2 -21
- package/dist/utils/storage.js +14 -19
- package/dist/utils/storage.js.map +1 -1
- package/package.json +1 -6
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.d.ts +0 -9
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js +0 -9
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.js.map +0 -1
- package/dist/components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible.scss +0 -3
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +0 -4
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js +0 -29
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.js.map +0 -1
- package/dist/store/reducers/tenantOverview/topStorageGroups/types.d.ts +0 -4
- package/dist/store/reducers/tenantOverview/topStorageGroups/types.js +0 -2
- package/dist/store/reducers/tenantOverview/topStorageGroups/types.js.map +0 -1
- package/dist/store/reducers/tenantOverview/topStorageGroups/utils.d.ts +0 -3
- package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js +0 -13
- package/dist/store/reducers/tenantOverview/topStorageGroups/utils.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TraceButton.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/ExecuteResult/TraceButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"TraceButton.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/ExecuteResult/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,MAAM,EAAC,UAAU,EAAC,GAAG,QAAQ,CAAC,kBAAkB,CAC5C,EAAC,GAAG,EAAE,aAAa,EAAC,EACpB,EAAC,IAAI,EAAE,CAAC,aAAa,IAAI,CAAC,YAAY,EAAC,CAC1C,CAAC;IAEF,IAAI,CAAC,QAAQ,EAAE,CAAC;QACZ,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,OAAO,GAAG,CAAC,YAAY,IAAI,UAAU,CAAC;IAC5C,OAAO,CACH,MAAC,MAAM,IACH,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,WAAW,EAC9C,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,QAAQ,EACd,MAAM,EAAC,QAAQ,aAEd,IAAI,CAAC,OAAO,CAAC,EACd,KAAC,MAAM,CAAC,IAAI,cACR,KAAC,sBAAsB,KAAG,GAChB,IACT,CACZ,CAAC;AACN,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "trace" | "description.graph-is-not-supported" | "action.result" | "action.stats" | "action.schema" | "action.
|
1
|
+
declare const _default: (key: "trace" | "description.graph-is-not-supported" | "action.result" | "action.stats" | "action.schema" | "action.explain-plan" | "action.copy", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { PreparedExplainResponse } from '../../../../store/reducers/explainQuery/types';
|
2
1
|
import type { ValueOf } from '../../../../types/common';
|
2
|
+
import type { ExplainQueryResult } from '../../../../types/store/executeQuery';
|
3
3
|
import './ExplainResult.scss';
|
4
4
|
declare const EXPLAIN_OPTIONS_IDS: {
|
5
5
|
readonly schema: "schema";
|
@@ -10,19 +10,11 @@ declare const EXPLAIN_OPTIONS_IDS: {
|
|
10
10
|
export type QueryExplainTab = ValueOf<typeof EXPLAIN_OPTIONS_IDS>;
|
11
11
|
interface ExplainResultProps {
|
12
12
|
theme: string;
|
13
|
-
|
14
|
-
|
15
|
-
};
|
16
|
-
simplifiedPlan?: PreparedExplainResponse['simplifiedPlan'];
|
17
|
-
ast?: string;
|
18
|
-
loading?: boolean;
|
19
|
-
cancelQueryLoading?: boolean;
|
13
|
+
result: ExplainQueryResult;
|
14
|
+
tenantName: string;
|
20
15
|
isResultsCollapsed?: boolean;
|
21
|
-
error: unknown;
|
22
|
-
cancelError: unknown;
|
23
16
|
onCollapseResults: VoidFunction;
|
24
17
|
onExpandResults: VoidFunction;
|
25
|
-
onStopButtonClick: VoidFunction;
|
26
18
|
}
|
27
|
-
export declare function ExplainResult({
|
19
|
+
export declare function ExplainResult({ theme, result, tenantName, onCollapseResults, onExpandResults, isResultsCollapsed, }: ExplainResultProps): import("react/jsx-runtime").JSX.Element;
|
28
20
|
export {};
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import React from 'react';
|
3
|
-
import {
|
4
|
-
import { Button, Icon, RadioButton } from '@gravity-ui/uikit';
|
3
|
+
import { RadioButton } from '@gravity-ui/uikit';
|
5
4
|
import { ClipboardButton } from '../../../../components/ClipboardButton';
|
6
5
|
import Divider from '../../../../components/Divider/Divider';
|
7
6
|
import ElapsedTime from '../../../../components/ElapsedTime/ElapsedTime';
|
@@ -15,6 +14,7 @@ import { getStringifiedData } from '../../../../utils/dataFormatters/dataFormatt
|
|
15
14
|
import { useTypedDispatch } from '../../../../utils/hooks';
|
16
15
|
import { parseQueryErrorToString } from '../../../../utils/query';
|
17
16
|
import { PaneVisibilityToggleButtons } from '../../utils/paneVisibilityToggleHelpers';
|
17
|
+
import { CancelQueryButton } from '../CancelQueryButton/CancelQueryButton';
|
18
18
|
import { QueryDuration } from '../QueryDuration/QueryDuration';
|
19
19
|
import { QuerySettingsBanner } from '../QuerySettingsBanner/QuerySettingsBanner';
|
20
20
|
import { isQueryCancelledError } from '../utils/isQueryCancelledError';
|
@@ -46,10 +46,12 @@ const explainOptions = [
|
|
46
46
|
{ value: EXPLAIN_OPTIONS_IDS.json, content: EXPLAIN_OPTIONS_NAMES[EXPLAIN_OPTIONS_IDS.json] },
|
47
47
|
{ value: EXPLAIN_OPTIONS_IDS.ast, content: EXPLAIN_OPTIONS_NAMES[EXPLAIN_OPTIONS_IDS.ast] },
|
48
48
|
];
|
49
|
-
export function ExplainResult({
|
49
|
+
export function ExplainResult({ theme, result, tenantName, onCollapseResults, onExpandResults, isResultsCollapsed, }) {
|
50
50
|
const dispatch = useTypedDispatch();
|
51
51
|
const [activeOption, setActiveOption] = React.useState(EXPLAIN_OPTIONS_IDS.schema);
|
52
52
|
const [isPending, startTransition] = React.useTransition();
|
53
|
+
const { error, isLoading, queryId } = result;
|
54
|
+
const { plan: explain, ast, simplifiedPlan } = result.data || {};
|
53
55
|
React.useEffect(() => {
|
54
56
|
return () => {
|
55
57
|
dispatch(disableFullscreen());
|
@@ -112,8 +114,8 @@ export function ExplainResult({ explain, ast, theme, error, cancelError, loading
|
|
112
114
|
};
|
113
115
|
const statsToCopy = getStatsToCopy();
|
114
116
|
const copyText = getStringifiedData(statsToCopy);
|
115
|
-
return (_jsxs(React.Fragment, { children: [_jsxs("div", { className: b('controls'), children: [_jsxs("div", { className: b('controls-right'), children: [_jsx(QueryExecutionStatus, { error: error, loading:
|
117
|
+
return (_jsxs(React.Fragment, { children: [_jsxs("div", { className: b('controls'), children: [_jsxs("div", { className: b('controls-right'), children: [_jsx(QueryExecutionStatus, { error: error, loading: isLoading }), !error && !isLoading && (_jsxs(React.Fragment, { children: [(explain === null || explain === void 0 ? void 0 : explain.DurationUs) !== undefined && (_jsx(QueryDuration, { duration: explain.DurationUs })), _jsxs(React.Fragment, { children: [_jsx(Divider, {}), _jsx(RadioButton, { options: explainOptions, value: activeOption, onUpdate: (tabId) => {
|
116
118
|
startTransition(() => setActiveOption(tabId));
|
117
|
-
} })] })] })),
|
119
|
+
} })] })] })), isLoading ? (_jsxs(React.Fragment, { children: [_jsx(ElapsedTime, { className: b('elapsed-time') }), _jsx(CancelQueryButton, { queryId: queryId, tenantName: tenantName })] })) : null] }), _jsxs("div", { className: b('controls-left'), children: [copyText && (_jsx(ClipboardButton, { text: copyText, view: "flat-secondary", title: i18n('action.copy', { activeOption }) })), _jsx(EnableFullscreenButton, { disabled: Boolean(error) }), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseResults, onExpand: onExpandResults, isCollapsed: isResultsCollapsed, initialDirection: "bottom" })] })] }), isLoading || isQueryCancelledError(error) ? null : _jsx(QuerySettingsBanner, {}), _jsx(LoaderWrapper, { loading: isLoading || isPending, children: _jsx(Fullscreen, { className: b('result'), children: renderContent() }) })] }));
|
118
120
|
}
|
119
121
|
//# sourceMappingURL=ExplainResult.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ExplainResult.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/ExplainResult/ExplainResult.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"ExplainResult.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/ExplainResult/ExplainResult.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE9C,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,aAAa,EAAC,MAAM,oDAAoD,CAAC;AACjF,OAAO,EAAC,oBAAoB,EAAC,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AAGxE,OAAO,EAAC,EAAE,EAAC,MA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AAC,QAAQ,CAAC,YAAG,aAAa,EAAE,GAAc,GACtD,IACH,CACpB,CAAC;AACN,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "description.graph-is-not-supported" | "action.schema" | "action.
|
1
|
+
declare const _default: (key: "description.graph-is-not-supported" | "action.schema" | "action.explain-plan" | "action.copy" | "description.empty-result" | "action.json" | "action.ast", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import React from 'react';
|
3
3
|
import { Helmet } from 'react-helmet-async';
|
4
|
-
import NotRenderUntilFirstVisible from '../../../components/NotRenderUntilFirstVisible/NotRenderUntilFirstVisible';
|
5
4
|
import { changeUserInput } from '../../../store/reducers/executeQuery';
|
6
5
|
import { TENANT_QUERY_TABS_ID } from '../../../store/reducers/tenant/constants';
|
7
6
|
import { cn } from '../../../utils/cn';
|
@@ -20,7 +19,20 @@ export const Query = (props) => {
|
|
20
19
|
};
|
21
20
|
const activeTab = React.useMemo(() => queryEditorTabs.find(({ id }) => id === queryTab), [queryTab]);
|
22
21
|
const renderContent = () => {
|
23
|
-
|
22
|
+
switch (queryTab) {
|
23
|
+
case TENANT_QUERY_TABS_ID.newQuery: {
|
24
|
+
return _jsx(QueryEditor, { changeUserInput: handleUserInputChange, ...props });
|
25
|
+
}
|
26
|
+
case TENANT_QUERY_TABS_ID.history: {
|
27
|
+
return _jsx(QueriesHistory, { changeUserInput: handleUserInputChange });
|
28
|
+
}
|
29
|
+
case TENANT_QUERY_TABS_ID.saved: {
|
30
|
+
return _jsx(SavedQueries, { changeUserInput: handleUserInputChange });
|
31
|
+
}
|
32
|
+
default: {
|
33
|
+
return null;
|
34
|
+
}
|
35
|
+
}
|
24
36
|
};
|
25
37
|
return (_jsxs("div", { className: b(), children: [activeTab ? (_jsx(Helmet, { children: _jsx("title", { children: activeTab.title }) })) : null, _jsx(QueryTabs, { className: b('tabs'), activeTab: queryTab }), _jsx("div", { className: b('content'), children: renderContent() })] }));
|
26
38
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Query/Query.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAE1C,OAAO,
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Query/Query.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAE1C,OAAO,EAAC,eAAe,EAAC,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAC,oBAAoB,EAAC,MAAM,0CAA0C,CAAC;AAE9E,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAExE,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,WAAW,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAC,SAAS,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AAEzD,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,CAAC;AAS1B,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,KAAiB,EAAE,EAAE;IACvC,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IAEpC,MAAM,EAAC,QAAQ,GAAG,oBAAoB,CAAC,QAAQ,EAAC,GAAG,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAE7F,MAAM,qBAAqB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1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { goToNextQuery, goToPreviousQuery, saveQueryToHistory, setTenantPath } from '../../../../store/reducers/executeQuery';
|
2
|
+
import { goToNextQuery, goToPreviousQuery, saveQueryToHistory, setQueryResult, setTenantPath } from '../../../../store/reducers/executeQuery';
|
3
3
|
import { setQueryAction } from '../../../../store/reducers/queryActions/queryActions';
|
4
4
|
import { setShowPreview } from '../../../../store/reducers/schema/schema';
|
5
5
|
import type { EPathType } from '../../../../types/api/schema';
|
@@ -15,6 +15,7 @@ interface QueryEditorProps {
|
|
15
15
|
goToPreviousQuery: (...args: Parameters<typeof goToPreviousQuery>) => void;
|
16
16
|
setTenantPath: (...args: Parameters<typeof setTenantPath>) => void;
|
17
17
|
setQueryAction: (...args: Parameters<typeof setQueryAction>) => void;
|
18
|
+
setQueryResult: (...args: Parameters<typeof setQueryResult>) => void;
|
18
19
|
executeQuery: ExecuteQueryState;
|
19
20
|
theme: string;
|
20
21
|
type?: EPathType;
|
@@ -24,9 +25,9 @@ interface QueryEditorProps {
|
|
24
25
|
}
|
25
26
|
declare function QueryEditor(props: QueryEditorProps): import("react/jsx-runtime").JSX.Element;
|
26
27
|
declare const _default: import("react-redux").ConnectedComponent<typeof QueryEditor, {
|
27
|
-
type?: EPathType;
|
28
28
|
theme: string;
|
29
29
|
path: string;
|
30
|
+
type?: EPathType;
|
30
31
|
tenantName: string;
|
31
32
|
changeUserInput: (arg: {
|
32
33
|
input: string;
|
@@ -6,12 +6,12 @@ import { connect } from 'react-redux';
|
|
6
6
|
import { v4 as uuidv4 } from 'uuid';
|
7
7
|
import { MonacoEditor } from '../../../../components/MonacoEditor/MonacoEditor';
|
8
8
|
import SplitPane from '../../../../components/SplitPane';
|
9
|
-
import { cancelQueryApi } from '../../../../store/reducers/cancelQuery';
|
10
9
|
import { useTracingLevelOptionAvailable } from '../../../../store/reducers/capabilities/hooks';
|
11
|
-
import { executeQueryApi, goToNextQuery, goToPreviousQuery, saveQueryToHistory, setTenantPath, } from '../../../../store/reducers/executeQuery';
|
10
|
+
import { executeQueryApi, goToNextQuery, goToPreviousQuery, saveQueryToHistory, setQueryResult, setTenantPath, } from '../../../../store/reducers/executeQuery';
|
12
11
|
import { explainQueryApi } from '../../../../store/reducers/explainQuery/explainQuery';
|
13
12
|
import { setQueryAction } from '../../../../store/reducers/queryActions/queryActions';
|
14
13
|
import { setShowPreview } from '../../../../store/reducers/schema/schema';
|
14
|
+
import { ResultType } from '../../../../types/store/executeQuery';
|
15
15
|
import { cn } from '../../../../utils/cn';
|
16
16
|
import { DEFAULT_IS_QUERY_RESULT_COLLAPSED, DEFAULT_SIZE_RESULT_PANE_KEY, LAST_USED_QUERY_ACTION_KEY, QUERY_USE_MULTI_SCHEMA_KEY, } from '../../../../utils/constants';
|
17
17
|
import { useEventHandler, useQueryExecutionSettings, useSetting } from '../../../../utils/hooks';
|
@@ -31,10 +31,6 @@ import { useEditorOptions } from './helpers';
|
|
31
31
|
import { getKeyBindings } from './keybindings';
|
32
32
|
import './QueryEditor.scss';
|
33
33
|
const CONTEXT_MENU_GROUP_ID = 'navigation';
|
34
|
-
const RESULT_TYPES = {
|
35
|
-
EXECUTE: 'execute',
|
36
|
-
EXPLAIN: 'explain',
|
37
|
-
};
|
38
34
|
const b = cn('query-editor');
|
39
35
|
const initialTenantCommonInfoState = {
|
40
36
|
triggerExpand: false,
|
@@ -42,29 +38,28 @@ const initialTenantCommonInfoState = {
|
|
42
38
|
collapsed: true,
|
43
39
|
};
|
44
40
|
function QueryEditor(props) {
|
45
|
-
var _a
|
41
|
+
var _a;
|
46
42
|
const editorOptions = useEditorOptions();
|
47
|
-
const { tenantName, path, setTenantPath: setPath, executeQuery, type, theme, changeUserInput, showPreview, } = props;
|
43
|
+
const { tenantName, path, setTenantPath: setPath, executeQuery, type, theme, changeUserInput, setQueryResult, showPreview, } = props;
|
48
44
|
const { tenantPath: savedPath } = executeQuery;
|
49
|
-
const
|
50
|
-
const [isResultLoaded, setIsResultLoaded] = React.useState(false);
|
45
|
+
const isResultLoaded = Boolean(executeQuery.result);
|
51
46
|
const [querySettings] = useQueryExecutionSettings();
|
52
47
|
const enableTracingLevel = useTracingLevelOptionAvailable();
|
53
48
|
const [lastQueryExecutionSettings, setLastQueryExecutionSettings] = useLastQueryExecutionSettings();
|
54
49
|
const { resetBanner } = useChangedQuerySettings();
|
55
50
|
const [useMultiSchema] = useSetting(QUERY_USE_MULTI_SCHEMA_KEY);
|
56
51
|
const [lastUsedQueryAction, setLastUsedQueryAction] = useSetting(LAST_USED_QUERY_ACTION_KEY);
|
57
|
-
const [sendExecuteQuery
|
58
|
-
const [sendExplainQuery
|
59
|
-
const [sendCancelQuery, cancelQueryResult] = cancelQueryApi.useCancelQueryMutation();
|
52
|
+
const [sendExecuteQuery] = executeQueryApi.useExecuteQueryMutation();
|
53
|
+
const [sendExplainQuery] = explainQueryApi.useExplainQueryMutation();
|
60
54
|
React.useEffect(() => {
|
61
55
|
if (savedPath !== tenantName) {
|
62
56
|
if (savedPath) {
|
63
57
|
changeUserInput({ input: '' });
|
58
|
+
setQueryResult();
|
64
59
|
}
|
65
60
|
setPath(tenantName);
|
66
61
|
}
|
67
|
-
}, [changeUserInput, setPath, tenantName, savedPath]);
|
62
|
+
}, [changeUserInput, setPath, setQueryResult, tenantName, savedPath]);
|
68
63
|
const [resultVisibilityState, dispatchResultVisibilityState] = React.useReducer(paneVisibilityToggleReducerCreator(DEFAULT_IS_QUERY_RESULT_COLLAPSED), initialTenantCommonInfoState);
|
69
64
|
React.useEffect(() => {
|
70
65
|
dispatchResultVisibilityState(PaneVisibilityActionTypes.triggerCollapse);
|
@@ -93,7 +88,6 @@ function QueryEditor(props) {
|
|
93
88
|
setLastQueryExecutionSettings(querySettings);
|
94
89
|
}
|
95
90
|
const queryId = uuidv4();
|
96
|
-
setResultType(RESULT_TYPES.EXECUTE);
|
97
91
|
sendExecuteQuery({
|
98
92
|
query,
|
99
93
|
database: tenantName,
|
@@ -102,9 +96,7 @@ function QueryEditor(props) {
|
|
102
96
|
enableTracingLevel,
|
103
97
|
queryId,
|
104
98
|
});
|
105
|
-
setIsResultLoaded(true);
|
106
99
|
props.setShowPreview(false);
|
107
|
-
cancelQueryResult.reset();
|
108
100
|
// Don't save partial queries in history
|
109
101
|
if (!text) {
|
110
102
|
const { queries, currentIndex } = history;
|
@@ -125,7 +117,6 @@ function QueryEditor(props) {
|
|
125
117
|
setLastQueryExecutionSettings(querySettings);
|
126
118
|
}
|
127
119
|
const queryId = uuidv4();
|
128
|
-
setResultType(RESULT_TYPES.EXPLAIN);
|
129
120
|
sendExplainQuery({
|
130
121
|
query: input,
|
131
122
|
database: tenantName,
|
@@ -133,19 +124,9 @@ function QueryEditor(props) {
|
|
133
124
|
enableTracingLevel,
|
134
125
|
queryId,
|
135
126
|
});
|
136
|
-
setIsResultLoaded(true);
|
137
127
|
props.setShowPreview(false);
|
138
|
-
cancelQueryResult.reset();
|
139
128
|
dispatchResultVisibilityState(PaneVisibilityActionTypes.triggerExpand);
|
140
129
|
});
|
141
|
-
const currentQueryId = executeQueryResult.isLoading
|
142
|
-
? (_a = executeQueryResult.originalArgs) === null || _a === void 0 ? void 0 : _a.queryId
|
143
|
-
: (_b = explainQueryResult.originalArgs) === null || _b === void 0 ? void 0 : _b.queryId;
|
144
|
-
const handleStopButtonClick = React.useCallback(() => {
|
145
|
-
if (currentQueryId) {
|
146
|
-
sendCancelQuery({ queryId: currentQueryId, database: tenantName });
|
147
|
-
}
|
148
|
-
}, [currentQueryId, sendCancelQuery, tenantName]);
|
149
130
|
const handleSendQuery = useEventHandler(() => {
|
150
131
|
if (lastUsedQueryAction === QUERY_ACTIONS.explain) {
|
151
132
|
handleGetExplainQueryClick();
|
@@ -243,11 +224,12 @@ function QueryEditor(props) {
|
|
243
224
|
dispatchResultVisibilityState(PaneVisibilityActionTypes.clear);
|
244
225
|
};
|
245
226
|
const renderControls = () => {
|
246
|
-
|
227
|
+
var _a;
|
228
|
+
return (_jsx(QueryEditorControls, { handleSendExecuteClick: handleSendExecuteClick, onSettingsButtonClick: handleSettingsClick, isLoading: Boolean((_a = executeQuery.result) === null || _a === void 0 ? void 0 : _a.isLoading), handleGetExplainQueryClick: handleGetExplainQueryClick, disabled: !executeQuery.input, highlightedAction: lastUsedQueryAction }));
|
247
229
|
};
|
248
230
|
return (_jsxs("div", { className: b(), children: [_jsxs(SplitPane, { direction: "vertical", defaultSizePaneKey: DEFAULT_SIZE_RESULT_PANE_KEY, triggerCollapse: resultVisibilityState.triggerCollapse, triggerExpand: resultVisibilityState.triggerExpand, minSize: [0, 52], collapsedSizes: [100, 0], onSplitStartDragAdditional: onSplitStartDragAdditional, children: [_jsxs("div", { className: b('pane-wrapper', {
|
249
231
|
top: true,
|
250
|
-
}), children: [_jsx("div", { className: b('monaco-wrapper'), children: _jsx("div", { className: b('monaco'), children: _jsx(MonacoEditor, { language: YQL_LANGUAGE_ID, value: executeQuery.input, options: editorOptions, onChange: onChange, editorDidMount: editorDidMount, theme: `vs-${theme}` }) }) }), renderControls()] }), _jsx("div", { className: b('pane-wrapper'), children: _jsx(Result, {
|
232
|
+
}), children: [_jsx("div", { className: b('monaco-wrapper'), children: _jsx("div", { className: b('monaco'), children: _jsx(MonacoEditor, { language: YQL_LANGUAGE_ID, value: executeQuery.input, options: editorOptions, onChange: onChange, editorDidMount: editorDidMount, theme: `vs-${theme}` }) }) }), renderControls()] }), _jsx("div", { className: b('pane-wrapper'), children: _jsx(Result, { resultVisibilityState: resultVisibilityState, onExpandResultHandler: onExpandResultHandler, onCollapseResultHandler: onCollapseResultHandler, type: type, theme: theme, result: executeQuery.result, tenantName: tenantName, path: path, showPreview: showPreview }, (_a = executeQuery.result) === null || _a === void 0 ? void 0 : _a.queryId) })] }), _jsx(SaveQueryDialog, {}), _jsx(QuerySettingsDialog, {})] }));
|
251
233
|
}
|
252
234
|
const mapStateToProps = (state) => {
|
253
235
|
return {
|
@@ -262,18 +244,18 @@ const mapDispatchToProps = {
|
|
262
244
|
setShowPreview,
|
263
245
|
setTenantPath,
|
264
246
|
setQueryAction,
|
247
|
+
setQueryResult,
|
265
248
|
};
|
266
249
|
export default connect(mapStateToProps, mapDispatchToProps)(QueryEditor);
|
267
|
-
function Result({
|
250
|
+
function Result({ resultVisibilityState, onExpandResultHandler, onCollapseResultHandler, type, theme, result, tenantName, path, showPreview, }) {
|
268
251
|
if (showPreview) {
|
269
252
|
return _jsx(Preview, { database: tenantName, path: path, type: type });
|
270
253
|
}
|
271
|
-
if (
|
272
|
-
return (_jsx(ExecuteResult, {
|
254
|
+
if ((result === null || result === void 0 ? void 0 : result.type) === ResultType.EXECUTE) {
|
255
|
+
return (_jsx(ExecuteResult, { result: result, isResultsCollapsed: resultVisibilityState.collapsed, onExpandResults: onExpandResultHandler, onCollapseResults: onCollapseResultHandler, theme: theme, tenantName: tenantName }));
|
273
256
|
}
|
274
|
-
if (
|
275
|
-
|
276
|
-
return (_jsx(ExplainResult, { error: explainQueryError, cancelError: cancelQueryError, explain: plan, simplifiedPlan: simplifiedPlan, ast: ast, loading: explainQueryLoading, cancelQueryLoading: cancelQueryLoading, theme: theme, isResultsCollapsed: resultVisibilityState.collapsed, onExpandResults: onExpandResultHandler, onCollapseResults: onCollapseResultHandler, onStopButtonClick: onStopButtonClick }));
|
257
|
+
if ((result === null || result === void 0 ? void 0 : result.type) === ResultType.EXPLAIN) {
|
258
|
+
return (_jsx(ExplainResult, { result: result, theme: theme, tenantName: tenantName, isResultsCollapsed: resultVisibilityState.collapsed, onExpandResults: onExpandResultHandler, onCollapseResults: onCollapseResultHandler }));
|
277
259
|
}
|
278
260
|
return null;
|
279
261
|
}
|
@@ -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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EAAE,CAAC;IAEhB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAChD,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE;QACrB,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,cAAc,CAAC,MAA2C,EAAE,cAA4B;IAC7F,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,cAAc,EAAE,CAAC,CAAC;IACnD,MAAM,CAAC,uBAAuB,CAAC,GAAG,EAAE;QAChC,aAAa,CAAC,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"}
|
@@ -39,6 +39,7 @@
|
|
39
39
|
"action.previous-query": "Previous query in history",
|
40
40
|
"action.next-query": "Next query in history",
|
41
41
|
"action.save-query": "Save query",
|
42
|
+
"action.stop": "Stop",
|
42
43
|
"filter.text.placeholder": "Search by query text...",
|
43
44
|
"gear.tooltip": "Query execution settings have been changed for ",
|
44
45
|
"banner.query-settings.message": "Query results are displayed for ",
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "filter.text.placeholder" | "controls.query-mode-selector_type" | "tabs.newQuery" | "tabs.history" | "tabs.saved" | "history.empty" | "history.empty-search" | "saved.empty" | "delete-dialog.header" | "delete-dialog.question" | "delete-dialog.delete" | "delete-dialog.cancel" | "preview.title" | "preview.not-available" | "preview.close" | "method-description.script" | "method-description.scan" | "method-description.data" | "method-description.query" | "method-description.pg" | "transaction-mode-description.serializable" | "transaction-mode-description.onlinero" | "transaction-mode-description.stalero" | "transaction-mode-description.snapshot" | "transaction-mode-description.implicit" | "tracing-level-description.basic" | "tracing-level-description.detailed" | "tracing-level-description.diagnostic" | "tracing-level-description.off" | "tracing-level-description.toplevel" | "tracing-level-description.trace" | "statistics-mode-description.none" | "statistics-mode-description.basic" | "statistics-mode-description.full" | "statistics-mode-description.profile" | "query-duration.description" | "action.send-query" | "action.send-selected-query" | "action.previous-query" | "action.next-query" | "action.save-query" | "gear.tooltip" | "banner.query-settings.message" | "history.queryText" | "history.endTime" | "history.duration", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "filter.text.placeholder" | "controls.query-mode-selector_type" | "tabs.newQuery" | "tabs.history" | "tabs.saved" | "history.empty" | "history.empty-search" | "saved.empty" | "delete-dialog.header" | "delete-dialog.question" | "delete-dialog.delete" | "delete-dialog.cancel" | "preview.title" | "preview.not-available" | "preview.close" | "method-description.script" | "method-description.scan" | "method-description.data" | "method-description.query" | "method-description.pg" | "transaction-mode-description.serializable" | "transaction-mode-description.onlinero" | "transaction-mode-description.stalero" | "transaction-mode-description.snapshot" | "transaction-mode-description.implicit" | "tracing-level-description.basic" | "tracing-level-description.detailed" | "tracing-level-description.diagnostic" | "tracing-level-description.off" | "tracing-level-description.toplevel" | "tracing-level-description.trace" | "statistics-mode-description.none" | "statistics-mode-description.basic" | "statistics-mode-description.full" | "statistics-mode-description.profile" | "query-duration.description" | "action.send-query" | "action.send-selected-query" | "action.previous-query" | "action.next-query" | "action.save-query" | "action.stop" | "gear.tooltip" | "banner.query-settings.message" | "history.queryText" | "history.endTime" | "history.duration", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queryTemplates.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/queryTemplates.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAY,EAAE,EAAE;IAChD,OAAO;iBACM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BnB,CAAC;AACH,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,IAAY,EAAE,EAAE;IACtD,OAAO;iBACM,IAAI;;;;;;;;sBAQC,CAAC;AACvB,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,EAAE;IAC/C,OAAO;;;;;;;;;;;GAWR,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE;IAC/C,OAAO,iBAAiB,IAAI;
|
1
|
+
{"version":3,"file":"queryTemplates.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/queryTemplates.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAY,EAAE,EAAE;IAChD,OAAO;iBACM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BnB,CAAC;AACH,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,IAAY,EAAE,EAAE;IACtD,OAAO;iBACM,IAAI;;;;;;;;sBAQC,CAAC;AACvB,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,EAAE;IAC/C,OAAO;;;;;;;;;;;GAWR,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,CAAC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/C,OAAO,iBAAiB,IAAI,wDAAwD,CAAC;AACzF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAY,EAAE,EAAE;IAC7C,OAAO,eAAe,IAAI,KAAK,CAAC;AACpC,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,IAAY,EAAE,EAAE;IACzD,OAAO,4BAA4B,IAAI,KAAK,CAAC;AACjD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,IAAY,EAAE,EAAE;IAC1D,OAAO,6BAA6B,IAAI,mDAAmD,CAAC;AAChG,CAAC,CAAC"}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type { PreparedStorageGroup } from '../../store/reducers/storage/types';
|
2
1
|
import './VDiskPage.scss';
|
3
2
|
export declare function VDiskPage(): import("react/jsx-runtime").JSX.Element;
|
4
|
-
export declare function VDiskGroup({
|
5
|
-
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
3
|
+
export declare function VDiskGroup({ groupId }: {
|
4
|
+
groupId: string | number;
|
5
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
@@ -12,18 +12,22 @@ import { InfoViewerSkeleton } from '../../components/InfoViewerSkeleton/InfoView
|
|
12
12
|
import { PageMetaWithAutorefresh } from '../../components/PageMeta/PageMeta';
|
13
13
|
import { ResizeableDataTable } from '../../components/ResizeableDataTable/ResizeableDataTable';
|
14
14
|
import { VDiskInfo } from '../../components/VDiskInfo/VDiskInfo';
|
15
|
+
import { api } from '../../store/reducers/api';
|
15
16
|
import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
|
17
|
+
import { useCapabilitiesLoaded, useStorageGroupsHandlerAvailable, } from '../../store/reducers/capabilities/hooks';
|
16
18
|
import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
|
19
|
+
import { storageApi } from '../../store/reducers/storage/storage';
|
17
20
|
import { vDiskApi } from '../../store/reducers/vdisk/vdisk';
|
18
21
|
import { valueIsDefined } from '../../utils';
|
19
22
|
import { cn } from '../../utils/cn';
|
20
23
|
import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
|
21
24
|
import { stringifyVdiskId } from '../../utils/dataFormatters/dataFormatters';
|
22
|
-
import { getSeverityColor } from '../../utils/disks/helpers';
|
25
|
+
import { getSeverityColor, getVDiskSlotBasedId } from '../../utils/disks/helpers';
|
23
26
|
import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../utils/hooks';
|
24
27
|
import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY } from '../Storage/StorageGroups/columns/getStorageGroupsColumns';
|
25
28
|
import { useGetDiskStorageColumns } from '../Storage/StorageGroups/columns/hooks';
|
26
29
|
import { vDiskPageKeyset } from './i18n';
|
30
|
+
import { prepareVDiskGroupResponse } from './utils';
|
27
31
|
import './VDiskPage.scss';
|
28
32
|
const vDiskPageCn = cn('ydb-vdisk-page');
|
29
33
|
export function VDiskPage() {
|
@@ -41,11 +45,10 @@ export function VDiskPage() {
|
|
41
45
|
const params = valueIsDefined(nodeId) && valueIsDefined(pDiskId) && valueIsDefined(vDiskSlotId)
|
42
46
|
? { nodeId, pDiskId, vDiskSlotId }
|
43
47
|
: skipToken;
|
44
|
-
const { currentData, isFetching,
|
48
|
+
const { currentData: vDiskData = {}, isFetching, error, } = vDiskApi.useGetVDiskDataQuery(params, {
|
45
49
|
pollingInterval: autoRefreshInterval,
|
46
50
|
});
|
47
|
-
const loading = isFetching &&
|
48
|
-
const { vDiskData = {}, groupData } = currentData || {};
|
51
|
+
const loading = isFetching && vDiskData === undefined;
|
49
52
|
const { NodeHost, NodeId, NodeType, NodeDC, PDiskId, PDiskType, Severity, VDiskId } = vDiskData;
|
50
53
|
const { GroupID, GroupGeneration, Ring, Domain, VDisk } = VDiskId || {};
|
51
54
|
const vDiskIdParamsDefined = valueIsDefined(GroupID) &&
|
@@ -76,8 +79,14 @@ export function VDiskPage() {
|
|
76
79
|
}
|
77
80
|
return undefined;
|
78
81
|
};
|
79
|
-
const handleAfterEvictVDisk =
|
80
|
-
|
82
|
+
const handleAfterEvictVDisk = () => {
|
83
|
+
dispatch(api.util.invalidateTags([
|
84
|
+
{
|
85
|
+
type: 'VDiskData',
|
86
|
+
id: getVDiskSlotBasedId(nodeId || 0, pDiskId || 0, vDiskSlotId || 0),
|
87
|
+
},
|
88
|
+
'StorageData',
|
89
|
+
]));
|
81
90
|
};
|
82
91
|
const renderHelmet = () => {
|
83
92
|
const vDiskPagePart = vDiskSlotId
|
@@ -105,8 +114,8 @@ export function VDiskPage() {
|
|
105
114
|
return _jsx(VDiskInfo, { data: vDiskData, className: vDiskPageCn('info') });
|
106
115
|
};
|
107
116
|
const renderGroupInfo = () => {
|
108
|
-
if (
|
109
|
-
return
|
117
|
+
if (valueIsDefined(GroupID)) {
|
118
|
+
return _jsx(VDiskGroup, { groupId: GroupID });
|
110
119
|
}
|
111
120
|
return null;
|
112
121
|
};
|
@@ -118,8 +127,22 @@ export function VDiskPage() {
|
|
118
127
|
};
|
119
128
|
return (_jsxs("div", { className: vDiskPageCn(null), children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderControls(), renderContent()] }));
|
120
129
|
}
|
121
|
-
export function VDiskGroup({
|
130
|
+
export function VDiskGroup({ groupId }) {
|
131
|
+
const capabilitiesLoaded = useCapabilitiesLoaded();
|
132
|
+
const groupsHandlerAvailable = useStorageGroupsHandlerAvailable();
|
133
|
+
const [autoRefreshInterval] = useAutoRefreshInterval();
|
134
|
+
const { currentData } = storageApi.useGetStorageGroupsInfoQuery({ groupId, shouldUseGroupsHandler: groupsHandlerAvailable }, {
|
135
|
+
pollingInterval: autoRefreshInterval,
|
136
|
+
skip: !capabilitiesLoaded,
|
137
|
+
});
|
138
|
+
const preparedGroups = React.useMemo(() => {
|
139
|
+
const group = prepareVDiskGroupResponse(currentData, groupId);
|
140
|
+
return group ? [group] : undefined;
|
141
|
+
}, [currentData, groupId]);
|
122
142
|
const vDiskStorageColumns = useGetDiskStorageColumns();
|
123
|
-
|
143
|
+
if (!preparedGroups) {
|
144
|
+
return null;
|
145
|
+
}
|
146
|
+
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: vDiskPageCn('group-title'), children: vDiskPageKeyset('group') }), _jsx(ResizeableDataTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, data: preparedGroups, columns: vDiskStorageColumns, settings: DEFAULT_TABLE_SETTINGS })] }));
|
124
147
|
}
|
125
148
|
//# sourceMappingURL=VDiskPage.js.map
|