ydb-embedded-ui 6.20.0 → 6.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/dist/components/PDiskInfo/PDiskInfo.js +2 -1
  2. package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
  3. package/dist/components/PDiskInfo/PDiskInfo.scss +0 -14
  4. package/dist/components/StorageGroupInfo/StorageGroupInfo.d.ts +8 -0
  5. package/dist/components/StorageGroupInfo/StorageGroupInfo.js +123 -0
  6. package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -0
  7. package/dist/components/StorageGroupInfo/i18n/en.json +22 -0
  8. package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -0
  9. package/dist/components/StorageGroupInfo/i18n/index.js +5 -0
  10. package/dist/components/StorageGroupInfo/i18n/index.js.map +1 -0
  11. package/dist/containers/App/Content.js +7 -1
  12. package/dist/containers/App/Content.js.map +1 -1
  13. package/dist/containers/App/appSlots.d.ts +6 -0
  14. package/dist/containers/App/appSlots.js +1 -0
  15. package/dist/containers/App/appSlots.js.map +1 -1
  16. package/dist/containers/Header/breadcrumbs.js +14 -0
  17. package/dist/containers/Header/breadcrumbs.js.map +1 -1
  18. package/dist/containers/Header/i18n/en.json +2 -1
  19. package/dist/containers/Header/i18n/index.d.ts +1 -1
  20. package/dist/containers/PDiskPage/PDiskPage.js +1 -1
  21. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  22. package/dist/containers/PDiskPage/PDiskPage.scss +15 -4
  23. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js +3 -1
  24. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -1
  25. package/dist/containers/StorageGroupPage/StorageGroupPage.d.ts +2 -0
  26. package/dist/containers/StorageGroupPage/StorageGroupPage.js +117 -0
  27. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -0
  28. package/dist/containers/StorageGroupPage/StorageGroupPage.scss +40 -0
  29. package/dist/containers/StorageGroupPage/i18n/en.json +6 -0
  30. package/dist/containers/StorageGroupPage/i18n/index.d.ts +1 -0
  31. package/dist/containers/StorageGroupPage/i18n/index.js +5 -0
  32. package/dist/containers/StorageGroupPage/i18n/index.js.map +1 -0
  33. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -2
  34. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  35. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +30 -0
  36. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +5 -0
  37. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  38. package/dist/routes.d.ts +3 -0
  39. package/dist/routes.js +5 -0
  40. package/dist/routes.js.map +1 -1
  41. package/dist/services/api.js +1 -1
  42. package/dist/services/api.js.map +1 -1
  43. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  44. package/dist/store/reducers/capabilities/hooks.js +3 -0
  45. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  46. package/dist/store/reducers/header/types.d.ts +5 -2
  47. package/dist/store/reducers/nodes/types.d.ts +1 -0
  48. package/dist/store/reducers/storage/types.d.ts +19 -0
  49. package/dist/store/reducers/storage/utils.js +7 -2
  50. package/dist/store/reducers/storage/utils.js.map +1 -1
  51. package/dist/types/api/capabilities.d.ts +1 -1
  52. package/dist/types/api/meta.d.ts +3 -0
  53. package/package.json +1 -1
@@ -0,0 +1,117 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import React from 'react';
3
+ import { Tabs } from '@gravity-ui/uikit';
4
+ import { skipToken } from '@reduxjs/toolkit/query';
5
+ import { Helmet } from 'react-helmet-async';
6
+ import { StringParam, useQueryParams } from 'use-query-params';
7
+ import { z } from 'zod';
8
+ import { EntityPageTitle } from '../../components/EntityPageTitle/EntityPageTitle';
9
+ import { ResponseError } from '../../components/Errors/ResponseError';
10
+ import { InfoViewerSkeleton } from '../../components/InfoViewerSkeleton/InfoViewerSkeleton';
11
+ import { InternalLink } from '../../components/InternalLink';
12
+ import { PageMetaWithAutorefresh } from '../../components/PageMeta/PageMeta';
13
+ import { StorageGroupInfo } from '../../components/StorageGroupInfo/StorageGroupInfo';
14
+ import { getStorageGroupPath } from '../../routes';
15
+ import { useStorageGroupsHandlerAvailable } from '../../store/reducers/capabilities/hooks';
16
+ import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
17
+ import { STORAGE_TYPES } from '../../store/reducers/storage/constants';
18
+ import { storageApi } from '../../store/reducers/storage/storage';
19
+ import { EFlag } from '../../types/api/enums';
20
+ import { valueIsDefined } from '../../utils';
21
+ import { cn } from '../../utils/cn';
22
+ import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
23
+ import { useAutoRefreshInterval, useTypedDispatch } from '../../utils/hooks';
24
+ import { NodesUptimeFilterValues } from '../../utils/nodes';
25
+ import { StorageGroups } from '../Storage/StorageGroups/StorageGroups';
26
+ import { StorageNodes } from '../Storage/StorageNodes/StorageNodes';
27
+ import { storageGroupPageKeyset } from './i18n';
28
+ import './StorageGroupPage.scss';
29
+ const STORAGE_GROUP_PAGE_TABS = [
30
+ {
31
+ id: STORAGE_TYPES.groups,
32
+ get title() {
33
+ return storageGroupPageKeyset('group');
34
+ },
35
+ },
36
+ {
37
+ id: STORAGE_TYPES.nodes,
38
+ get title() {
39
+ return storageGroupPageKeyset('nodes');
40
+ },
41
+ },
42
+ ];
43
+ const storageGroupPageCn = cn('ydb-storage-group-page');
44
+ const storageGroupTabSchema = z.nativeEnum(STORAGE_TYPES).catch(STORAGE_TYPES.groups);
45
+ export function StorageGroupPage() {
46
+ var _a, _b, _c;
47
+ const dispatch = useTypedDispatch();
48
+ const [{ groupId, activeTab }] = useQueryParams({
49
+ groupId: StringParam,
50
+ activeTab: StringParam,
51
+ });
52
+ const storageGroupTab = storageGroupTabSchema.parse(activeTab);
53
+ React.useEffect(() => {
54
+ dispatch(setHeaderBreadcrumbs('storageGroup', { groupId }));
55
+ }, [dispatch, groupId]);
56
+ const [autoRefreshInterval] = useAutoRefreshInterval();
57
+ const shouldUseGroupsHandler = useStorageGroupsHandlerAvailable();
58
+ const groupQuery = storageApi.useGetStorageGroupsInfoQuery(valueIsDefined(groupId) ? { groupId, shouldUseGroupsHandler } : skipToken, {
59
+ pollingInterval: autoRefreshInterval,
60
+ });
61
+ const nodesQuery = storageApi.useGetStorageNodesInfoQuery(groupId && storageGroupTab === STORAGE_TYPES.nodes ? { group_id: groupId } : skipToken, {
62
+ pollingInterval: autoRefreshInterval,
63
+ });
64
+ const storageGroupData = (_b = (_a = groupQuery.data) === null || _a === void 0 ? void 0 : _a.groups) === null || _b === void 0 ? void 0 : _b[0];
65
+ const nodesData = (_c = nodesQuery.data) === null || _c === void 0 ? void 0 : _c.nodes;
66
+ const loading = groupQuery.isFetching && storageGroupData === undefined;
67
+ const renderHelmet = () => {
68
+ const pageTitle = groupId
69
+ ? `${storageGroupPageKeyset('storage-group')} ${groupId}`
70
+ : storageGroupPageKeyset('storage-group');
71
+ return (_jsx(Helmet, { titleTemplate: `%s - ${pageTitle} — YDB Monitoring`, defaultTitle: `${pageTitle} — YDB Monitoring` }));
72
+ };
73
+ const renderPageMeta = () => {
74
+ if (!groupId) {
75
+ return null;
76
+ }
77
+ const items = [`${storageGroupPageKeyset('pool-name')}: ${storageGroupData === null || storageGroupData === void 0 ? void 0 : storageGroupData.PoolName}`];
78
+ return (_jsx(PageMetaWithAutorefresh, { className: storageGroupPageCn('meta'), loading: loading, items: items }));
79
+ };
80
+ const renderPageTitle = () => {
81
+ return (_jsx(EntityPageTitle, { className: storageGroupPageCn('title'), entityName: storageGroupPageKeyset('storage-group'), status: (storageGroupData === null || storageGroupData === void 0 ? void 0 : storageGroupData.Overall) || EFlag.Grey, id: groupId }));
82
+ };
83
+ const renderInfo = () => {
84
+ if (loading) {
85
+ return _jsx(InfoViewerSkeleton, { className: storageGroupPageCn('info'), rows: 10 });
86
+ }
87
+ return _jsx(StorageGroupInfo, { data: storageGroupData, className: storageGroupPageCn('info') });
88
+ };
89
+ const renderTabs = () => {
90
+ return (_jsx("div", { className: storageGroupPageCn('tabs'), children: _jsx(Tabs, { size: "l", items: STORAGE_GROUP_PAGE_TABS, activeTab: storageGroupTab, wrapTo: ({ id }, tabNode) => {
91
+ const path = groupId
92
+ ? getStorageGroupPath(groupId, { activeTab: id })
93
+ : undefined;
94
+ return (_jsx(InternalLink, { to: path, children: tabNode }, id));
95
+ } }) }));
96
+ };
97
+ const renderTabsContent = () => {
98
+ switch (storageGroupTab) {
99
+ case 'groups': {
100
+ return storageGroupData ? (_jsx(StorageGroups, { data: [storageGroupData], tableSettings: DEFAULT_TABLE_SETTINGS, visibleEntities: "all" })) : null;
101
+ }
102
+ case 'nodes': {
103
+ return nodesData ? (_jsx(StorageNodes, { data: nodesData, tableSettings: DEFAULT_TABLE_SETTINGS, visibleEntities: "all", nodesUptimeFilter: NodesUptimeFilterValues.All })) : null;
104
+ }
105
+ default:
106
+ return null;
107
+ }
108
+ };
109
+ const renderError = () => {
110
+ if (!groupQuery.error && !nodesQuery.error) {
111
+ return null;
112
+ }
113
+ return _jsx(ResponseError, { error: groupQuery.error || nodesQuery.error });
114
+ };
115
+ return (_jsxs("div", { className: storageGroupPageCn(null), children: [_jsxs("div", { className: storageGroupPageCn('info-content'), children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderError(), renderInfo(), renderTabs()] }), _jsx("div", { className: storageGroupPageCn('tabs-content'), children: renderTabsContent() })] }));
116
+ }
117
+ //# sourceMappingURL=StorageGroupPage.js.map
@@ -0,0 +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,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAA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BAAgB,CAAC,CAAC,CAAC,CACtB,KAAC,aAAa,IACV,IAAI,EAAE,CAAC,gBAAgB,CAAC,EACxB,aAAa,EAAE,sBAAsB,EACrC,eAAe,EAAC,KAAK,GACvB,CACL,CAAC,CAAC,CAAC,IAAI,CAAC;YACb,CAAC;YACD,KAAK,OAAO,CAAC,CAAC,CAAC;gBACX,OAAO,SAAS,CAAC,CAAC,CAAC,CACf,KAAC,YAAY,IACT,IAAI,EAAE,SAAS,EACf,aAAa,EAAE,sBAAsB,EACrC,eAAe,EAAC,KAAK,EACrB,iBAAiB,EAAE,uBAAuB,CAAC,GAAG,GAChD,CACL,CAAC,CAAC,CAAC,IAAI,CAAC;YACb,CAAC;YACD;gBACI,OAAO,IAAI,CAAC;QACpB,CAAC;IACL,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE;QACrB,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,UAAU,CAAC,KAAK,IAAI,UAAU,CAAC,KAAK,GAAI,CAAC;IAC1E,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,kBAAkB,CAAC,IAAI,CAAC,aACpC,eAAK,SAAS,EAAE,kBAAkB,CAAC,cAAc,CAAC,aAC7C,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,WAAW,EAAE,EACb,UAAU,EAAE,EACZ,UAAU,EAAE,IACX,EACN,cAAK,SAAS,EAAE,kBAAkB,CAAC,cAAc,CAAC,YAAG,iBAAiB,EAAE,GAAO,IAC7E,CACT,CAAC;AACN,CAAC"}
@@ -0,0 +1,40 @@
1
+ @import '../../styles/mixins.scss';
2
+
3
+ .ydb-storage-group-page {
4
+ position: relative;
5
+
6
+ overflow: auto;
7
+
8
+ height: 100%;
9
+
10
+ &__info-content {
11
+ position: sticky;
12
+ left: 0;
13
+
14
+ display: flex;
15
+ flex-direction: column;
16
+ gap: 20px;
17
+
18
+ padding: 20px;
19
+ }
20
+
21
+ &__tabs-content {
22
+ padding-left: 20px;
23
+ }
24
+
25
+ &__meta,
26
+ &__title,
27
+ &__info,
28
+ &__tabs {
29
+ position: sticky;
30
+ left: 0;
31
+ }
32
+
33
+ &__info {
34
+ margin-top: var(--g-spacing-10);
35
+ }
36
+
37
+ &__tabs {
38
+ @include tabs-wrapper-styles();
39
+ }
40
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "storage-group": "Storage Group",
3
+ "group": "Group",
4
+ "nodes": "Nodes",
5
+ "pool-name": "Pool Name"
6
+ }
@@ -0,0 +1 @@
1
+ export declare const storageGroupPageKeyset: (key: "nodes" | "group" | "pool-name" | "storage-group", params?: import("@gravity-ui/i18n").Params) => string;
@@ -0,0 +1,5 @@
1
+ import { registerKeysets } from '../../../utils/i18n';
2
+ import en from './en.json';
3
+ const COMPONENT = 'ydb-storage-group-page';
4
+ export const storageGroupPageKeyset = registerKeysets(COMPONENT, { en });
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/StorageGroupPage/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,wBAAwB,CAAC;AAE3C,MAAM,CAAC,MAAM,sBAAsB,GAAG,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
@@ -6,6 +6,7 @@ import { Link } from 'react-router-dom';
6
6
  import { StringParam, useQueryParams } from 'use-query-params';
7
7
  import { AutoRefreshControl } from '../../../components/AutoRefreshControl/AutoRefreshControl';
8
8
  import routes, { createHref } from '../../../routes';
9
+ import { useFeatureFlagsAvailable } from '../../../store/reducers/capabilities/hooks';
9
10
  import { TENANT_DIAGNOSTICS_TABS_IDS } from '../../../store/reducers/tenant/constants';
10
11
  import { setDiagnosticsTab } from '../../../store/reducers/tenant/tenant';
11
12
  import { cn } from '../../../utils/cn';
@@ -21,7 +22,7 @@ import { Configs } from './Configs/Configs';
21
22
  import { Consumers } from './Consumers';
22
23
  import Describe from './Describe/Describe';
23
24
  import DetailedOverview from './DetailedOverview/DetailedOverview';
24
- import { DATABASE_PAGES, getPagesByType } from './DiagnosticsPages';
25
+ import { getDataBasePages, getPagesByType } from './DiagnosticsPages';
25
26
  import { HotKeys } from './HotKeys/HotKeys';
26
27
  import { Network } from './Network/Network';
27
28
  import { Partitions } from './Partitions/Partitions';
@@ -41,7 +42,8 @@ function Diagnostics(props) {
41
42
  });
42
43
  const tenantName = isDatabaseEntityType(props.type) ? props.path : props.tenantName;
43
44
  const isDatabase = isDatabaseEntityType(props.type) || props.path === props.tenantName;
44
- const pages = isDatabase ? DATABASE_PAGES : getPagesByType(props.type);
45
+ const hasFeatureFlags = useFeatureFlagsAvailable();
46
+ const pages = isDatabase ? getDataBasePages({ hasFeatureFlags }) : getPagesByType(props.type);
45
47
  let activeTab = pages.find((el) => el.id === diagnosticsTab);
46
48
  if (!activeTab) {
47
49
  activeTab = pages[0];
@@ -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,MAAM,EAAE,EAAC,UA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AC,cAAc,CAAC,EAAE,EAAE;6BACxC,CAAC,CAAC;4BAEH,OAAO,CACH,KAAC,IAAI,IAAC,EAAE,EAAE,IAAI,EAAW,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,YACvC,IAAI,IADY,EAAE,CAEhB,CACV,CAAC;wBACN,CAAC,EACD,gBAAgB,EAAE,IAAI,GACxB,EACF,KAAC,kBAAkB,KAAG,IACpB,GACJ,CACT,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,aAC9B,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,YAAG,gBAAgB,EAAE,GAAO,IAC3D,CACT,CAAC;AACN,CAAC;AAED,eAAe,WAAW,CAAC"}
@@ -162,4 +162,34 @@ export declare const VIEW_PAGES: ({
162
162
  title: string;
163
163
  })[];
164
164
  export declare const getPagesByType: (type?: EPathType) => Page[];
165
+ export declare const getDataBasePages: ({ hasFeatureFlags }: {
166
+ hasFeatureFlags?: boolean;
167
+ }) => ({
168
+ id: "overview";
169
+ title: string;
170
+ } | {
171
+ id: "topQueries";
172
+ title: string;
173
+ } | {
174
+ id: "topShards";
175
+ title: string;
176
+ } | {
177
+ id: "nodes";
178
+ title: string;
179
+ } | {
180
+ id: "tablets";
181
+ title: string;
182
+ } | {
183
+ id: "storage";
184
+ title: string;
185
+ } | {
186
+ id: "network";
187
+ title: string;
188
+ } | {
189
+ id: "describe";
190
+ title: string;
191
+ } | {
192
+ id: "configs";
193
+ title: string;
194
+ })[];
165
195
  export {};
@@ -95,4 +95,9 @@ const pathTypeToPages = {
95
95
  [EPathType.EPathTypeReplication]: ASYNC_REPLICATION_PAGES,
96
96
  };
97
97
  export const getPagesByType = (type) => (type && pathTypeToPages[type]) || DIR_PAGES;
98
+ export const getDataBasePages = ({ hasFeatureFlags }) => {
99
+ return hasFeatureFlags
100
+ ? DATABASE_PAGES
101
+ : DATABASE_PAGES.filter((item) => item.id !== TENANT_DIAGNOSTICS_TABS_IDS.configs);
102
+ };
98
103
  //# sourceMappingURL=DiagnosticsPages.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DiagnosticsPages.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/DiagnosticsPages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AAErF,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AAOpD,MAAM,QAAQ,GAAG;IACb,EAAE,EAAE,2BAA2B,CAAC,QAAQ;IACxC,KAAK,EAAE,MAAM;CAChB,CAAC;AAEF,MAAM,MAAM,GAAG;IACX,EAAE,EAAE,2BAA2B,CAAC,MAAM;IACtC,KAAK,EAAE,QAAQ;CAClB,CAAC;AAEF,MAAM,UAAU,GAAG;IACf,EAAE,EAAE,2BAA2B,CAAC,UAAU;IAC1C,KAAK,EAAE,aAAa;CACvB,CAAC;AAEF,MAAM,SAAS,GAAG;IACd,EAAE,EAAE,2BAA2B,CAAC,SAAS;IACzC,KAAK,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,KAAK,GAAG;IACV,EAAE,EAAE,2BAA2B,CAAC,KAAK;IACrC,KAAK,EAAE,OAAO;CACjB,CAAC;AAEF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AACF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AACF,MAAM,OAAO,GAAG;IACZ,EAAE,EAAE,2BAA2B,CAAC,OAAO;IACvC,KAAK,EAAE,SAAS;CACnB,CAAC;AAEF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,CAAC,CAAC,IAAI,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC,IAAI,SAAS,CAAC;AAEjG,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAC,eAAe,EAA8B,EAAE,EAAE;IAC/E,OAAO,eAAe;QAClB,CAAC,CAAC,cAAc;QAChB,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,2BAA2B,CAAC,OAAO,CAAC,CAAC;AAC3F,CAAC,CAAC"}
package/dist/routes.d.ts CHANGED
@@ -6,6 +6,7 @@ export declare const TENANT = "tenant";
6
6
  export declare const NODE = "node";
7
7
  export declare const PDISK = "pDisk";
8
8
  export declare const VDISK = "vDisk";
9
+ export declare const STORAGE_GROUP = "storageGroup";
9
10
  export declare const TABLET = "tablet";
10
11
  declare const routes: {
11
12
  readonly clusters: "/clusters";
@@ -14,6 +15,7 @@ declare const routes: {
14
15
  readonly node: "/node/:id/:activeTab?";
15
16
  readonly pDisk: "/pDisk";
16
17
  readonly vDisk: "/vDisk";
18
+ readonly storageGroup: "/storageGroup";
17
19
  readonly tablet: "/tablet/:id";
18
20
  readonly tabletsFilters: "/tabletsFilters";
19
21
  readonly auth: "/auth";
@@ -30,4 +32,5 @@ export declare function getLocationObjectFromHref(href: string): {
30
32
  };
31
33
  export declare function getPDiskPagePath(pDiskId: string | number, nodeId: string | number, query?: Query): string;
32
34
  export declare function getVDiskPagePath(vDiskSlotId: string | number, pDiskId: string | number, nodeId: string | number, query?: Query): string;
35
+ export declare function getStorageGroupPath(groupId: string | number, query?: Query): string;
33
36
  export declare function getTabletPagePath(tabletId: string | number, query?: Query): string;
package/dist/routes.js CHANGED
@@ -8,6 +8,7 @@ export const TENANT = 'tenant';
8
8
  export const NODE = 'node';
9
9
  export const PDISK = 'pDisk';
10
10
  export const VDISK = 'vDisk';
11
+ export const STORAGE_GROUP = 'storageGroup';
11
12
  export const TABLET = 'tablet';
12
13
  const routes = {
13
14
  clusters: `/${CLUSTERS}`,
@@ -16,6 +17,7 @@ const routes = {
16
17
  node: `/${NODE}/:id/:activeTab?`,
17
18
  pDisk: `/${PDISK}`,
18
19
  vDisk: `/${VDISK}`,
20
+ storageGroup: `/${STORAGE_GROUP}`,
19
21
  tablet: `/${TABLET}/:id`,
20
22
  tabletsFilters: `/tabletsFilters`,
21
23
  auth: `/auth`,
@@ -70,6 +72,9 @@ export function getPDiskPagePath(pDiskId, nodeId, query = {}) {
70
72
  export function getVDiskPagePath(vDiskSlotId, pDiskId, nodeId, query = {}) {
71
73
  return createHref(routes.vDisk, undefined, { ...query, nodeId, pDiskId, vDiskSlotId });
72
74
  }
75
+ export function getStorageGroupPath(groupId, query = {}) {
76
+ return createHref(routes.storageGroup, undefined, { ...query, groupId });
77
+ }
73
78
  export function getTabletPagePath(tabletId, query = {}) {
74
79
  return createHref(routes.tablet, { id: tabletId }, { ...query });
75
80
  }
@@ -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,MAAM,GAAG,QAAQ,CAAC;AAE/B,MAAM,MAAM,GAA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xB,MAAuB,EACvB,QAAe,EAAE;IAEjB,OAAO,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,EAAC,GAAG,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,CAAC,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,gBAAgB,CAC5B,WAA4B,EAC5B,OAAwB,EACxB,MAAuB,EACvB,QAAe,EAAE;IAEjB,OAAO,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,EAAC,GAAG,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAC,CAAC,CAAC;AACzF,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,OAAwB,EAAE,QAAe,EAAE;IAC3E,OAAO,UAAU,CAAC,MAAM,CAAC,YAAY,EAAE,SAAS,EAAE,EAAC,GAAG,KAAK,EAAE,OAAO,EAAC,CAAC,CAAC;AAC3E,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,QAAyB,EAAE,QAAe,EAAE;IAC1E,OAAO,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,EAAC,EAAE,EAAE,QAAQ,EAAC,EAAE,EAAC,GAAG,KAAK,EAAC,CAAC,CAAC;AACjE,CAAC"}
@@ -444,7 +444,7 @@ export class YdbWebVersionAPI extends YdbEmbeddedAPI {
444
444
  getClusterBaseInfo(clusterName, { concurrentId, signal } = {}) {
445
445
  return this.get(`${META_BACKEND || ''}/meta/db_clusters`, {
446
446
  name: clusterName,
447
- }, { concurrentId, requestConfig: { signal } }).then((data) => data[0]);
447
+ }, { concurrentId, requestConfig: { signal } }).then((data) => data.clusters[0]);
448
448
  }
449
449
  }
450
450
  export function createApi({ webVersion = false, withCredentials = false } = {}) {
@@ -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,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,MAAM,EAAC,CAAC,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC;IACvF,OAAO,GAAG,CAAC;AACf,CAAC"}
@@ -3,3 +3,4 @@ export declare const useCreateDirectoryFeatureAvailable: () => boolean;
3
3
  export declare const useDiskPagesAvailable: () => boolean;
4
4
  export declare const useTracingLevelOptionAvailable: () => boolean;
5
5
  export declare const useStorageGroupsHandlerAvailable: () => boolean;
6
+ export declare const useFeatureFlagsAvailable: () => boolean;
@@ -21,4 +21,7 @@ export const useTracingLevelOptionAvailable = () => {
21
21
  export const useStorageGroupsHandlerAvailable = () => {
22
22
  return useGetFeatureVersion('/storage/groups') > 2;
23
23
  };
24
+ export const useFeatureFlagsAvailable = () => {
25
+ return useGetFeatureVersion('/viewer/feature_flags') > 1;
26
+ };
24
27
  //# sourceMappingURL=hooks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/store/reducers/capabilities/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAC,eAAe,EAAE,uBAAuB,EAAC,MAAM,gBAAgB,CAAC;AAExE,MAAM,UAAU,qBAAqB;IACjC,MAAM,EAAC,IAAI,EAAE,KAAK,EAAC,GAAG,eAAe,CAAC,8BAA8B,CAAC,SAAS,CAAC,CAAC;IAEhF,OAAO,OAAO,CAAC,IAAI,IAAI,KAAK,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,oBAAoB,GAAG,CAAC,OAAmB,EAAE,EAAE;IACjD,OAAO,gBAAgB,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,uBAAuB,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACrF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAAG,EAAE;IACnD,OAAO,oBAAoB,CAAC,mBAAmB,CAAC,GAAG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OAAO,oBAAoB,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AACnD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,EAAE;IAC/C,OAAO,oBAAoB,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;AACrD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAG,EAAE;IACjD,OAAO,oBAAoB,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;AACvD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,EAAE;IACzC,OAAO,oBAAoB,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;AAC7D,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import type { ClusterTab } from '../../../containers/Cluster/utils';
2
2
  import type { NodeTab } from '../../../containers/Node/NodePages';
3
3
  import type { EType } from '../../../types/api/tablet';
4
4
  import type { setHeaderBreadcrumbs } from './header';
5
- export type Page = 'cluster' | 'tenant' | 'node' | 'pDisk' | 'vDisk' | 'tablet' | undefined;
5
+ export type Page = 'cluster' | 'tenant' | 'node' | 'pDisk' | 'vDisk' | 'tablet' | 'storageGroup' | undefined;
6
6
  export interface ClusterBreadcrumbsOptions {
7
7
  clusterName?: string;
8
8
  clusterTab?: ClusterTab;
@@ -10,6 +10,9 @@ export interface ClusterBreadcrumbsOptions {
10
10
  export interface TenantBreadcrumbsOptions extends ClusterBreadcrumbsOptions {
11
11
  tenantName?: string;
12
12
  }
13
+ export interface StorageGroupBreadcrumbsOptions extends ClusterBreadcrumbsOptions {
14
+ groupId?: string;
15
+ }
13
16
  export interface NodeBreadcrumbsOptions extends TenantBreadcrumbsOptions {
14
17
  nodeId?: string | number;
15
18
  nodeActiveTab?: NodeTab;
@@ -25,7 +28,7 @@ export interface TabletBreadcrumbsOptions extends NodeBreadcrumbsOptions {
25
28
  tabletId?: string;
26
29
  tabletType?: EType;
27
30
  }
28
- export type BreadcrumbsOptions = ClusterBreadcrumbsOptions | TenantBreadcrumbsOptions | NodeBreadcrumbsOptions | TabletBreadcrumbsOptions;
31
+ export type BreadcrumbsOptions = ClusterBreadcrumbsOptions | TenantBreadcrumbsOptions | NodeBreadcrumbsOptions | TabletBreadcrumbsOptions | StorageGroupBreadcrumbsOptions;
29
32
  export type PageBreadcrumbsOptions<T extends Page = undefined> = T extends 'cluster' ? ClusterBreadcrumbsOptions : T extends 'tenant' ? TenantBreadcrumbsOptions : T extends 'node' ? NodeBreadcrumbsOptions : T extends 'tablet' ? TabletBreadcrumbsOptions : {};
30
33
  export interface HeaderState {
31
34
  page?: Page;
@@ -49,6 +49,7 @@ export interface NodesGeneralRequestParams extends Partial<NodesSortParams> {
49
49
  }
50
50
  export interface NodesApiRequestParams extends NodesGeneralRequestParams {
51
51
  node_id?: number | string;
52
+ group_id?: number | string;
52
53
  path?: string;
53
54
  database?: string;
54
55
  /** @deprecated use database instead */
@@ -43,6 +43,7 @@ export interface PreparedStorageGroup {
43
43
  Encryption?: boolean;
44
44
  ErasureSpecies?: string;
45
45
  Degraded: number;
46
+ Overall?: EFlag;
46
47
  GroupId?: string | number;
47
48
  Usage: number;
48
49
  Read: number;
@@ -51,6 +52,24 @@ export interface PreparedStorageGroup {
51
52
  Limit: number;
52
53
  DiskSpace: EFlag;
53
54
  VDisks?: PreparedVDisk[];
55
+ Kind?: string;
56
+ ChangeTime?: number | string;
57
+ GroupGeneration?: string;
58
+ Latency?: EFlag;
59
+ AcquiredUnits?: string;
60
+ AcquiredIOPS?: number;
61
+ AcquiredThroughput?: string;
62
+ AcquiredSize?: string;
63
+ MaximumIOPS?: number;
64
+ MaximumThroughput?: string;
65
+ MaximumSize?: string;
66
+ AllocationUnits?: string | number;
67
+ State?: string;
68
+ MissingDisks?: string | number;
69
+ Available?: string;
70
+ LatencyPutTabletLog?: number;
71
+ LatencyPutUserData?: number;
72
+ LatencyGetFast?: number;
54
73
  }
55
74
  export interface UsageFilter {
56
75
  threshold: number;
@@ -53,7 +53,9 @@ export const prepareStorageGroupData = (group, pool) => {
53
53
  const diskSpaceStatus = getGroupDiskSpaceStatus(group);
54
54
  return {
55
55
  ...group,
56
+ GroupGeneration: group.GroupGeneration ? String(group.GroupGeneration) : undefined,
56
57
  GroupId: group.GroupID,
58
+ Overall: group.Overall,
57
59
  VDisks: vDisks,
58
60
  Usage: usage,
59
61
  Read: readSpeedBytesPerSec,
@@ -67,7 +69,7 @@ export const prepareStorageGroupData = (group, pool) => {
67
69
  };
68
70
  };
69
71
  export const prepareStorageGroupDataV2 = (group) => {
70
- const { VDisks = [], PoolName, Usage = 0, Read = 0, Write = 0, Used = 0, Limit = 0, Degraded = 0, Kind, MediaType, GroupID, } = group;
72
+ const { VDisks = [], PoolName, Usage = 0, Read = 0, Write = 0, Used = 0, Limit = 0, Degraded = 0, Kind, MediaType, GroupID, Overall, GroupGeneration, } = group;
71
73
  const vDisks = VDisks.map((vdisk) => prepareVDisk(vdisk, PoolName));
72
74
  const usage = Math.floor(Number(Usage) * 100);
73
75
  const diskSpaceStatus = getGroupDiskSpaceStatus(group);
@@ -78,6 +80,8 @@ export const prepareStorageGroupDataV2 = (group) => {
78
80
  MediaType: MediaType || Kind,
79
81
  VDisks: vDisks,
80
82
  Usage: usage,
83
+ Overall,
84
+ GroupGeneration: GroupGeneration ? String(GroupGeneration) : undefined,
81
85
  Read: Number(Read),
82
86
  Write: Number(Write),
83
87
  Used: Number(Used),
@@ -149,7 +153,7 @@ export const prepareStorageResponse = (data) => {
149
153
  export function prepareGroupsResponse(data) {
150
154
  const { FoundGroups, TotalGroups, StorageGroups = [] } = data;
151
155
  const preparedGroups = StorageGroups.map((group) => {
152
- const { Usage, Read, Write, Used, Limit, MissingDisks, VDisks = [] } = group;
156
+ const { Usage, Read, Write, Used, Limit, MissingDisks, VDisks = [], Overall } = group;
153
157
  const vDisks = VDisks.map((disk) => {
154
158
  var _a;
155
159
  const whiteboardVDisk = disk.Whiteboard;
@@ -173,6 +177,7 @@ export function prepareGroupsResponse(data) {
173
177
  Used: Number(Used),
174
178
  Limit: Number(Limit),
175
179
  Degraded: Number(MissingDisks),
180
+ Overall,
176
181
  VDisks: vDisks,
177
182
  DiskSpace: diskSpaceStatus,
178
183
  };