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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EAAE,eAAe,GAC3B,IACW,CACpB,IACY,CACpB,EACA,SAAS,CAAC,CAAC,CAAC,CACT,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,WAAW,IAAC,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,GAAI,EAC7C,KAAC,iBAAiB,IAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,GAAI,IAClD,CACpB,CAAC,CAAC,CAAC,IAAI,EACP,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAC,CAAC,CAAC,CACb,KAAC,WAAW,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,YAAY,EAAE,MAAM,CAAC,YAAY,GAAI,CAC5E,CAAC,CAAC,CAAC,IAAI,IACN,EACN,eAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,aAC7B,qBAAqB,EAAE,EACxB,KAAC,sBAAsB,KAAG,EAC1B,KAAC,2BAA2B,IACxB,UAAU,EAAE,iBAAiB,EAC7B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,kBAAkB,EAC/B,gBAAgB,EAAC,QAAQ,GAC3B,IACA,IACJ,EACL,SAAS,IAAI,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAC,mBAAmB,KAAG,EAC3E,KAAC,aAAa,IAAC,OAAO,EAAE,SAAS,YAC7B,KAAC,UAAU,cAAE,mBAAmB,EAAE,GAAc,GACpC,IACH,CACpB,CAAC;AACN,CAAC"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
interface TraceUrlButtonProps {
|
2
2
|
traceId: string;
|
3
|
+
isTraceReady?: true;
|
3
4
|
}
|
4
|
-
export declare function TraceButton({ traceId }: TraceUrlButtonProps): import("react/jsx-runtime").JSX.Element | null;
|
5
|
+
export declare function TraceButton({ traceId, isTraceReady }: TraceUrlButtonProps): import("react/jsx-runtime").JSX.Element | null;
|
5
6
|
export {};
|
@@ -4,25 +4,23 @@ import { ArrowUpRightFromSquare } from '@gravity-ui/icons';
|
|
4
4
|
import { Button } from '@gravity-ui/uikit';
|
5
5
|
import { useClusterBaseInfo } from '../../../../store/reducers/cluster/cluster';
|
6
6
|
import { traceApi } from '../../../../store/reducers/trace';
|
7
|
-
import { SECOND_IN_MS } from '../../../../utils/constants';
|
8
|
-
import { useDelayed } from '../../../../utils/hooks/useDelayed';
|
9
7
|
import { replaceParams } from '../utils/replaceParams';
|
10
8
|
import i18n from './i18n';
|
11
|
-
|
12
|
-
export function TraceButton({ traceId }) {
|
9
|
+
export function TraceButton({ traceId, isTraceReady }) {
|
13
10
|
const { traceCheck, traceView } = useClusterBaseInfo();
|
14
11
|
const checkTraceUrl = (traceCheck === null || traceCheck === void 0 ? void 0 : traceCheck.url) ? replaceParams(traceCheck.url, { traceId }) : '';
|
15
12
|
const traceUrl = (traceView === null || traceView === void 0 ? void 0 : traceView.url) ? replaceParams(traceView.url, { traceId }) : '';
|
16
|
-
|
17
|
-
const [readyToFetch, resetDelay] = useDelayed(TIME_BEFORE_CHECK);
|
13
|
+
const [checkTrace, { isLoading, isUninitialized }] = traceApi.useCheckTraceMutation();
|
18
14
|
React.useEffect(() => {
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
15
|
+
let checkTraceMutation;
|
16
|
+
if (checkTraceUrl && !isTraceReady) {
|
17
|
+
checkTraceMutation = checkTrace({ url: checkTraceUrl });
|
18
|
+
}
|
19
|
+
return () => checkTraceMutation === null || checkTraceMutation === void 0 ? void 0 : checkTraceMutation.abort();
|
20
|
+
}, [checkTrace, checkTraceUrl, isTraceReady]);
|
21
|
+
if (!traceUrl || (isUninitialized && !isTraceReady)) {
|
23
22
|
return null;
|
24
23
|
}
|
25
|
-
|
26
|
-
return (_jsxs(Button, { view: loading ? 'flat-secondary' : 'flat-info', loading: loading, href: traceUrl, target: "_blank", children: [i18n('trace'), _jsx(Button.Icon, { children: _jsx(ArrowUpRightFromSquare, {}) })] }));
|
24
|
+
return (_jsxs(Button, { view: isLoading ? 'flat-secondary' : 'flat-info', loading: isLoading, href: traceUrl, target: "_blank", children: [i18n('trace'), _jsx(Button.Icon, { children: _jsx(ArrowUpRightFromSquare, {}) })] }));
|
27
25
|
}
|
28
26
|
//# sourceMappingURL=TraceButton.js.map
|
@@ -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,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,kBAAkB,EAAC,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAC,
|
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,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,kBAAkB,EAAC,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAErD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAO1B,MAAM,UAAU,WAAW,CAAC,EAAC,OAAO,EAAE,YAAY,EAAsB;IACpE,MAAM,EAAC,UAAU,EAAE,SAAS,EAAC,GAAG,kBAAkB,EAAE,CAAC;IAErD,MAAM,aAAa,GAAG,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,EA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
|
29
29
|
const [autoRefreshInterval] = useAutoRefreshInterval();
|
30
30
|
const [summaryVisibilityState, dispatchSummaryVisibilityAction] = React.useReducer(paneVisibilityToggleReducerCreator(DEFAULT_IS_TENANT_SUMMARY_COLLAPSED), undefined, getTenantSummaryState);
|
31
|
-
|
31
|
+
// TODO: name is used together with database to keep old links valid
|
32
|
+
// Remove it after some time - 1-2 weeks
|
33
|
+
const [{ database, name, schema }, setQuery] = useQueryParams({
|
34
|
+
database: StringParam,
|
35
|
+
name: StringParam,
|
36
|
+
schema: StringParam,
|
37
|
+
});
|
38
|
+
React.useEffect(() => {
|
39
|
+
if (name && !database) {
|
40
|
+
setQuery({ database: name, name: undefined }, 'replaceIn');
|
41
|
+
}
|
42
|
+
}, [database, name, setQuery]);
|
43
|
+
const tenantName = database !== null && database !== void 0 ? database : name;
|
32
44
|
if (!tenantName) {
|
33
45
|
throw new Error('Tenant name is not defined');
|
34
46
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Tenant.js","sourceRoot":"","sources":["../../../src/containers/Tenant/Tenant.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,SAAS,EAAE,aAAa,EAAC,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAC,aAAa,EAAC,MAAM,8CAA8C,CAAC;AAC3E,OAAO,SAAS,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,WAAW,EAAC,MAAM,wCAAwC,CAAC;AAEnE,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,mCAAmC,EAAE,uBAAuB,EAAC,MAAM,uBAAuB,CAAC;AACnG,OAAO,EAAC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,SAAS,IAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,YACnD,MAAC,SAAS,IACN,kBAAkB,EAAE,uBAAuB,EAC3C,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EACtB,eAAe,EAAE,sBAAsB,CAAC,eAAe,EACvD,aAAa,EAAE,sBAAsB,CAAC,aAAa,EACnD,OAAO,EAAE,CAAC,EAAE,EAAE,GAAG,CAAC,EAClB,0BAA0B,EAAE,0BAA0B,aAEtD,KAAC,aAAa,IACV,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,kBAAkB,EAC3B,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,IAAI,EACV,iBAAiB,EAAE,wBAAwB,EAC3C,eAAe,EAAE,sBAAsB,EACvC,WAAW,EAAE,sBAAsB,CAAC,SAAS,GAC/C,EACF,cAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,YACrB,KAAC,aAAa,IACV,IAAI,EAAE,eAAe,EACrB,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,EAClD,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,EAChD,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,IAAI,GACZ,GACA,IACE,GACJ,GACA,IACd,CACT,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TenantPages.js","sourceRoot":"","sources":["../../../src/containers/Tenant/TenantPages.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAChD,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;
|
1
|
+
{"version":3,"file":"TenantPages.js","sourceRoot":"","sources":["../../../src/containers/Tenant/TenantPages.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAChD,OAAO,EAAC,uBAAuB,EAAC,MAAM,uCAAuC,CAAC;AAgB9E,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,cAAc,EAAE,gBAAgB;IAChC,UAAU,EAAE,YAAY;CAClB,CAAC;AAEX,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B;QACI,EAAE,EAAE,uBAAuB,CAAC,QAAQ;QACpC,KAAK,EAAE,UAAU;KACpB;IACD;QACI,EAAE,EAAE,uBAAuB,CAAC,GAAG;QAC/B,KAAK,EAAE,KAAK;KACf;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B;QACI,EAAE,EAAE,uBAAuB,CAAC,MAAM;QAClC,KAAK,EAAE,QAAQ;KAClB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAkB,EAAE,EAAE;IAChD,OAAO,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import React from 'react';
|
3
3
|
import { ChevronsUp } from '@gravity-ui/icons';
|
4
|
-
import { Button, Icon } from '@gravity-ui/uikit';
|
4
|
+
import { ActionTooltip, Button, Icon } from '@gravity-ui/uikit';
|
5
5
|
import { cn } from '../../../utils/cn';
|
6
6
|
import './ToggleButton.scss';
|
7
7
|
export var PaneVisibilityActionTypes;
|
@@ -52,10 +52,10 @@ export function paneVisibilityToggleReducerCreator(isPaneCollapsedKey) {
|
|
52
52
|
}
|
53
53
|
const b = cn('kv-pane-visibility-button');
|
54
54
|
export function PaneVisibilityToggleButtons({ onCollapse, onExpand, isCollapsed, initialDirection = 'top', className, }) {
|
55
|
-
return (_jsxs(React.Fragment, { children: [_jsx(Button, { view: "flat-secondary", onClick: onCollapse, className: b({
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
55
|
+
return (_jsxs(React.Fragment, { children: [_jsx(ActionTooltip, { title: "Collapse", children: _jsx(Button, { view: "flat-secondary", onClick: onCollapse, className: b({
|
56
|
+
hidden: isCollapsed,
|
57
|
+
}, className), children: _jsx(Icon, { data: ChevronsUp, className: b({ [initialDirection]: true }) }) }) }), _jsx(ActionTooltip, { title: "Expand", children: _jsx(Button, { view: "flat-secondary", onClick: onExpand, className: b({
|
58
|
+
hidden: !isCollapsed,
|
59
|
+
}, className), children: _jsx(Icon, { data: ChevronsUp, className: b({ [initialDirection]: true }, 'rotate') }) }) })] }));
|
60
60
|
}
|
61
61
|
//# sourceMappingURL=paneVisibilityToggleHelpers.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"paneVisibilityToggleHelpers.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/paneVisibilityToggleHelpers.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;
|
1
|
+
{"version":3,"file":"paneVisibilityToggleHelpers.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/paneVisibilityToggleHelpers.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,aAAa,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AAErC,OAAO,qBAAqB,CAAC;AAQ7B,MAAM,CAAN,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACjC,gEAAmC,CAAA;IACnC,4DAA+B,CAAA;IAC/B,4CAAe,CAAA;AACnB,CAAC,EAJW,yBAAyB,KA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AW,EACX,gBAAgB,GAAG,KAAK,EACxB,SAAS,GACO;IAChB,OAAO,CACH,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,aAAa,IAAC,KAAK,EAAC,UAAU,YAC3B,KAAC,MAAM,IACH,IAAI,EAAC,gBAAgB,EACrB,OAAO,EAAE,UAAU,EACnB,SAAS,EAAE,CAAC,CACR;wBACI,MAAM,EAAE,WAAW;qBACtB,EACD,SAAS,CACZ,YAED,KAAC,IAAI,IAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC,EAAC,CAAC,gBAAgB,CAAC,EAAE,IAAI,EAAC,CAAC,GAAI,GAC/D,GACG,EAEhB,KAAC,aAAa,IAAC,KAAK,EAAC,QAAQ,YACzB,KAAC,MAAM,IACH,IAAI,EAAC,gBAAgB,EACrB,OAAO,EAAE,QAAQ,EACjB,SAAS,EAAE,CAAC,CACR;wBACI,MAAM,EAAE,CAAC,WAAW;qBACvB,EACD,SAAS,CACZ,YAED,KAAC,IAAI,IAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC,EAAC,CAAC,gBAAgB,CAAC,EAAE,IAAI,EAAC,EAAE,QAAQ,CAAC,GAAI,GACzE,GACG,IACH,CACpB,CAAC;AACN,CAAC"}
|
@@ -26,6 +26,7 @@ import './VDiskPage.scss';
|
|
26
26
|
const vDiskPageCn = cn('ydb-vdisk-page');
|
27
27
|
export function VDiskPage() {
|
28
28
|
const dispatch = useTypedDispatch();
|
29
|
+
const containerRef = React.useRef(null);
|
29
30
|
const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
|
30
31
|
const newDiskApiAvailable = useDiskPagesAvailable();
|
31
32
|
const [{ nodeId, pDiskId, vDiskSlotId }] = useQueryParams({
|
@@ -108,7 +109,7 @@ export function VDiskPage() {
|
|
108
109
|
};
|
109
110
|
const renderStorageInfo = () => {
|
110
111
|
if (valueIsDefined(GroupID) && valueIsDefined(nodeId)) {
|
111
|
-
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: vDiskPageCn('storage-title'), children: vDiskPageKeyset('storage') }), _jsx(StorageWrapper, { groupId: GroupID, nodeId: nodeId, pDiskId: pDiskId !== null && pDiskId !== void 0 ? pDiskId : undefined, vDiskSlotId: vDiskSlotId !== null && vDiskSlotId !== void 0 ? vDiskSlotId : undefined })] }));
|
112
|
+
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: vDiskPageCn('storage-title'), children: vDiskPageKeyset('storage') }), _jsx(StorageWrapper, { groupId: GroupID, nodeId: nodeId, pDiskId: pDiskId !== null && pDiskId !== void 0 ? pDiskId : undefined, vDiskSlotId: vDiskSlotId !== null && vDiskSlotId !== void 0 ? vDiskSlotId : undefined, parentRef: containerRef })] }));
|
112
113
|
}
|
113
114
|
return null;
|
114
115
|
};
|
@@ -118,6 +119,6 @@ export function VDiskPage() {
|
|
118
119
|
}
|
119
120
|
return (_jsxs(React.Fragment, { children: [error ? _jsx(ResponseError, { error: error }) : null, renderInfo(), renderStorageInfo()] }));
|
120
121
|
};
|
121
|
-
return (_jsxs("div", { className: vDiskPageCn(null), children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderControls(), renderContent()] }));
|
122
|
+
return (_jsxs("div", { className: vDiskPageCn(null), ref: containerRef, children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderControls(), renderContent()] }));
|
122
123
|
}
|
123
124
|
//# sourceMappingURL=VDiskPage.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDiskPage.js","sourceRoot":"","sources":["../../../src/containers/VDiskPage/VDiskPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAA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C;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,YAAY,aAC/C,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,cAAc,EAAE,EAChB,aAAa,EAAE,IACd,CACT,CAAC;AACN,CAAC"}
|
package/dist/routes.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import type { Location } from 'history';
|
2
2
|
import qs from 'qs';
|
3
|
+
import type { QueryParamConfig } from 'use-query-params';
|
3
4
|
export declare const CLUSTERS = "clusters";
|
4
5
|
export declare const CLUSTER = "cluster";
|
5
6
|
export declare const TENANT = "tenant";
|
@@ -30,7 +31,16 @@ export declare function getLocationObjectFromHref(href: string): {
|
|
30
31
|
search: string;
|
31
32
|
hash: string;
|
32
33
|
};
|
34
|
+
export type QueryParamsTypeFromQueryObject<T extends Record<string, QueryParamConfig<any, any>>> = {
|
35
|
+
[QueryParamName in keyof T]?: Parameters<T[QueryParamName]['encode']>[0];
|
36
|
+
};
|
33
37
|
export declare function getPDiskPagePath(pDiskId: string | number, nodeId: string | number, query?: Query): string;
|
34
38
|
export declare function getVDiskPagePath(vDiskSlotId: string | number, pDiskId: string | number, nodeId: string | number, query?: Query): string;
|
35
39
|
export declare function getStorageGroupPath(groupId: string | number, query?: Query): string;
|
36
|
-
export declare
|
40
|
+
export declare const tabletPageQueryParams: {
|
41
|
+
readonly database: QueryParamConfig<string | null | undefined, string | null | undefined>;
|
42
|
+
readonly clusterName: QueryParamConfig<string | null | undefined, string | null | undefined>;
|
43
|
+
readonly activeTab: QueryParamConfig<string | null | undefined, string | null | undefined>;
|
44
|
+
};
|
45
|
+
export type TabletPageQuery = QueryParamsTypeFromQueryObject<typeof tabletPageQueryParams>;
|
46
|
+
export declare function getTabletPagePath(tabletId: string | number, query?: TabletPageQuery): string;
|
package/dist/routes.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import isEmpty from 'lodash/isEmpty';
|
2
2
|
import { compile } from 'path-to-regexp';
|
3
3
|
import qs from 'qs';
|
4
|
+
import { StringParam } from 'use-query-params';
|
4
5
|
import { backend, clusterName, webVersion } from './store';
|
5
6
|
export const CLUSTERS = 'clusters';
|
6
7
|
export const CLUSTER = 'cluster';
|
@@ -75,6 +76,11 @@ export function getVDiskPagePath(vDiskSlotId, pDiskId, nodeId, query = {}) {
|
|
75
76
|
export function getStorageGroupPath(groupId, query = {}) {
|
76
77
|
return createHref(routes.storageGroup, undefined, { ...query, groupId });
|
77
78
|
}
|
79
|
+
export const tabletPageQueryParams = {
|
80
|
+
database: StringParam,
|
81
|
+
clusterName: StringParam,
|
82
|
+
activeTab: StringParam,
|
83
|
+
};
|
78
84
|
export function getTabletPagePath(tabletId, query = {}) {
|
79
85
|
return createHref(routes.tablet, { id: tabletId }, { ...query });
|
80
86
|
}
|
package/dist/routes.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,MAAM,IAAI,CAAC;AAEpB,OAAO,EAAC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAC,MAAM,SAAS,CAAC;AAEzD,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAAC;AACnC,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC;AACjC,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC;AAC/B,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC;AAC3B,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC;AAC7B,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC;AAC7B,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;AAC5C,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,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AAE,EAAC,GAAG,KAAK,EAAE,OAAO,EAAC,CAAC,CAAC;AAC3E,CAAC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,WAAW;IACxB,SAAS,EAAE,WAAW;CAChB,CAAC;AAIX,MAAM,UAAU,iBAAiB,CAAC,QAAyB,EAAE,QAAyB,EAAE;IACpF,OAAO,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,EAAC,EAAE,EAAE,QAAQ,EAAC,EAAE,EAAC,GAAG,KAAK,EAAC,CAAC,CAAC;AACjE,CAAC"}
|
package/dist/services/api.d.ts
CHANGED
@@ -37,7 +37,9 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
37
37
|
constructor(options?: AxiosWrapperOptions);
|
38
38
|
getPath(path: string): string;
|
39
39
|
prepareArrayRequestParam(arr: (string | number)[]): string;
|
40
|
-
getClusterCapabilities(
|
40
|
+
getClusterCapabilities({ database }: {
|
41
|
+
database?: string;
|
42
|
+
}): Promise<CapabilitiesResponse>;
|
41
43
|
getClusterInfo(clusterName?: string, { concurrentId, signal }?: AxiosOptions): Promise<TClusterInfo>;
|
42
44
|
getClusterConfig(database?: string, { concurrentId, signal }?: AxiosOptions): Promise<FeatureFlagConfigs>;
|
43
45
|
getNodeInfo(id?: string | number, { concurrentId, signal }?: AxiosOptions): Promise<TEvSystemStateResponse>;
|
package/dist/services/api.js
CHANGED
@@ -7,8 +7,9 @@ import { isAxiosError } from '../utils/response';
|
|
7
7
|
import { parseMetaCluster } from './parsers/parseMetaCluster';
|
8
8
|
import { parseMetaTenants } from './parsers/parseMetaTenants';
|
9
9
|
import { settingsManager } from './settings';
|
10
|
-
const
|
11
|
-
const
|
10
|
+
const TRACE_RETRY_DELAY = 4 * SECOND_IN_MS;
|
11
|
+
const TRACE_CHECK_TIMEOUT = 10 * SECOND_IN_MS;
|
12
|
+
const TRACE_API_ERROR_RETRY_DELAY = 10 * SECOND_IN_MS;
|
12
13
|
const MAX_TRACE_CHECK_RETRIES = 30;
|
13
14
|
export class YdbEmbeddedAPI extends AxiosWrapper {
|
14
15
|
constructor(options) {
|
@@ -60,8 +61,8 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
60
61
|
prepareArrayRequestParam(arr) {
|
61
62
|
return arr.join(',');
|
62
63
|
}
|
63
|
-
getClusterCapabilities() {
|
64
|
-
return this.get(this.getPath('/viewer/capabilities'), {}, {});
|
64
|
+
getClusterCapabilities({ database }) {
|
65
|
+
return this.get(this.getPath('/viewer/capabilities'), { database }, {});
|
65
66
|
}
|
66
67
|
getClusterInfo(clusterName, { concurrentId, signal } = {}) {
|
67
68
|
return this.get(this.getPath('/viewer/json/cluster'), {
|
@@ -319,9 +320,9 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
319
320
|
const isTracingError = isAxiosError(error) &&
|
320
321
|
(((_a = error === null || error === void 0 ? void 0 : error.response) === null || _a === void 0 ? void 0 : _a.status) === 404 || error.code === 'ERR_NETWORK');
|
321
322
|
if (isTracingError) {
|
322
|
-
return
|
323
|
+
return TRACE_RETRY_DELAY;
|
323
324
|
}
|
324
|
-
return
|
325
|
+
return TRACE_API_ERROR_RETRY_DELAY;
|
325
326
|
},
|
326
327
|
shouldResetTimeout: true,
|
327
328
|
retryCondition: () => true,
|
package/dist/services/api.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/services/api.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAGrD,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,OAAO,EAAC,OAAO,IAAI,OAAO,EAAE,WAAW,IAAI,YAAY,EAAC,MAAM,UAAU,CAAC;AAkDzE,OAAO,EACH,iCAAiC,EACjC,mCAAmC,EACnC,YAAY,GACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,0BAA0B,EAAC,MAAM,kCAAkC,CAAC;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ute";
|
11
11
|
readonly asideHeaderCompact: true;
|
12
12
|
readonly partitionsHiddenColumns: readonly [];
|
13
|
-
readonly useBackendParamsForTables:
|
13
|
+
readonly useBackendParamsForTables: true;
|
14
14
|
readonly useClusterBalancerAsBacked: true;
|
15
15
|
readonly enableAutocomplete: true;
|
16
16
|
readonly autocompleteOnEnter: true;
|
@@ -13,7 +13,7 @@ export const DEFAULT_USER_SETTINGS = {
|
|
13
13
|
[LAST_USED_QUERY_ACTION_KEY]: QUERY_ACTIONS.execute,
|
14
14
|
[ASIDE_HEADER_COMPACT_KEY]: true,
|
15
15
|
[PARTITIONS_HIDDEN_COLUMNS_KEY]: [],
|
16
|
-
[USE_PAGINATED_TABLES_KEY]:
|
16
|
+
[USE_PAGINATED_TABLES_KEY]: true,
|
17
17
|
[USE_CLUSTER_BALANCER_AS_BACKEND_KEY]: true,
|
18
18
|
[ENABLE_AUTOCOMPLETE]: true,
|
19
19
|
[AUTOCOMPLETE_ON_ENTER]: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/services/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,SAAS,EACT,mCAAmC,EACnC,wBAAwB,GAC3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,sBAAsB,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAIzC,kDAAkD;AAClD,MAAM,CAAC,MAAM,qBAAqB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