ydb-embedded-ui 6.29.2 → 6.30.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +1 -1
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -2
- package/dist/components/PaginatedTable/PaginatedTable.js +10 -15
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.scss +5 -1
- package/dist/components/PaginatedTable/TableChunk.d.ts +3 -3
- package/dist/components/PaginatedTable/TableChunk.js +7 -10
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/constants.d.ts +1 -1
- package/dist/components/PaginatedTable/constants.js +1 -1
- package/dist/components/PaginatedTable/useScrollBasedChunks.d.ts +5 -3
- package/dist/components/PaginatedTable/useScrollBasedChunks.js +43 -23
- package/dist/components/PaginatedTable/useScrollBasedChunks.js.map +1 -1
- package/dist/components/PaginatedTable/utils.d.ts +18 -0
- package/dist/components/PaginatedTable/utils.js +27 -0
- package/dist/components/PaginatedTable/utils.js.map +1 -1
- package/dist/components/Tablet/Tablet.d.ts +2 -2
- package/dist/components/Tablet/Tablet.js +3 -3
- package/dist/components/Tablet/Tablet.js.map +1 -1
- package/dist/components/TabletNameWrapper/TabletNameWrapper.js +1 -3
- package/dist/components/TabletNameWrapper/TabletNameWrapper.js.map +1 -1
- package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -3
- package/dist/components/TabletsStatistic/TabletsStatistic.js +4 -8
- package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
- package/dist/components/TenantNameWrapper/TenantNameWrapper.js +1 -1
- package/dist/components/TenantNameWrapper/TenantNameWrapper.js.map +1 -1
- package/dist/components/nodesColumns/columns.js +1 -1
- package/dist/components/nodesColumns/columns.js.map +1 -1
- package/dist/containers/App/Content.js +2 -2
- package/dist/containers/App/Content.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/ClusterDashboard/ClusterDashboard.d.ts +4 -5
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js +7 -14
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js.map +1 -1
- package/dist/containers/Header/breadcrumbs.js +2 -2
- package/dist/containers/Header/breadcrumbs.js.map +1 -1
- package/dist/containers/Node/Node.js +10 -8
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Node/NodePages.d.ts +7 -2
- package/dist/containers/Node/NodePages.js +4 -0
- package/dist/containers/Node/NodePages.js.map +1 -1
- package/dist/containers/Nodes/NodesWrapper.d.ts +1 -1
- package/dist/containers/Nodes/PaginatedNodes.d.ts +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +3 -2
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorage.d.ts +1 -1
- package/dist/containers/Storage/PaginatedStorageGroups.js +2 -2
- package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageNodes.js +2 -2
- package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +1 -1
- package/dist/containers/Storage/StorageWrapper.d.ts +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.js +3 -2
- package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
- package/dist/containers/Tablet/Tablet.js +4 -9
- package/dist/containers/Tablet/Tablet.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Consumers/columns/columns.js +2 -3
- package/dist/containers/Tenant/Diagnostics/Consumers/columns/columns.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +3 -4
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/CreateDirectoryDialog/CreateDirectoryDialog.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +7 -6
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +4 -2
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.js +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/RefreshTreeButton.d.ts +1 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/RefreshTreeButton.js +12 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/RefreshTreeButton.js.map +1 -0
- package/dist/containers/Tenant/{Schema → ObjectSummary}/SchemaTree/SchemaTree.js +3 -1
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/UpdateTreeContext.d.ts +8 -0
- package/dist/containers/Tenant/ObjectSummary/UpdateTreeContext.js +23 -0
- package/dist/containers/Tenant/ObjectSummary/UpdateTreeContext.js.map +1 -0
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +2 -1
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +10 -12
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -1
- package/dist/containers/Tenant/Tenant.js +13 -1
- package/dist/containers/Tenant/Tenant.js.map +1 -1
- package/dist/containers/Tenant/TenantPages.d.ts +1 -0
- package/dist/containers/Tenant/TenantPages.js.map +1 -1
- package/dist/containers/Tenant/utils/paneVisibilityToggleHelpers.js +6 -6
- package/dist/containers/Tenant/utils/paneVisibilityToggleHelpers.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.js +3 -2
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/routes.d.ts +11 -1
- package/dist/routes.js +6 -0
- package/dist/routes.js.map +1 -1
- package/dist/services/api.d.ts +3 -1
- package/dist/services/api.js +7 -6
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +1 -1
- package/dist/services/settings.js +1 -1
- package/dist/services/settings.js.map +1 -1
- package/dist/store/reducers/capabilities/capabilities.d.ts +387 -9
- package/dist/store/reducers/capabilities/capabilities.js +7 -6
- package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
- package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
- package/dist/store/reducers/capabilities/hooks.js +18 -3
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/executeQuery.d.ts +3 -0
- package/dist/store/reducers/executeQuery.js +18 -0
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/pdisk/pdisk.js +1 -1
- package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
- package/dist/store/reducers/trace.d.ts +1 -1
- package/dist/store/reducers/trace.js +4 -2
- package/dist/store/reducers/trace.js.map +1 -1
- package/dist/types/api/capabilities.d.ts +1 -1
- package/dist/types/store/executeQuery.d.ts +3 -2
- package/dist/types/store/executeQuery.js.map +1 -1
- package/package.json +1 -1
- package/dist/containers/Tenant/Schema/CreateDirectoryDialog/CreateDirectoryDialog.js.map +0 -1
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js.map +0 -1
- /package/dist/containers/Tenant/{Schema → ObjectSummary}/CreateDirectoryDialog/CreateDirectoryDialog.d.ts +0 -0
- /package/dist/containers/Tenant/{Schema → ObjectSummary}/CreateDirectoryDialog/CreateDirectoryDialog.js +0 -0
- /package/dist/containers/Tenant/{Schema → ObjectSummary}/CreateDirectoryDialog/CreateDirectoryDialog.scss +0 -0
- /package/dist/containers/Tenant/{Schema → ObjectSummary}/SchemaTree/SchemaTree.d.ts +0 -0
@@ -1 +1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AiB,EAAE,6BAA6B,EAChD,oBAAoB,EAAE,aAAa,EACnC,kBAAkB,EAAE,aAAa,EACjC,eAAe,EAAE,CAAC,MAAM,EACxB,eAAe,EAAE,eAAe,EAChC,2BAA2B,EAAE,UAAU,GACzC,CACL,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,0BAA0B,IACvB,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,SAAS,EAAE,kBAAkB,EAC7B,SAAS,EAAE,SAAS,EACpB,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,gCAAgC,EACpD,OAAO,EAAE,aAAa,EACtB,oBAAoB,EAAE,oBAAoB,GAC5C,CACL,CAAC;AACN,CAAC;AAED,SAAS,4BAA4B,CAAC,EAClC,QAAQ,EACR,OAAO,EACP,MAAM,EACN,WAAW,
|
1
|
+
{"version":3,"file":"PaginatedStorageNodes.js","sourceRoot":"","sources":["../../../src/containers/Storage/PaginatedStorageNodes.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,aAAa,EAAC,MAAM,8CAA8C,CAAC;AAE3E,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EACH,qBAAqB,EACrB,gCAAgC,GACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAC,sBAAsB,EAAC,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AAC,oBAAoB,EAAC,GAAG,sBAAsB,CAAC,EAAC,QAAQ,EAAC,CAAC,CAAC;IAClE,MAAM,EAAC,eAAe,EAAC,GAAG,qBAAqB,EAAE,CAAC;IAElD,OAAO,8BAA8B,CAAC;QAClC,oBAAoB;QACpB,eAAe;QACf,QAAQ;QACR,WAAW;KACd,CAAC,CAAC;AACP,CAAC"}
|
@@ -14,7 +14,7 @@ interface PaginatedStorageGroupsTableProps {
|
|
14
14
|
searchValue: string;
|
15
15
|
visibleEntities: VisibleEntities;
|
16
16
|
onShowAll: VoidFunction;
|
17
|
-
parentRef
|
17
|
+
parentRef: React.RefObject<HTMLElement>;
|
18
18
|
renderControls?: RenderControls;
|
19
19
|
renderErrorMessage: RenderErrorMessage;
|
20
20
|
initialEntitiesCount?: number;
|
@@ -15,7 +15,7 @@ interface PaginatedStorageNodesTableProps {
|
|
15
15
|
visibleEntities: VisibleEntities;
|
16
16
|
nodesUptimeFilter: NodesUptimeFilterValues;
|
17
17
|
onShowAll: VoidFunction;
|
18
|
-
parentRef
|
18
|
+
parentRef: React.RefObject<HTMLElement>;
|
19
19
|
renderControls?: RenderControls;
|
20
20
|
renderErrorMessage: RenderErrorMessage;
|
21
21
|
initialEntitiesCount?: number;
|
@@ -4,7 +4,7 @@ interface StorageWrapperProps {
|
|
4
4
|
pDiskId?: string | number;
|
5
5
|
groupId?: string | number;
|
6
6
|
vDiskSlotId?: string | number;
|
7
|
-
parentRef
|
7
|
+
parentRef: React.RefObject<HTMLElement>;
|
8
8
|
}
|
9
9
|
export declare const StorageWrapper: ({ parentRef, ...props }: StorageWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
10
10
|
export {};
|
@@ -22,6 +22,7 @@ const storageGroupPageCn = cn('ydb-storage-group-page');
|
|
22
22
|
export function StorageGroupPage() {
|
23
23
|
var _a, _b;
|
24
24
|
const dispatch = useTypedDispatch();
|
25
|
+
const containerRef = React.useRef(null);
|
25
26
|
const [{ groupId }] = useQueryParams({ groupId: StringParam });
|
26
27
|
React.useEffect(() => {
|
27
28
|
dispatch(setHeaderBreadcrumbs('storageGroup', { groupId }));
|
@@ -63,7 +64,7 @@ export function StorageGroupPage() {
|
|
63
64
|
if (!groupId) {
|
64
65
|
return null;
|
65
66
|
}
|
66
|
-
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: storageGroupPageCn('storage-title'), children: storageGroupPageKeyset('storage') }), _jsx(StorageWrapper, { groupId: groupId })] }));
|
67
|
+
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: storageGroupPageCn('storage-title'), children: storageGroupPageKeyset('storage') }), _jsx(StorageWrapper, { groupId: groupId, parentRef: containerRef })] }));
|
67
68
|
};
|
68
69
|
const renderError = () => {
|
69
70
|
if (!groupQuery.error) {
|
@@ -71,6 +72,6 @@ export function StorageGroupPage() {
|
|
71
72
|
}
|
72
73
|
return _jsx(ResponseError, { error: groupQuery.error });
|
73
74
|
};
|
74
|
-
return (_jsxs("div", { className: storageGroupPageCn(null), children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderError(), renderInfo(), renderStorage()] }));
|
75
|
+
return (_jsxs("div", { className: storageGroupPageCn(null), ref: containerRef, children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderError(), renderInfo(), renderStorage()] }));
|
75
76
|
}
|
76
77
|
//# sourceMappingURL=StorageGroupPage.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StorageGroupPage.js","sourceRoot":"","sources":["../../../src/containers/StorageGroupPage/StorageGroupPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,eAAe,EAAC,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAC,aAAa,E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AAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,YAAY,aACtD,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,WAAW,EAAE,EACb,UAAU,EAAE,EACZ,aAAa,EAAE,IACd,CACT,CAAC;AACN,CAAC"}
|
@@ -4,7 +4,7 @@ import { Flex, Tabs } from '@gravity-ui/uikit';
|
|
4
4
|
import { skipToken } from '@reduxjs/toolkit/query';
|
5
5
|
import { Helmet } from 'react-helmet-async';
|
6
6
|
import { useParams } from 'react-router-dom';
|
7
|
-
import {
|
7
|
+
import { useQueryParams } from 'use-query-params';
|
8
8
|
import { z } from 'zod';
|
9
9
|
import { EmptyStateWrapper } from '../../components/EmptyState';
|
10
10
|
import { EntityPageTitle } from '../../components/EntityPageTitle/EntityPageTitle';
|
@@ -12,7 +12,7 @@ import { ResponseError } from '../../components/Errors/ResponseError';
|
|
12
12
|
import { InternalLink } from '../../components/InternalLink';
|
13
13
|
import { LoaderWrapper } from '../../components/LoaderWrapper/LoaderWrapper';
|
14
14
|
import { PageMetaWithAutorefresh } from '../../components/PageMeta/PageMeta';
|
15
|
-
import { getTabletPagePath } from '../../routes';
|
15
|
+
import { getTabletPagePath, tabletPageQueryParams } from '../../routes';
|
16
16
|
import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
|
17
17
|
import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
|
18
18
|
import { tabletApi } from '../../store/reducers/tablet';
|
@@ -48,16 +48,11 @@ const TABLET_PAGE_TABS = [
|
|
48
48
|
},
|
49
49
|
];
|
50
50
|
const tabletTabSchema = z.nativeEnum(TABLET_TABS_IDS).catch(TABLET_TABS_IDS.history);
|
51
|
-
const tabletQueryParams = {
|
52
|
-
tenantName: StringParam,
|
53
|
-
clusterName: StringParam,
|
54
|
-
activeTab: StringParam,
|
55
|
-
};
|
56
51
|
export function Tablet() {
|
57
52
|
var _a;
|
58
53
|
const dispatch = useTypedDispatch();
|
59
54
|
const { id } = useParams();
|
60
|
-
const [{
|
55
|
+
const [{ database: queryDatabase, clusterName: queryClusterName }] = useQueryParams(tabletPageQueryParams);
|
61
56
|
const [autoRefreshInterval] = useAutoRefreshInterval();
|
62
57
|
const { currentData, isFetching, error } = tabletApi.useGetTabletQuery({ id, database: queryDatabase !== null && queryDatabase !== void 0 ? queryDatabase : undefined }, { pollingInterval: autoRefreshInterval });
|
63
58
|
const loading = isFetching && currentData === undefined;
|
@@ -92,7 +87,7 @@ function TabletContent({ id, tablet, history, }) {
|
|
92
87
|
}
|
93
88
|
function TabletTabs({ id, hiveId, history, }) {
|
94
89
|
var _a;
|
95
|
-
const [{ activeTab, ...restParams }, setParams] = useQueryParams(
|
90
|
+
const [{ activeTab, ...restParams }, setParams] = useQueryParams(tabletPageQueryParams);
|
96
91
|
const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
|
97
92
|
const noAdvancedInfo = !isUserAllowedToMakeChanges || !hasHive(hiveId);
|
98
93
|
let tabletTab = tabletTabSchema.parse(activeTab);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Tablet.js","sourceRoot":"","sources":["../../../src/containers/Tablet/Tablet.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"Tablet.js","sourceRoot":"","sources":["../../../src/containers/Tablet/Tablet.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAE,I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AI,CAAC,CAAC,CAAC,IAAI,EAC9C,WAAW,CAAC,CAAC,CAAC,KAAC,iBAAiB,IAAC,IAAI,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,IAClD,CACnB,CAAC;AACN,CAAC"}
|
@@ -3,11 +3,10 @@ import DataTable from '@gravity-ui/react-data-table';
|
|
3
3
|
import qs from 'qs';
|
4
4
|
import { InternalLink } from '../../../../../components/InternalLink';
|
5
5
|
import { SpeedMultiMeter } from '../../../../../components/SpeedMultiMeter';
|
6
|
-
import routes, { createHref } from '../../../../../routes';
|
7
6
|
import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../../../store/reducers/tenant/constants';
|
8
7
|
import { cn } from '../../../../../utils/cn';
|
9
8
|
import { formatMsToUptime } from '../../../../../utils/dataFormatters/dataFormatters';
|
10
|
-
import { TenantTabsGroups } from '../../../TenantPages';
|
9
|
+
import { TenantTabsGroups, getTenantPath } from '../../../TenantPages';
|
11
10
|
import { ReadLagsHeader } from '../Headers';
|
12
11
|
import { CONSUMERS_COLUMNS_IDS, CONSUMERS_COLUMNS_TITILES, CONSUMERS_READ_LAGS_SUB_COLUMNS_IDS, CONSUMERS_READ_LAGS_SUB_COLUMNS_TITLES, } from '../utils/constants';
|
13
12
|
import './Columns.scss';
|
@@ -25,7 +24,7 @@ export const columns = [
|
|
25
24
|
const queryParams = qs.parse(location.search, {
|
26
25
|
ignoreQueryPrefix: true,
|
27
26
|
});
|
28
|
-
return (_jsx(InternalLink, { to:
|
27
|
+
return (_jsx(InternalLink, { to: getTenantPath({
|
29
28
|
...queryParams,
|
30
29
|
[TenantTabsGroups.diagnosticsTab]: TENANT_DIAGNOSTICS_TABS_IDS.partitions,
|
31
30
|
selectedConsumer: row.name,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/Consumers/columns/columns.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,MAAM,IAAI,CAAC;AAEpB,OAAO,EAAC,YAAY,EAAC,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAC,eAAe,EAAC,MAAM,2CAA2C,CAAC;AAC1E,OAAO,
|
1
|
+
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/Consumers/columns/columns.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,MAAM,IAAI,CAAC;AAEpB,OAAO,EAAC,YAAY,EAAC,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAC,eAAe,EAAC,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAC,2BAA2B,EAAC,MAAM,gDAAgD,CAAC;AAE3F,OAAO,EAAC,EAAE,EAAC,MAAM,yBAAyB,CAAC;AAC3C,OAAO,EAAC,gBAAgB,EAAC,MAAM,oDAAoD,CAAC;AACpF,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAC1C,OAAO,EACH,qBAAqB,EACrB,yBAAyB,EACzB,mCAAmC,EACnC,sCAAsC,GACzC,MAAM,oBAAoB,CAAC;AAE5B,OAAO,gBAAgB,CAAC;AAExB,MAAM,CAAC,GAAG,EAAE,CAAC,mCAAmC,CAAC,CAAC;AAElD,MAAM,CAAC,MAAM,8BAA8B,GAAG,uBAAuB,CAAC;AAEtE,MAAM,CAAC,MAAM,OAAO,GAAoC;IACpD;QACI,IAAI,EAAE,qBAAqB,CAAC,QAAQ;QACpC,MAAM,EAAE,yBAAyB,CAAC,qBAAqB,CAAC,QAAQ,CAAC;QACjE,KAAK,EAAE,SAAS,CAAC,IAAI;QACrB,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE;YACd,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;gBACZ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mCAAmC,CAAC,QAAQ,CAC/C;gBACD,KAAK,EAAE,SAAS,CAAC,KAAK;gBACtB,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,gBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC;aACnD;YACD;gBACI,IAAI,EAAE,mCAAmC,CAAC,cAAc;gBACxD,MAAM,EAAE,sCAAsC,CAC1C,mCAAmC,CAAC,cAAc,CACrD;gBACD,KAAK,EAAE,SAAS,CAAC,KAAK;gBACtB,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,gBAAgB,CAAC,GAAG,CAAC,YAAY,CAAC;aACxD;SACJ;KACJ;CACJ,CAAC"}
|
@@ -5,7 +5,6 @@ import { Helmet } from 'react-helmet-async';
|
|
5
5
|
import { Link } from 'react-router-dom';
|
6
6
|
import { StringParam, useQueryParams } from 'use-query-params';
|
7
7
|
import { AutoRefreshControl } from '../../../components/AutoRefreshControl/AutoRefreshControl';
|
8
|
-
import routes, { createHref } from '../../../routes';
|
9
8
|
import { useFeatureFlagsAvailable } from '../../../store/reducers/capabilities/hooks';
|
10
9
|
import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../store/reducers/tenant/constants';
|
11
10
|
import { setDiagnosticsTab } from '../../../store/reducers/tenant/tenant';
|
@@ -17,7 +16,7 @@ import { Operations } from '../../Operations';
|
|
17
16
|
import { StorageWrapper } from '../../Storage/StorageWrapper';
|
18
17
|
import { Tablets } from '../../Tablets';
|
19
18
|
import { SchemaViewer } from '../Schema/SchemaViewer/SchemaViewer';
|
20
|
-
import { TenantTabsGroups } from '../TenantPages';
|
19
|
+
import { TenantTabsGroups, getTenantPath } from '../TenantPages';
|
21
20
|
import { isDatabaseEntityType } from '../utils/schema';
|
22
21
|
import { Configs } from './Configs/Configs';
|
23
22
|
import { Consumers } from './Consumers';
|
@@ -36,7 +35,7 @@ function Diagnostics(props) {
|
|
36
35
|
const dispatch = useTypedDispatch();
|
37
36
|
const { diagnosticsTab = TENANT_DIAGNOSTICS_TABS_IDS.overview } = useTypedSelector((state) => state.tenant);
|
38
37
|
const [queryParams] = useQueryParams({
|
39
|
-
|
38
|
+
database: StringParam,
|
40
39
|
schema: StringParam,
|
41
40
|
backend: StringParam,
|
42
41
|
clusterName: StringParam,
|
@@ -109,7 +108,7 @@ function Diagnostics(props) {
|
|
109
108
|
};
|
110
109
|
const renderTabs = () => {
|
111
110
|
return (_jsx("div", { className: b('header-wrapper'), children: _jsxs("div", { className: b('tabs'), children: [_jsx(Tabs, { size: "l", items: pages, activeTab: activeTab === null || activeTab === void 0 ? void 0 : activeTab.id, wrapTo: ({ id }, node) => {
|
112
|
-
const path =
|
111
|
+
const path = getTenantPath({
|
113
112
|
...queryParams,
|
114
113
|
[TenantTabsGroups.diagnosticsTab]: id,
|
115
114
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Diagnostics.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/Diagnostics.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,kBAAkB,EAAC,MAAM,2DAA2D,CAAC;AAC7F,OAAO,
|
1
|
+
{"version":3,"file":"Diagnostics.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/Diagnostics.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC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,IACpB,GACJ,CACT,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACd,SAAS,CAAC,CAAC,CAAC,CACT,KAAC,MAAM,cACH,0BAAQ,SAAS,CAAC,KAAK,GAAS,GAC3B,CACZ,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,EAAE,EACb,cAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,YAAY,YAC/C,gBAAgB,EAAE,GACjB,IACJ,CACT,CAAC;AACN,CAAC;AAED,eAAe,WAAW,CAAC"}
|
package/dist/containers/Tenant/ObjectSummary/CreateDirectoryDialog/CreateDirectoryDialog.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CreateDirectoryDialog.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/ObjectSummary/CreateDirectoryDialog/CreateDirectoryDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAC,SAAS,EAAC,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,IAAI,MAAM,YAAY,CAAC;AAE9B,OAAO,8BAA8B,CAAC;AAEtC,MAAM,CAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC,CAAC;AAEnD,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAU3C,SAAS,oBAAoB,CAAC,KAAa;IACvC,IAAI,CAAC,KAAK,EAAE,CAAC;QACT,OAAO,IAAI,CAAC,0BAA0B,CAAC,CAAC;IAC5C,CAAC;IACD,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACnB,OAAO,IAAI,CAAC,+BAA+B,CAAC,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zD,mBAAmB,EAAE,WAAW,EAChC,gBAAgB,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAC,GACpC,IACC,IACF,CACZ,CAAC;AACN,CAAC"}
|
@@ -9,7 +9,7 @@ import { AsyncReplicationState } from '../../../components/AsyncReplicationState
|
|
9
9
|
import { toFormattedSize } from '../../../components/FormattedBytes/utils';
|
10
10
|
import { LinkWithIcon } from '../../../components/LinkWithIcon/LinkWithIcon';
|
11
11
|
import SplitPane from '../../../components/SplitPane';
|
12
|
-
import
|
12
|
+
import { createExternalUILink } from '../../../routes';
|
13
13
|
import { overviewApi } from '../../../store/reducers/overview/overview';
|
14
14
|
import { TENANT_SUMMARY_TABS_IDS } from '../../../store/reducers/tenant/constants';
|
15
15
|
import { setSummaryTab } from '../../../store/reducers/tenant/tenant';
|
@@ -20,12 +20,14 @@ import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../.
|
|
20
20
|
import { Acl } from '../Acl/Acl';
|
21
21
|
import { EntityTitle } from '../EntityTitle/EntityTitle';
|
22
22
|
import { SchemaViewer } from '../Schema/SchemaViewer/SchemaViewer';
|
23
|
-
import { TENANT_INFO_TABS, TENANT_SCHEMA_TAB, TenantTabsGroups } from '../TenantPages';
|
23
|
+
import { TENANT_INFO_TABS, TENANT_SCHEMA_TAB, TenantTabsGroups, getTenantPath } from '../TenantPages';
|
24
24
|
import { getSummaryControls } from '../utils/controls';
|
25
25
|
import { PaneVisibilityActionTypes, PaneVisibilityToggleButtons, paneVisibilityToggleReducerCreator, } from '../utils/paneVisibilityToggleHelpers';
|
26
26
|
import { isIndexTableType, isTableType } from '../utils/schema';
|
27
27
|
import { ObjectTree } from './ObjectTree';
|
28
28
|
import { SchemaActions } from './SchemaActions';
|
29
|
+
import { RefreshTreeButton } from './SchemaTree/RefreshTreeButton';
|
30
|
+
import { TreeKeyProvider } from './UpdateTreeContext';
|
29
31
|
import i18n from './i18n';
|
30
32
|
import { b } from './shared';
|
31
33
|
import { isDomain, transformPath } from './transformPath';
|
@@ -66,12 +68,11 @@ export function ObjectSummary({ type, subType, tenantName, path, onCollapseSumma
|
|
66
68
|
const isTable = isTableType(type);
|
67
69
|
const tabsItems = isTable ? [...TENANT_INFO_TABS, ...TENANT_SCHEMA_TAB] : TENANT_INFO_TABS;
|
68
70
|
return (_jsx("div", { className: b('tabs'), children: _jsxs(Flex, { className: b('tabs-inner'), justifyContent: "space-between", alignItems: "center", children: [_jsx(Tabs, { size: "l", items: tabsItems, activeTab: summaryTab, wrapTo: ({ id }, node) => {
|
69
|
-
const
|
71
|
+
const tabPath = getTenantPath({
|
70
72
|
...queryParams,
|
71
|
-
name: tenantName,
|
72
73
|
[TenantTabsGroups.summaryTab]: id,
|
73
74
|
});
|
74
|
-
return (_jsx(Link, { to:
|
75
|
+
return (_jsx(Link, { to: tabPath, className: b('tab'), children: node }, id));
|
75
76
|
}, allowNotSelected: true }), summaryTab === TENANT_SUMMARY_TABS_IDS.schema && _jsx(SchemaActions, {})] }) }));
|
76
77
|
};
|
77
78
|
const renderObjectOverview = () => {
|
@@ -288,7 +289,7 @@ export function ObjectSummary({ type, subType, tenantName, path, onCollapseSumma
|
|
288
289
|
return (_jsx("div", { className: b('entity-type', { error: true }), children: _jsx(HelpPopover, { content: message, offset: { left: 0 } }) }));
|
289
290
|
};
|
290
291
|
const renderContent = () => {
|
291
|
-
return (_jsxs("div", { className: b(), children: [_jsx("div", { className: b({ hidden: isCollapsed }), children: _jsxs(SplitPane, { direction: "vertical", defaultSizePaneKey: DEFAULT_SIZE_TENANT_SUMMARY_KEY, onSplitStartDragAdditional: onSplitStartDragAdditional, triggerCollapse: commonInfoVisibilityState.triggerCollapse, triggerExpand: commonInfoVisibilityState.triggerExpand, minSize: [200, 52], collapsedSizes: [100, 0], children: [_jsx(ObjectTree, { tenantName: tenantName, path: path }), _jsxs("div", { className: b('info'), children: [_jsxs("div", { className: b('sticky-top'), children: [_jsxs("div", { className: b('info-header'), children: [_jsxs("div", { className: b('info-title'), children: [renderEntityTypeBadge(), _jsx("div", { className: b('path-name'), children: relativePath })] }), _jsx("div", { className: b('info-controls'), children: renderCommonInfoControls() })] }), renderTabs()] }), _jsx("div", { className: b('overview-wrapper'), children: renderTabContent() })] })] }) }), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseSummary, onExpand: onExpandSummary, isCollapsed: isCollapsed, initialDirection: "left"
|
292
|
+
return (_jsx(TreeKeyProvider, { children: _jsxs("div", { className: b(), children: [_jsx("div", { className: b({ hidden: isCollapsed }), children: _jsxs(SplitPane, { direction: "vertical", defaultSizePaneKey: DEFAULT_SIZE_TENANT_SUMMARY_KEY, onSplitStartDragAdditional: onSplitStartDragAdditional, triggerCollapse: commonInfoVisibilityState.triggerCollapse, triggerExpand: commonInfoVisibilityState.triggerExpand, minSize: [200, 52], collapsedSizes: [100, 0], children: [_jsx(ObjectTree, { tenantName: tenantName, path: path }), _jsxs("div", { className: b('info'), children: [_jsxs("div", { className: b('sticky-top'), children: [_jsxs("div", { className: b('info-header'), children: [_jsxs("div", { className: b('info-title'), children: [renderEntityTypeBadge(), _jsx("div", { className: b('path-name'), children: relativePath })] }), _jsx("div", { className: b('info-controls'), children: renderCommonInfoControls() })] }), renderTabs()] }), _jsx("div", { className: b('overview-wrapper'), children: renderTabContent() })] })] }) }), _jsxs(Flex, { className: b('actions'), gap: 0.5, children: [!isCollapsed && _jsx(RefreshTreeButton, {}), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseSummary, onExpand: onExpandSummary, isCollapsed: isCollapsed, initialDirection: "left" })] })] }) }));
|
292
293
|
};
|
293
294
|
return renderContent();
|
294
295
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ObjectSummary.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/ObjectSummary/ObjectSummary.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,cAAc,EAAE,WAAW,EAAC,MAAM,wBAAwB,CAAC;A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AC,UAAU,EACpB,kBAAkB,EAAE,+BAA+B,EACnD,0BAA0B,EAAE,0BAA0B,EACtD,eAAe,EAAE,yBAAyB,CAAC,eAAe,EAC1D,aAAa,EAAE,yBAAyB,CAAC,aAAa,EACtD,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAClB,cAAc,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,aAExB,KAAC,UAAU,IAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,GAAI,EAClD,eAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,eAAK,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,aAC3B,eAAK,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,aAC5B,eAAK,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,aAC1B,qBAAqB,EAAE,EACxB,cAAK,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,YAAG,YAAY,GAAO,IAClD,EACN,cAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,YAC7B,wBAAwB,EAAE,GACzB,IACJ,EACL,UAAU,EAAE,IACX,EACN,cAAK,SAAS,EAAE,CAAC,CAAC,kBAAkB,CAAC,YAAG,gBAAgB,EAAE,GAAO,IAC/D,IACE,GACV,EACN,KAAC,2BAA2B,IACxB,UAAU,EAAE,iBAAiB,EAC7B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAC,MAAM,EACvB,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,GAC/B,IACA,CACT,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,aAAa,EAAE,CAAC;AAC3B,CAAC"}
|
1
|
+
{"version":3,"file":"ObjectSummary.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/ObjectSummary/ObjectSummary.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,cAAc,EAAE,WAAW,EAAC,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,16 @@
|
|
27
27
|
visibility: hidden;
|
28
28
|
}
|
29
29
|
|
30
|
-
&
|
30
|
+
&__actions {
|
31
31
|
position: absolute;
|
32
32
|
top: 19px; // centered relative to the heading
|
33
33
|
right: 5px; // centered relative to the collapsed panel
|
34
34
|
|
35
35
|
background-color: var(--g-color-base-background);
|
36
|
+
}
|
37
|
+
&__button {
|
36
38
|
&_hidden {
|
37
|
-
|
39
|
+
display: none;
|
38
40
|
}
|
39
41
|
}
|
40
42
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { StringParam, useQueryParam } from 'use-query-params';
|
3
3
|
import { Loader } from '../../../components/Loader';
|
4
4
|
import { useGetSchemaQuery } from '../../../store/reducers/schema/schema';
|
5
|
-
import { SchemaTree } from '
|
5
|
+
import { SchemaTree } from './SchemaTree/SchemaTree';
|
6
6
|
import i18n from './i18n';
|
7
7
|
import { b } from './shared';
|
8
8
|
export function ObjectTree({ tenantName, path }) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ObjectTree.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/ObjectSummary/ObjectTree.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;
|
1
|
+
{"version":3,"file":"ObjectTree.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/ObjectSummary/ObjectTree.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAy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
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { ArrowRotateRight } from '@gravity-ui/icons';
|
3
|
+
import { ActionTooltip, Button, Icon } from '@gravity-ui/uikit';
|
4
|
+
import { nanoid } from '@reduxjs/toolkit';
|
5
|
+
import { useDispatchTreeKey } from '../UpdateTreeContext';
|
6
|
+
export function RefreshTreeButton() {
|
7
|
+
const updateTreeKey = useDispatchTreeKey();
|
8
|
+
return (_jsx(ActionTooltip, { title: "Refresh", children: _jsx(Button, { view: "flat-secondary", onClick: () => {
|
9
|
+
updateTreeKey(nanoid());
|
10
|
+
}, children: _jsx(Icon, { data: ArrowRotateRight }) }) }));
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=RefreshTreeButton.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RefreshTreeButton.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/ObjectSummary/SchemaTree/RefreshTreeButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,aAAa,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAC;AAExC,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAExD,MAAM,UAAU,iBAAiB;IAC7B,MAAM,aAAa,GAAG,kBAAkB,EAAE,CAAC;IAC3C,OAAO,CACH,KAAC,aAAa,IAAC,KAAK,EAAC,SAAS,YAC1B,KAAC,MAAM,IACH,IAAI,EAAC,gBAAgB,EACrB,OAAO,EAAE,GAAG,EAAE;gBACV,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;YAC5B,CAAC,YAED,KAAC,IAAI,IAAC,IAAI,EAAE,gBAAgB,GAAI,GAC3B,GACG,CACnB,CAAC;AACN,CAAC"}
|
@@ -14,6 +14,7 @@ import { getSchemaControls } from '../../utils/controls';
|
|
14
14
|
import { isChildlessPathType, mapPathTypeToNavigationTreeType } from '../../utils/schema';
|
15
15
|
import { getActions } from '../../utils/schemaActions';
|
16
16
|
import { CreateDirectoryDialog } from '../CreateDirectoryDialog/CreateDirectoryDialog';
|
17
|
+
import { useDispatchTreeKey, useTreeKey } from '../UpdateTreeContext';
|
17
18
|
const TABLE_SCHEMA_TIMEOUT = SECOND_IN_MS * 2;
|
18
19
|
export function SchemaTree(props) {
|
19
20
|
const createDirectoryFeatureAvailable = useCreateDirectoryFeatureAvailable();
|
@@ -35,7 +36,8 @@ export function SchemaTree(props) {
|
|
35
36
|
const [querySettings, setQueryExecutionSettings] = useQueryExecutionSettings();
|
36
37
|
const [createDirectoryOpen, setCreateDirectoryOpen] = React.useState(false);
|
37
38
|
const [parentPath, setParentPath] = React.useState('');
|
38
|
-
const
|
39
|
+
const setSchemaTreeKey = useDispatchTreeKey();
|
40
|
+
const schemaTreeKey = useTreeKey();
|
39
41
|
const fetchPath = async (path) => {
|
40
42
|
let schemaData;
|
41
43
|
do {
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SchemaTree.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,0FAA0F;AAC1F,uGAAuG;AACvG,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,kCAAkC,EAAC,MAAM,+CAA+C,CAAC;AACjG,OAAO,EAAC,SAAS,EAAC,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAC,kBAAkB,EAAC,MAAM,4CAA4C,CAAC;AAG9E,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,yBAAyB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB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AAQ;oBACd,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,+BAA+B,CAAC,QAAQ,CAAC;oBAC/C,SAAS,EAAE,KAAK;iBACnB,EACD,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,CAClB,QAAQ,EACR;oBACI,aAAa,EAAE,kBAAkB;oBACjC,4BAA4B,EAAE,CAAC,QAAQ,EAAE,EAAE,CACvC,yBAAyB,CAAC,EAAC,GAAG,aAAa,EAAE,GAAG,QAAQ,EAAC,CAAC;oBAC9D,yBAAyB,EAAE,+BAA+B;wBACtD,CAAC,CAAC,+BAA+B;wBACjC,CAAC,CAAC,SAAS;oBACf,yBAAyB;iBAC5B,EACD,QAAQ,CACX,EACD,4BAA4B,EAAE,iBAAiB,CAAC,QAAQ,EAAE;oBACtD,aAAa,EAAE,kBAAkB;iBACpC,CAAC,EACF,UAAU,EAAE,WAAW,EACvB,kBAAkB,EAAE,kBAAkB,EACtC,KAAK,EAAE,KAAK,EACZ,UAAU,UA3BL,aAAa,CA4BpB,IACW,CACpB,CAAC;AACN,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
interface TreeKeyProviderProps {
|
3
|
+
children: React.ReactNode;
|
4
|
+
}
|
5
|
+
export declare function TreeKeyProvider({ children }: TreeKeyProviderProps): import("react/jsx-runtime").JSX.Element;
|
6
|
+
export declare function useTreeKey(): string;
|
7
|
+
export declare function useDispatchTreeKey(): React.Dispatch<string>;
|
8
|
+
export {};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import React from 'react';
|
3
|
+
const TreeKeyContext = React.createContext(undefined);
|
4
|
+
const TreeKeyDispatchContext = React.createContext(undefined);
|
5
|
+
export function TreeKeyProvider({ children }) {
|
6
|
+
const [key, setKey] = React.useState('');
|
7
|
+
return (_jsx(TreeKeyContext.Provider, { value: key, children: _jsx(TreeKeyDispatchContext.Provider, { value: setKey, children: children }) }));
|
8
|
+
}
|
9
|
+
export function useTreeKey() {
|
10
|
+
const key = React.useContext(TreeKeyContext);
|
11
|
+
if (key === undefined) {
|
12
|
+
throw new Error('useTreeKey must be used within a TreeKeyProvider');
|
13
|
+
}
|
14
|
+
return key;
|
15
|
+
}
|
16
|
+
export function useDispatchTreeKey() {
|
17
|
+
const updateKey = React.useContext(TreeKeyDispatchContext);
|
18
|
+
if (updateKey === undefined) {
|
19
|
+
throw new Error('useDispatchTreeKey must be used within a TreeKeyProvider');
|
20
|
+
}
|
21
|
+
return updateKey;
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=UpdateTreeContext.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UpdateTreeContext.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/ObjectSummary/UpdateTreeContext.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,cAAc,GAAG,KAAK,CAAC,aAAa,CAAqB,SAAS,CAAC,CAAC;AAC1E,MAAM,sBAAsB,GAAG,KAAK,CAAC,aAAa,CAAqC,SAAS,CAAC,CAAC;AAMlG,MAAM,UAAU,eAAe,CAAC,EAAC,QAAQ,EAAuB;IAC5D,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAS,EAAE,CAAC,CAAC;IAEjD,OAAO,CACH,KAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,GAAG,YAC/B,KAAC,sBAAsB,CAAC,QAAQ,IAAC,KAAK,EAAE,MAAM,YACzC,QAAQ,GACqB,GACZ,CAC7B,CAAC;AACN,CAAC;AAED,MAAM,UAAU,UAAU;IACtB,MAAM,GAAG,GAAG,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;IAC7C,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACpB,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;IACxE,CAAC;IACD,OAAO,GAAG,CAAC;AACf,CAAC;AACD,MAAM,UAAU,kBAAkB;IAC9B,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC;IAC3D,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;IAChF,CAAC;IACD,OAAO,SAAS,CAAC;AACrB,CAAC"}
|
@@ -146,6 +146,6 @@ export function ExecuteResult({ result, isResultsCollapsed, theme, tenantName, o
|
|
146
146
|
}
|
147
147
|
return null;
|
148
148
|
};
|
149
|
-
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: [(stats === null || stats === void 0 ? void 0 : stats.DurationUs) !== undefined && (_jsx(QueryDuration, { duration: Number(stats.DurationUs) })), resultOptions && activeSection && (_jsxs(React.Fragment, { children: [_jsx(Divider, {}), _jsx(RadioButton, { options: resultOptions, value: activeSection, onUpdate: onSelectSection })] }))] })), isLoading ? (_jsxs(React.Fragment, { children: [_jsx(ElapsedTime, { className: b('elapsed-time') }), _jsx(CancelQueryButton, { queryId: queryId, tenantName: tenantName })] })) : null, (data === null || data === void 0 ? void 0 : data.traceId) ? _jsx(TraceButton, { traceId: data.traceId }) : null] }), _jsxs("div", { className: b('controls-left'), children: [renderClipboardButton(), _jsx(EnableFullscreenButton, {}), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseResults, onExpand: onExpandResults, isCollapsed: isResultsCollapsed, initialDirection: "bottom" })] })] }), isLoading || isQueryCancelledError(error) ? null : _jsx(QuerySettingsBanner, {}), _jsx(LoaderWrapper, { loading: isLoading, children: _jsx(Fullscreen, { children: renderResultSection() }) })] }));
|
149
|
+
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: [(stats === null || stats === void 0 ? void 0 : stats.DurationUs) !== undefined && (_jsx(QueryDuration, { duration: Number(stats.DurationUs) })), resultOptions && activeSection && (_jsxs(React.Fragment, { children: [_jsx(Divider, {}), _jsx(RadioButton, { options: resultOptions, value: activeSection, onUpdate: onSelectSection })] }))] })), isLoading ? (_jsxs(React.Fragment, { children: [_jsx(ElapsedTime, { className: b('elapsed-time') }), _jsx(CancelQueryButton, { queryId: queryId, tenantName: tenantName })] })) : null, (data === null || data === void 0 ? void 0 : data.traceId) ? (_jsx(TraceButton, { traceId: data.traceId, isTraceReady: result.isTraceReady })) : null] }), _jsxs("div", { className: b('controls-left'), children: [renderClipboardButton(), _jsx(EnableFullscreenButton, {}), _jsx(PaneVisibilityToggleButtons, { onCollapse: onCollapseResults, onExpand: onExpandResults, isCollapsed: isResultsCollapsed, initialDirection: "bottom" })] })] }), isLoading || isQueryCancelledError(error) ? null : _jsx(QuerySettingsBanner, {}), _jsx(LoaderWrapper, { loading: isLoading, children: _jsx(Fullscreen, { children: renderResultSection() }) })] }));
|
150
150
|
}
|
151
151
|
//# sourceMappingURL=ExecuteResult.js.map
|