ydb-embedded-ui 6.17.1 → 6.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. package/dist/assets/icons/decommission.svg +6 -0
  2. package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.d.ts +3 -2
  3. package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js +10 -16
  4. package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js.map +1 -1
  5. package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +4 -2
  6. package/dist/components/CriticalActionDialog/CriticalActionDialog.js +7 -4
  7. package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
  8. package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +23 -1
  9. package/dist/components/CriticalActionDialog/utils.d.ts +5 -0
  10. package/dist/components/CriticalActionDialog/utils.js +4 -0
  11. package/dist/components/CriticalActionDialog/utils.js.map +1 -0
  12. package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +5 -3
  13. package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +1 -2
  14. package/dist/components/EntityPageTitle/EntityPageTitle.js +2 -2
  15. package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -1
  16. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +1 -1
  17. package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
  18. package/dist/components/LinkWithIcon/LinkWithIcon.d.ts +2 -1
  19. package/dist/components/LinkWithIcon/LinkWithIcon.js +3 -3
  20. package/dist/components/LinkWithIcon/LinkWithIcon.js.map +1 -1
  21. package/dist/components/Loader/Loader.js +1 -1
  22. package/dist/components/Loader/Loader.js.map +1 -1
  23. package/dist/components/PDiskInfo/PDiskInfo.js +1 -7
  24. package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
  25. package/dist/components/PDiskInfo/i18n/en.json +0 -1
  26. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  27. package/dist/components/PDiskPopup/PDiskPopup.js +3 -5
  28. package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
  29. package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
  30. package/dist/components/PaginatedTable/PaginatedTable.js +2 -2
  31. package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
  32. package/dist/components/PaginatedTable/PaginatedTable.scss +12 -14
  33. package/dist/components/PaginatedTable/ResizeablePaginatedTable.js +2 -1
  34. package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
  35. package/dist/components/PaginatedTable/TableChunk.js +7 -2
  36. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  37. package/dist/components/PaginatedTable/TableHead.js +14 -10
  38. package/dist/components/PaginatedTable/TableHead.js.map +1 -1
  39. package/dist/components/PaginatedTable/TableRow.js +14 -6
  40. package/dist/components/PaginatedTable/TableRow.js.map +1 -1
  41. package/dist/components/PaginatedTable/types.d.ts +1 -1
  42. package/dist/components/Skeleton/Skeleton.js +1 -1
  43. package/dist/components/Skeleton/Skeleton.js.map +1 -1
  44. package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +5 -0
  45. package/dist/components/VDisk/VDisk.d.ts +6 -3
  46. package/dist/components/VDisk/VDisk.js +6 -4
  47. package/dist/components/VDisk/VDisk.js.map +1 -1
  48. package/dist/components/VDisk/VDiskWithDonorsStack.d.ts +3 -5
  49. package/dist/components/VDisk/VDiskWithDonorsStack.js +4 -4
  50. package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
  51. package/dist/components/VDiskPopup/VDiskPopup.js +1 -1
  52. package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
  53. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.d.ts +11 -0
  54. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js +91 -0
  55. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js.map +1 -0
  56. package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.scss +6 -0
  57. package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.d.ts +6 -0
  58. package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js +20 -0
  59. package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js.map +1 -0
  60. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +4 -8
  61. package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
  62. package/dist/containers/PDiskPage/PDiskPage.js +32 -14
  63. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  64. package/dist/containers/PDiskPage/PDiskPage.scss +7 -0
  65. package/dist/containers/PDiskPage/i18n/en.json +16 -2
  66. package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
  67. package/dist/containers/Storage/Disks/Disks.d.ts +9 -0
  68. package/dist/containers/Storage/Disks/Disks.js +37 -0
  69. package/dist/containers/Storage/Disks/Disks.js.map +1 -0
  70. package/dist/containers/Storage/Disks/Disks.scss +46 -0
  71. package/dist/containers/Storage/PDisk/PDisk.d.ts +6 -2
  72. package/dist/containers/Storage/PDisk/PDisk.js +14 -7
  73. package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
  74. package/dist/containers/Storage/PDisk/PDisk.scss +4 -2
  75. package/dist/containers/Storage/PaginatedStorage.js +1 -4
  76. package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
  77. package/dist/containers/Storage/Storage.js +2 -4
  78. package/dist/containers/Storage/Storage.js.map +1 -1
  79. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +1 -3
  80. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +4 -5
  81. package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
  82. package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +1 -4
  83. package/dist/containers/Storage/StorageGroups/StorageGroups.js +4 -7
  84. package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +1 -1
  85. package/dist/containers/Storage/StorageGroups/{StorageGroups.scss → columns/StorageGroupsColumns.scss} +3 -2
  86. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +21 -0
  87. package/dist/containers/Storage/StorageGroups/{getStorageGroupsColumns.js → columns/getStorageGroupsColumns.js} +41 -21
  88. package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -0
  89. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -0
  90. package/dist/containers/Storage/StorageGroups/columns/hooks.js +19 -0
  91. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -0
  92. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +14 -0
  93. package/dist/containers/Storage/StorageGroups/columns/types.js +2 -0
  94. package/dist/containers/Storage/StorageGroups/columns/types.js.map +1 -0
  95. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +1 -1
  96. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +1 -1
  97. package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
  98. package/dist/containers/Tablet/Tablet.js +13 -11
  99. package/dist/containers/Tablet/Tablet.js.map +1 -1
  100. package/dist/containers/Tablet/components/TabletControls/TabletControls.js +1 -1
  101. package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -1
  102. package/dist/containers/Tablet/i18n/en.json +6 -3
  103. package/dist/containers/Tablet/i18n/index.d.ts +1 -1
  104. package/dist/containers/Tablets/Tablets.js +1 -1
  105. package/dist/containers/Tablets/Tablets.js.map +1 -1
  106. package/dist/containers/Tablets/i18n/en.json +2 -1
  107. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  108. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +1 -1
  109. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
  110. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +1 -1
  111. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
  112. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +3 -1
  113. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  114. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +6 -0
  115. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +5 -0
  116. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +43 -0
  117. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -0
  118. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -1
  119. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  120. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +4 -4
  121. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
  122. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +4 -4
  123. package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
  124. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +1 -1
  125. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
  126. package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +2 -2
  127. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +14 -4
  128. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +22 -17
  129. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  130. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +1 -1
  131. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
  132. package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +1 -1
  133. package/dist/containers/Tenant/Query/i18n/en.json +5 -4
  134. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  135. package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.d.ts +1 -0
  136. package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js +50 -0
  137. package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js.map +1 -0
  138. package/dist/containers/Tenant/Query/utils/replaceParams.d.ts +1 -0
  139. package/dist/containers/Tenant/Query/utils/replaceParams.js +6 -0
  140. package/dist/containers/Tenant/Query/utils/replaceParams.js.map +1 -0
  141. package/dist/containers/UserSettings/i18n/en.json +2 -0
  142. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  143. package/dist/containers/UserSettings/settings.d.ts +1 -0
  144. package/dist/containers/UserSettings/settings.js +12 -2
  145. package/dist/containers/UserSettings/settings.js.map +1 -1
  146. package/dist/containers/VDiskPage/VDiskPage.js +5 -8
  147. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  148. package/dist/containers/VDiskPage/i18n/en.json +2 -1
  149. package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
  150. package/dist/services/api.d.ts +12 -3
  151. package/dist/services/api.js +51 -8
  152. package/dist/services/api.js.map +1 -1
  153. package/dist/services/parsers/parseMetaCluster.js +34 -1
  154. package/dist/services/parsers/parseMetaCluster.js.map +1 -1
  155. package/dist/services/settings.d.ts +2 -1
  156. package/dist/services/settings.js +2 -1
  157. package/dist/services/settings.js.map +1 -1
  158. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  159. package/dist/store/reducers/executeQuery.js +5 -1
  160. package/dist/store/reducers/executeQuery.js.map +1 -1
  161. package/dist/store/reducers/explainQuery/explainQuery.js +3 -1
  162. package/dist/store/reducers/explainQuery/explainQuery.js.map +1 -1
  163. package/dist/store/reducers/trace.d.ts +8 -0
  164. package/dist/store/reducers/trace.js +21 -0
  165. package/dist/store/reducers/trace.js.map +1 -0
  166. package/dist/types/api/cluster.d.ts +3 -0
  167. package/dist/types/api/meta.d.ts +2 -0
  168. package/dist/types/api/modifyDisk.d.ts +1 -0
  169. package/dist/types/api/pdisk.d.ts +1 -1
  170. package/dist/types/api/query.d.ts +8 -4
  171. package/dist/types/api/trace.d.ts +7 -0
  172. package/dist/types/api/trace.js +2 -0
  173. package/dist/types/api/trace.js.map +1 -0
  174. package/dist/types/store/query.d.ts +4 -3
  175. package/dist/utils/constants.d.ts +2 -1
  176. package/dist/utils/constants.js +3 -2
  177. package/dist/utils/constants.js.map +1 -1
  178. package/dist/utils/disks/helpers.d.ts +1 -1
  179. package/dist/utils/disks/helpers.js +5 -1
  180. package/dist/utils/disks/helpers.js.map +1 -1
  181. package/dist/utils/disks/prepareDisks.js +10 -5
  182. package/dist/utils/disks/prepareDisks.js.map +1 -1
  183. package/dist/utils/hooks/useDelayed.d.ts +1 -1
  184. package/dist/utils/hooks/useDelayed.js +6 -1
  185. package/dist/utils/hooks/useDelayed.js.map +1 -1
  186. package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +1 -1
  187. package/dist/utils/hooks/useLastQueryExecutionSettings.js +11 -1
  188. package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
  189. package/dist/utils/hooks/useQueryExecutionSettings.d.ts +1 -7
  190. package/dist/utils/hooks/useQueryExecutionSettings.js +12 -10
  191. package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
  192. package/dist/utils/index.d.ts +1 -0
  193. package/dist/utils/index.js +5 -0
  194. package/dist/utils/index.js.map +1 -1
  195. package/dist/utils/query.d.ts +4 -3
  196. package/dist/utils/query.js +9 -7
  197. package/dist/utils/query.js.map +1 -1
  198. package/package.json +1 -1
  199. package/dist/components/CriticalActionDialog/index.d.ts +0 -1
  200. package/dist/components/CriticalActionDialog/index.js +0 -2
  201. package/dist/components/CriticalActionDialog/index.js.map +0 -1
  202. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +0 -62
  203. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +0 -1
@@ -0,0 +1,5 @@
1
+ interface TraceUrlButtonProps {
2
+ traceId?: string;
3
+ }
4
+ export declare function TraceButton({ traceId }: TraceUrlButtonProps): import("react/jsx-runtime").JSX.Element | null;
5
+ export {};
@@ -0,0 +1,43 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import React from 'react';
3
+ import { Button } from '@gravity-ui/uikit';
4
+ import { StringParam, useQueryParams } from 'use-query-params';
5
+ import { LinkWithIcon } from '../../../../components/LinkWithIcon/LinkWithIcon';
6
+ import { clusterApi } from '../../../../store/reducers/cluster/cluster';
7
+ import { traceApi } from '../../../../store/reducers/trace';
8
+ import { cn } from '../../../../utils/cn';
9
+ import { SECOND_IN_MS } from '../../../../utils/constants';
10
+ import { useDelayed } from '../../../../utils/hooks/useDelayed';
11
+ import { replaceParams } from '../utils/replaceParams';
12
+ import i18n from './i18n';
13
+ const b = cn('ydb-query-execute-result');
14
+ const TIME_BEFORE_CHECK = 15 * SECOND_IN_MS;
15
+ function hasValidTraceCheckUrl(cluster) {
16
+ return Boolean(cluster && cluster.TraceCheck && typeof cluster.TraceCheck.url === 'string');
17
+ }
18
+ function hasValidTraceViewUrl(cluster) {
19
+ return Boolean(cluster && cluster.TraceView && typeof cluster.TraceView.url === 'string');
20
+ }
21
+ export function TraceButton({ traceId }) {
22
+ var _a;
23
+ const [queryParams] = useQueryParams({ clusterName: StringParam });
24
+ const { data: { clusterData: cluster } = {} } = clusterApi.useGetClusterInfoQuery((_a = queryParams.clusterName) !== null && _a !== void 0 ? _a : undefined, { skip: !traceId });
25
+ const hasTraceCheck = Boolean(hasValidTraceCheckUrl(cluster) && traceId);
26
+ const checkTraceUrl = traceId && hasValidTraceCheckUrl(cluster)
27
+ ? replaceParams(cluster.TraceCheck.url, { traceId })
28
+ : '';
29
+ // We won't get any trace data at first 15 seconds for sure
30
+ const [readyToFetch, resetDelay] = useDelayed(TIME_BEFORE_CHECK);
31
+ React.useEffect(() => {
32
+ resetDelay();
33
+ }, [traceId, resetDelay]);
34
+ const { currentData: traceData, error: traceError } = traceApi.useCheckTraceQuery({ url: checkTraceUrl }, { skip: !hasTraceCheck || !readyToFetch });
35
+ const traceUrl = hasValidTraceViewUrl(cluster) && traceId
36
+ ? replaceParams(cluster.TraceView.url, { traceId })
37
+ : '';
38
+ if (!traceUrl) {
39
+ return null;
40
+ }
41
+ return (_jsx(Button, { view: "flat-secondary", loading: !traceData && !traceError, children: _jsx(LinkWithIcon, { className: b('trace-link', { loading: !traceData && !traceError }), title: i18n('trace'), url: traceUrl, external: true }) }));
42
+ }
43
+ //# sourceMappingURL=TraceButton.js.map
@@ -0,0 +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,MAAM,EAAC,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,UAAU,EAAC,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,kCAAkC,CAAC;AAE1D,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,UAAU,EAAC,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAErD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,GAAG,EAAE,CAAC,0BAA0B,CAAC,CAAC;AAEzC,MAAM,iBAAiB,GAAG,EAAE,GAAG,YAAY,CAAC;AAM5C,SAAS,qBAAqB,CAAC,OAAsB;IACjD,OAAO,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,UAAU,IAAI,OAAO,OAAO,CAAC,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,CAAC,YAAY,EAAC,CAC1C,CAAC;IAEF,MAAM,QAAQ,GACV,oBAAoB,CAAC,OAAO,CAAC,IAAI,OAAO;QACpC,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,EAAE,EAAC,OAAO,EAAC,CAAC;QACjD,CAAC,CAAC,EAAE,CAAC;IAEb,IAAI,CAAC,QAAQ,EAAE,CAAC;QACZ,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,CACH,KAAC,MAAM,IAAC,IAAI,EAAC,gBAAgB,EAAC,OAAO,EAAE,CAAC,SAAS,IAAI,CAAC,UAAU,YAC5D,KAAC,YAAY,IACT,SAAS,EAAE,CAAC,CAAC,YAAY,EAAE,EAAC,OAAO,EAAE,CAAC,SAAS,IAAI,CAAC,UAAU,EAAC,CAAC,EAChE,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,EACpB,GAAG,EAAE,QAAQ,EACb,QAAQ,SACV,GACG,CACZ,CAAC;AACN,CAAC"}
@@ -5,5 +5,6 @@
5
5
  "action.schema": "Schema",
6
6
  "action.stop": "Stop",
7
7
  "action.explain-plan": "Explain Plan",
8
- "action.copy": "Copy {{activeSection}}"
8
+ "action.copy": "Copy {{activeSection}}",
9
+ "trace": "Trace"
9
10
  }
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "description.graph-is-not-supported" | "action.result" | "action.stats" | "action.schema" | "action.stop" | "action.explain-plan" | "action.copy", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "trace" | "description.graph-is-not-supported" | "action.result" | "action.stats" | "action.schema" | "action.stop" | "action.explain-plan" | "action.copy", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -1,7 +1,7 @@
1
- import { ISOLATION_LEVELS, QUERY_MODES, STATISTICS_MODES, TRACING_LEVELS, } from '../../../../../utils/query';
1
+ import { QUERY_MODES, STATISTICS_MODES, TRACING_LEVELS, TRANSACTION_MODES, } from '../../../../../utils/query';
2
2
  const DEFAULT_QUERY_SETTINGS = {
3
3
  queryMode: QUERY_MODES.query,
4
- isolationLevel: ISOLATION_LEVELS.serializable,
4
+ transactionMode: TRANSACTION_MODES.implicit,
5
5
  timeout: '60',
6
6
  statisticsMode: STATISTICS_MODES.none,
7
7
  tracingLevel: TRACING_LEVELS.detailed,
@@ -25,7 +25,7 @@ describe('getChangedQueryExecutionSettings', () => {
25
25
  it('should return all keys if all settings have changed', () => {
26
26
  const currentSettings = {
27
27
  queryMode: QUERY_MODES.data,
28
- isolationLevel: ISOLATION_LEVELS.onlinero,
28
+ transactionMode: TRANSACTION_MODES.onlinero,
29
29
  timeout: '90',
30
30
  statisticsMode: STATISTICS_MODES.basic,
31
31
  tracingLevel: TRACING_LEVELS.basic,
@@ -33,7 +33,7 @@ describe('getChangedQueryExecutionSettings', () => {
33
33
  const result = getChangedQueryExecutionSettings(currentSettings, DEFAULT_QUERY_SETTINGS);
34
34
  expect(result).toEqual([
35
35
  'queryMode',
36
- 'isolationLevel',
36
+ 'transactionMode',
37
37
  'timeout',
38
38
  'statisticsMode',
39
39
  'tracingLevel',
@@ -1 +1 @@
1
- {"version":3,"file":"getChangedQueryExecutionSettings.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.ts"],"names":[],"mappings":"AACA,OAAO,EACH,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,cAAc,GACjB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,sBAAsB,GAAkB;IAC1C,SAAS,EAAE,WAAW,CAAC,KAAK;IAC5B,cAAc,EAAE,gBAAgB,CAAC,YAAY;IAC7C,OAAO,EAAE,IAAI;IACb,cAAc,EAAE,gBAAgB,CAAC,IAAI;IACrC,YAAY,EAAE,cAAc,CAAC,QAAQ;CACxC,CAAC;AAEF,OAAO,gCAAgC,MAAM,oCAAoC,CAAC;AAElF,QAAQ,CAAC,kCAAkC,EAAE,GAAG,EAAE;IAC9C,EAAE,CAAC,0DAA0D,EAAE,GAAG,EAAE;QAChE,MAAM,eAAe,GAAkB,EAAC,GAAG,sBAAsB,EAAC,CAAC;QACnE,MAAM,MAAM,GAAG,gCAAgC,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAC;QACzF,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAC/B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,sDAAsD,EAAE,GAAG,EAAE;QAC5D,MAAM,eAAe,GAAkB;YACnC,GAAG,sBAAsB;YACzB,SAAS,EAAE,WAAW,CAAC,IAAI;YAC3B,OAAO,EAAE,IAAI;SAChB,CAAC;QACF,MAAM,MAAM,GAAG,gCAAgC,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAC;QACzF,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qDAAqD,EAAE,GAAG,EAAE;QAC3D,MAAM,eAAe,GAAkB;YACnC,SAAS,EAAE,WAAW,CAAC,IAAI;YAC3B,cAAc,EAAE,gBAAgB,CAAC,QAAQ;YACzC,OAAO,EAAE,IAAI;YACb,cAAc,EAAE,gBAAgB,CAAC,KAAK;YACtC,YAAY,EAAE,cAAc,CAAC,KAAK;SACrC,CAAC;QACF,MAAM,MAAM,GAAG,gCAAgC,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAC;QACzF,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;YACnB,WAAW;YACX,gBAAgB;YAChB,SAAS;YACT,gBAAgB;YAChB,cAAc;SACjB,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"getChangedQueryExecutionSettings.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.ts"],"names":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,YAAY,EAAE,cAAc,CAAC,KAAK;SACrC,CAAC;QACF,MAAM,MAAM,GAAG,gCAAgC,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAC;QACzF,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;YACnB,WAAW;YACX,iBAAiB;YACjB,SAAS;YACT,gBAAgB;YAChB,cAAc;SACjB,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,9 +1,9 @@
1
- import { ISOLATION_LEVELS, ISOLATION_LEVELS_TITLES, QUERY_MODES, QUERY_MODES_TITLES, STATISTICS_MODES, STATISTICS_MODES_TITLES, TRACING_LEVELS, TRACING_LEVELS_TITLES, } from '../../../../../utils/query';
1
+ import { QUERY_MODES, QUERY_MODES_TITLES, STATISTICS_MODES, STATISTICS_MODES_TITLES, TRACING_LEVELS, TRACING_LEVELS_TITLES, TRANSACTION_MODES, TRANSACTION_MODES_TITLES, } from '../../../../../utils/query';
2
2
  import { QUERY_SETTINGS_FIELD_SETTINGS } from '../../QuerySettingsDialog/constants';
3
3
  import getChangedQueryExecutionSettingsDescription from './getChangedQueryExecutionSettingsDescription';
4
4
  const DEFAULT_QUERY_SETTINGS = {
5
5
  queryMode: QUERY_MODES.query,
6
- isolationLevel: ISOLATION_LEVELS.serializable,
6
+ transactionMode: TRANSACTION_MODES.implicit,
7
7
  timeout: '60',
8
8
  statisticsMode: STATISTICS_MODES.none,
9
9
  tracingLevel: TRACING_LEVELS.detailed,
@@ -36,7 +36,7 @@ describe('getChangedQueryExecutionSettingsDescription', () => {
36
36
  it('should return the correct description for all changed settings', () => {
37
37
  const currentSettings = {
38
38
  queryMode: QUERY_MODES.data,
39
- isolationLevel: ISOLATION_LEVELS.snapshot,
39
+ transactionMode: TRANSACTION_MODES.snapshot,
40
40
  timeout: '120',
41
41
  statisticsMode: STATISTICS_MODES.profile,
42
42
  tracingLevel: TRACING_LEVELS.diagnostic,
@@ -47,7 +47,7 @@ describe('getChangedQueryExecutionSettingsDescription', () => {
47
47
  });
48
48
  expect(result).toEqual({
49
49
  [QUERY_SETTINGS_FIELD_SETTINGS.queryMode.title]: QUERY_MODES_TITLES.data,
50
- [QUERY_SETTINGS_FIELD_SETTINGS.isolationLevel.title]: ISOLATION_LEVELS_TITLES['snapshot-read-only'],
50
+ [QUERY_SETTINGS_FIELD_SETTINGS.transactionMode.title]: TRANSACTION_MODES_TITLES['snapshot-read-only'],
51
51
  [QUERY_SETTINGS_FIELD_SETTINGS.timeout.title]: '120',
52
52
  [QUERY_SETTINGS_FIELD_SETTINGS.statisticsMode.title]: STATISTICS_MODES_TITLES.profile,
53
53
  [QUERY_SETTINGS_FIELD_SETTINGS.tracingLevel.title]: TRACING_LEVELS_TITLES.diagnostic,
@@ -1 +1 @@
1
- {"version":3,"file":"getChangedQueryExecutionSettingsDescription.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.ts"],"names":[],"mappings":"AACA,OAAO,EACH,gBAAgB,EAChB,uBAAuB,EACvB,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,GACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAC,6BAA6B,EAAC,MAAM,qCAAqC,CAAC;AAElF,OAAO,2CAA2C,MAAM,+CAA+C,CAAC;AAExG,MAAM,sBAAsB,GAAkB;IAC1C,SAAS,EAAE,WAAW,CAAC,KAAK;IAC5B,cAAc,EAAE,gBAAgB,CAAC,YAAY;IAC7C,OAAO,EAAE,IAAI;IACb,cAAc,EAAE,gBAAgB,CAAC,IAAI;IACrC,YAAY,EAAE,cAAc,CAAC,QAAQ;CACxC,CAAC;AAEF,QAAQ,CAAC,6CAA6C,EAAE,GAAG,EAAE;IACzD,EAAE,CAAC,sDAAsD,EAAE,GAAG,EAAE;QAC5D,MAAM,eAAe,GAAkB,EAAC,GAAG,sBAAsB,EAAC,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CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,kBAAkB,CAAC,IAAI;YACxE,CAAC,6BAA6B,CAAC,cAAc,CAAC,KAAK,CAAC,EAChD,uBAAuB,CAAC,oBAAoB,CAAC;YACjD,CAAC,6BAA6B,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK;YACpD,CAAC,6BAA6B,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,uBAAuB,CAAC,OAAO;YACrF,CAAC,6BAA6B,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,qBAAqB,CAAC,UAAU;SACvF,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"getChangedQueryExecutionSettingsDescription.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.ts"],"names":[],"mappings":"AACA,OAAO,EACH,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,GAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAC,6BAA6B,EAAC,MAAM,qCAAqC,CAAC;AAElF,OAAO,2CAA2C,MAAM,+CAA+C,CAAC;AAExG,MAAM,sBAAsB,GAAkB;IAC1C,SAAS,EAAE,WAAW,CAAC,KAAK;IAC5B,eAAe,EAAE,iBAAiB,CAAC,QAAQ;IAC3C,OAAO,EAAE,IAAI;IACb,cAAc,EAAE,gBAAgB,CAAC,IAAI;IACrC,YAAY,EAAE,cAAc,CAAC,QAAQ;CACxC,CAAC;AAEF,QAAQ,CAAC,6CAA6C,EAAE,GAAG,EAAE;IACzD,EAAE,CAAC,sDAAsD,EAAE,GAAG,EAAE;QAC5D,MAAM,eAAe,GAAkB,EAAC,GAAG,sBAAsB,EAAC,CAAC;QAEnE,MAAM,MAAM,GAAG,2CAA2C,CAAC;YACvD,eAAe;YACf,eAA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AC,6BAA6B,CAAC,eAAe,CAAC,KAAK,CAAC,EACjD,wBAAwB,CAAC,oBAAoB,CAAC;YAClD,CAAC,6BAA6B,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK;YACpD,CAAC,6BAA6B,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,uBAAuB,CAAC,OAAO;YACrF,CAAC,6BAA6B,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,qBAAqB,CAAC,UAAU;SACvF,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -29,7 +29,7 @@ function QuerySettingsForm({ initialValues, onSubmit, onClose }) {
29
29
  defaultValues: initialValues,
30
30
  });
31
31
  const enableTracingLevel = useTracingLevelOptionAvailable();
32
- return (_jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [_jsxs(Dialog.Body, { className: b('dialog-body'), children: [_jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "queryMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.queryMode.title }), _jsx("div", { className: b('control-wrapper', { queryMode: true }), children: _jsx(Controller, { name: "queryMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.queryMode.options })) }) })] }), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "timeout", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.timeout.title }), _jsx("div", { className: b('control-wrapper'), children: _jsx(Controller, { name: "timeout", control: control, render: ({ field }) => (_jsxs(React.Fragment, { children: [_jsx(TextInput, { type: "number", ...field, className: b('timeout'), placeholder: "60" }), _jsx("span", { className: b('timeout-suffix'), children: i18n('form.timeout.seconds') })] })) }) })] }), enableTracingLevel && (_jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "tracingLevel", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.tracingLevel.title }), _jsx("div", { className: b('control-wrapper'), children: _jsx(Controller, { name: "tracingLevel", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.tracingLevel.options })) }) })] })), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "isolationLevel", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.isolationLevel.title }), _jsx("div", { className: b('control-wrapper', { isolationLevel: true }), children: _jsx(Controller, { name: "isolationLevel", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.isolationLevel.options })) }) })] }), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "statisticsMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.statisticsMode.title }), _jsx("div", { className: b('control-wrapper', { statisticsMode: true }), children: _jsx(Controller, { name: "statisticsMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.statisticsMode.options })) }) })] })] }), _jsx(Dialog.Footer, { textButtonApply: i18n('button-done'), textButtonCancel: i18n('button-cancel'), onClickButtonCancel: onClose, propsButtonApply: {
32
+ return (_jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [_jsxs(Dialog.Body, { className: b('dialog-body'), children: [_jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "queryMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.queryMode.title }), _jsx("div", { className: b('control-wrapper', { queryMode: true }), children: _jsx(Controller, { name: "queryMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.queryMode.options })) }) })] }), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "timeout", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.timeout.title }), _jsx("div", { className: b('control-wrapper'), children: _jsx(Controller, { name: "timeout", control: control, render: ({ field }) => (_jsxs(React.Fragment, { children: [_jsx(TextInput, { type: "number", ...field, className: b('timeout'), placeholder: "60" }), _jsx("span", { className: b('timeout-suffix'), children: i18n('form.timeout.seconds') })] })) }) })] }), enableTracingLevel && (_jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "tracingLevel", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.tracingLevel.title }), _jsx("div", { className: b('control-wrapper'), children: _jsx(Controller, { name: "tracingLevel", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.tracingLevel.options })) }) })] })), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "transactionMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.transactionMode.title }), _jsx("div", { className: b('control-wrapper', { transactionMode: true }), children: _jsx(Controller, { name: "transactionMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.transactionMode.options })) }) })] }), _jsxs(Flex, { direction: "row", alignItems: "flex-start", className: b('dialog-row'), children: [_jsx("label", { htmlFor: "statisticsMode", className: b('field-title'), children: QUERY_SETTINGS_FIELD_SETTINGS.statisticsMode.title }), _jsx("div", { className: b('control-wrapper', { statisticsMode: true }), children: _jsx(Controller, { name: "statisticsMode", control: control, render: ({ field }) => (_jsx(QuerySettingsSelect, { setting: field.value, onUpdateSetting: field.onChange, settingOptions: QUERY_SETTINGS_FIELD_SETTINGS.statisticsMode.options })) }) })] })] }), _jsx(Dialog.Footer, { textButtonApply: i18n('button-done'), textButtonCancel: i18n('button-cancel'), onClickButtonCancel: onClose, propsButtonApply: {
33
33
  type: 'submit',
34
34
  }, renderButtons: (buttonApply, buttonCancel) => (_jsxs("div", { className: b('buttons-container'), children: [_jsx(ExternalLink, { href: "https://ydb.tech/docs", target: "_blank", className: b('documentation-link'), children: i18n('docs') }), _jsxs("div", { className: b('main-buttons'), children: [buttonCancel, buttonApply] })] })) })] }));
35
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QuerySettingsDialog.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAE,IAAI,IAAI,YAAY,EAAE,IAAI,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAC,UAAU,EAAE,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAC,8BAA8B,EAAC,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EACH,iBAAiB,EACjB,cAAc,GACjB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EACH,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,6BAA6B,EAAC,MAAM,aAAa,CAAC;AAC1D,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,4BAA4B,CAAC;AAEpC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC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ACZ,WAAW,IACV,IACJ,CACT,GACH,IACC,CACV,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"QuerySettingsDialog.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAE,IAAI,IAAI,YAAY,EAAE,IAAI,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAC,UAAU,EAAE,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAC,8BAA8B,EAAC,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EACH,iBAAiB,EACjB,cAAc,GACjB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EACH,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,6BAA6B,EAAC,MAAM,aAAa,CAAC;AAC1D,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,4BAA4B,CAAC;AAEpC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAE1C,MAAM,UAAU,mBAAmB;IAC/B,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IACpC,MAAM,WAAW,GAAG,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;IACxD,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,yBAAyB,EAAE,CAAC;IAEtE,MAAM,OAAO,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACnC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACrC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,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Ac,EAAE,IAAI,EAAC,CAAC,YACxD,KAAC,UAAU,IACP,IAAI,EAAC,gBAAgB,EACrB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,CACjB,KAAC,mBAAmB,IAChB,OAAO,EAAE,KAAK,CAAC,KAAK,EACpB,eAAe,EAAE,KAAK,CAAC,QAAQ,EAC/B,cAAc,EACV,6BAA6B,CAAC,cAAc,CAAC,OAAO,GAE1D,CACL,GACH,GACA,IACH,IACG,EACd,KAAC,MAAM,CAAC,MAAM,IACV,eAAe,EAAE,IAAI,CAAC,aAAa,CAAC,EACpC,gBAAgB,EAAE,IAAI,CAAC,eAAe,CAAC,EACvC,mBAAmB,EAAE,OAAO,EAC5B,gBAAgB,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACjB,EACD,aAAa,EAAE,CAAC,WAAW,EAAE,YAAY,EAAE,EAAE,CAAC,CAC1C,eAAK,SAAS,EAAE,CAAC,CAAC,mBAAmB,CAAC,aAClC,KAAC,YAAY,IACT,IAAI,EAAC,uBAAuB,EAC5B,MAAM,EAAC,QAAQ,EACf,SAAS,EAAE,CAAC,CAAC,oBAAoB,CAAC,YAEjC,IAAI,CAAC,MAAM,CAAC,GACF,EACf,eAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,aAC5B,YAAY,EACZ,WAAW,IACV,IACJ,CACT,GACH,IACC,CACV,CAAC;AACN,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import type { SelectOption } from '@gravity-ui/uikit';
2
- import type { IsolationLevel, QueryMode, StatisticsMode, TracingLevel } from '../../../../types/store/query';
2
+ import type { QueryMode, StatisticsMode, TracingLevel, TransactionMode } from '../../../../types/store/query';
3
3
  import './QuerySettingsSelect.scss';
4
4
  export declare const getOptionHeight: () => number;
5
- type SelectType = QueryMode | IsolationLevel | StatisticsMode | TracingLevel;
5
+ type SelectType = QueryMode | TransactionMode | StatisticsMode | TracingLevel;
6
6
  type QuerySettingSelectOption<T> = SelectOption<T> & {
7
7
  isDefault?: boolean;
8
8
  };
@@ -1,8 +1,13 @@
1
- export declare const ISOLATION_LEVEL_SELECT_OPTIONS: ({
2
- value: "serializable-read-write";
1
+ export declare const TRANSACTION_MODE_SELECT_OPTIONS: ({
2
+ value: "implicit";
3
3
  content: string;
4
4
  text: string;
5
5
  isDefault: boolean;
6
+ } | {
7
+ value: "serializable-read-write";
8
+ content: string;
9
+ text: string;
10
+ isDefault?: undefined;
6
11
  } | {
7
12
  value: "online-read-only";
8
13
  content: string;
@@ -98,13 +103,18 @@ export declare const TRACING_LEVEL_SELECT_OPTIONS: ({
98
103
  isDefault?: undefined;
99
104
  })[];
100
105
  export declare const QUERY_SETTINGS_FIELD_SETTINGS: {
101
- readonly isolationLevel: {
106
+ readonly transactionMode: {
102
107
  readonly title: string;
103
108
  readonly options: ({
104
- value: "serializable-read-write";
109
+ value: "implicit";
105
110
  content: string;
106
111
  text: string;
107
112
  isDefault: boolean;
113
+ } | {
114
+ value: "serializable-read-write";
115
+ content: string;
116
+ text: string;
117
+ isDefault?: undefined;
108
118
  } | {
109
119
  value: "online-read-only";
110
120
  content: string;
@@ -1,27 +1,32 @@
1
- import { ISOLATION_LEVELS, ISOLATION_LEVELS_TITLES, QUERY_MODES, QUERY_MODES_TITLES, STATISTICS_MODES, STATISTICS_MODES_TITLES, TRACING_LEVELS, TRACING_LEVELS_TITLES, } from '../../../../utils/query';
1
+ import { QUERY_MODES, QUERY_MODES_TITLES, STATISTICS_MODES, STATISTICS_MODES_TITLES, TRACING_LEVELS, TRACING_LEVELS_TITLES, TRANSACTION_MODES, TRANSACTION_MODES_TITLES, } from '../../../../utils/query';
2
2
  import i18n from '../i18n';
3
3
  import formI18n from './i18n';
4
- export const ISOLATION_LEVEL_SELECT_OPTIONS = [
4
+ export const TRANSACTION_MODE_SELECT_OPTIONS = [
5
5
  {
6
- value: ISOLATION_LEVELS.serializable,
7
- content: ISOLATION_LEVELS_TITLES[ISOLATION_LEVELS.serializable],
8
- text: i18n('isolation-level-description.serializable'),
6
+ value: TRANSACTION_MODES.implicit,
7
+ content: TRANSACTION_MODES_TITLES[TRANSACTION_MODES.implicit],
8
+ text: i18n('transaction-mode-description.implicit'),
9
9
  isDefault: true,
10
10
  },
11
11
  {
12
- value: ISOLATION_LEVELS.onlinero,
13
- content: ISOLATION_LEVELS_TITLES[ISOLATION_LEVELS.onlinero],
14
- text: i18n('isolation-level-description.onlinero'),
12
+ value: TRANSACTION_MODES.serializable,
13
+ content: TRANSACTION_MODES_TITLES[TRANSACTION_MODES.serializable],
14
+ text: i18n('transaction-mode-description.serializable'),
15
15
  },
16
16
  {
17
- value: ISOLATION_LEVELS.stalero,
18
- content: ISOLATION_LEVELS_TITLES[ISOLATION_LEVELS.stalero],
19
- text: i18n('isolation-level-description.stalero'),
17
+ value: TRANSACTION_MODES.onlinero,
18
+ content: TRANSACTION_MODES_TITLES[TRANSACTION_MODES.onlinero],
19
+ text: i18n('transaction-mode-description.onlinero'),
20
20
  },
21
21
  {
22
- value: ISOLATION_LEVELS.snapshot,
23
- content: ISOLATION_LEVELS_TITLES[ISOLATION_LEVELS.snapshot],
24
- text: i18n('isolation-level-description.snapshot'),
22
+ value: TRANSACTION_MODES.stalero,
23
+ content: TRANSACTION_MODES_TITLES[TRANSACTION_MODES.stalero],
24
+ text: i18n('transaction-mode-description.stalero'),
25
+ },
26
+ {
27
+ value: TRANSACTION_MODES.snapshot,
28
+ content: TRANSACTION_MODES_TITLES[TRANSACTION_MODES.snapshot],
29
+ text: i18n('transaction-mode-description.snapshot'),
25
30
  },
26
31
  ];
27
32
  export const QUERY_MODE_SELECT_OPTIONS = [
@@ -109,9 +114,9 @@ export const TRACING_LEVEL_SELECT_OPTIONS = [
109
114
  },
110
115
  ];
111
116
  export const QUERY_SETTINGS_FIELD_SETTINGS = {
112
- isolationLevel: {
113
- title: formI18n('form.isolation-level'),
114
- options: ISOLATION_LEVEL_SELECT_OPTIONS,
117
+ transactionMode: {
118
+ title: formI18n('form.transaction-mode'),
119
+ options: TRANSACTION_MODE_SELECT_OPTIONS,
115
120
  },
116
121
  queryMode: {
117
122
  title: formI18n('form.query-mode'),
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,EAChB,uBAAuB,EACvB,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,GACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,QAAQ,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC1C;QACI,KAAK,EAAE,gBAAgB,CAAC,YAAY;QACpC,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,YAAY,CAAC;QAC/D,IAAI,EAAE,IAAI,CAAC,0CAA0C,CAAC;QACtD,SAAS,EAAE,IAAI;KAClB;IACD;QACI,KAAK,EAAE,gBAAgB,CAAC,QAAQ;QAChC,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,QAAQ,CAAC;QAC3D,IAAI,EAAE,IAAI,CAAC,sCAAsC,CAAC;KACrD;IACD;QACI,KAAK,EAAE,gBAAgB,CAAC,OAAO;QAC/B,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,OAAO,CAAC;QAC1D,IAAI,EAAE,IAAI,CAAC,qCAAqC,CAAC;KACpD;IACD;QACI,KAAK,EAAE,gBAAgB,CAAC,QAAQ;QAChC,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,QAAQ,CAAC;QAC3D,IAAI,EAAE,IAAI,CAAC,sCAAsC,CAAC;KACrD;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACrC;QACI,KAAK,EAAE,WAAW,CAAC,KAAK;QACxB,OAAO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,CAAC,sBAAsB,CAAC;QACvC,OAAO,EAAE,8BAA8B;KAC1C;IACD,SAAS,EAAE;QACP,KAAK,EAAE,QAAQ,CAAC,iBAAiB,CAAC;QAClC,OAAO,EAAE,yBAAyB;KACrC;IACD,cAAc,EAAE;QACZ,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC;QACvC,OAAO,EAAE,8BAA8B;KAC1C;IACD,YAAY,EAAE;QACV,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC;QACrC,OAAO,EAAE,4BAA4B;KACxC;IACD,OAAO,EAAE;QACL,KAAK,EAAE,QAAQ,CAAC,cAAc,CAAC;KAClC;CACK,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QuerySettingsDialog/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,GAC3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,QAAQ,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC3C;QACI,KAAK,EAAE,iBAAiB,CAAC,QAAQ;QACjC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,QAAQ,CAAC;QAC7D,IAAI,EAAE,IAAI,CAAC,uCAAuC,CAAC;QACnD,SAAS,EAAE,IAAI;KAClB;IACD;QACI,KAAK,EAAE,iBAAiB,CAAC,YAAY;QACrC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,YAAY,CAAC;QACjE,IAAI,EAAE,IAAI,CAAC,2CAA2C,CAAC;KAC1D;IACD;QACI,KAAK,EAAE,iBAAiB,CAAC,QAAQ;QACjC,OAAO,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,QAAQ,CAAC;QAC7D,IAAI,EAAE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,IAAI,CAAC,oCAAoC,CAAC;QAChD,SAAS,EAAE,IAAI;KAClB;IACD;QACI,KAAK,EAAE,cAAc,CAAC,UAAU;QAChC,OAAO,EAAE,qBAAqB,CAAC,cAAc,CAAC,UAAU,CAAC;QACzD,IAAI,EAAE,IAAI,CAAC,sCAAsC,CAAC;KACrD;IACD;QACI,KAAK,EAAE,cAAc,CAAC,KAAK;QAC3B,OAAO,EAAE,qBAAqB,CAAC,cAAc,CAAC,KAAK,CAAC;QACpD,IAAI,EAAE,IAAI,CAAC,iCAAiC,CAAC;KAChD;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG;IACzC,eAAe,EAAE;QACb,KAAK,EAAE,QAAQ,CAAC,uBAAuB,CAAC;QACxC,OAAO,EAAE,+BAA+B;KAC3C;IACD,SAAS,EAAE;QACP,KAAK,EAAE,QAAQ,CAAC,iBAAiB,CAAC;QAClC,OAAO,EAAE,yBAAyB;KACrC;IACD,cAAc,EAAE;QACZ,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC;QACvC,OAAO,EAAE,8BAA8B;KAC1C;IACD,YAAY,EAAE;QACV,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC;QACrC,OAAO,EAAE,4BAA4B;KACxC;IACD,OAAO,EAAE;QACL,KAAK,EAAE,QAAQ,CAAC,cAAc,CAAC;KAClC;CACK,CAAC"}
@@ -2,7 +2,7 @@
2
2
  "action.settings": "Query settings",
3
3
  "form.query-mode": "Query type",
4
4
  "form.timeout": "Timeout",
5
- "form.isolation-level": "Isolation level",
5
+ "form.transaction-mode": "Transaction mode",
6
6
  "form.statistics-mode": "Statistics collection mode",
7
7
  "form.tracing-level": "Tracing level",
8
8
  "button-done": "Save",
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "button-cancel" | "action.settings" | "form.query-mode" | "form.timeout" | "form.isolation-level" | "form.statistics-mode" | "form.tracing-level" | "button-done" | "form.timeout.seconds" | "description.default" | "docs", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "button-cancel" | "action.settings" | "form.query-mode" | "form.timeout" | "form.transaction-mode" | "form.statistics-mode" | "form.tracing-level" | "button-done" | "form.timeout.seconds" | "description.default" | "docs", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -2,7 +2,7 @@
2
2
  "action.settings": "Настройки запроса",
3
3
  "form.query-mode": "Тип запроса",
4
4
  "form.timeout": "Таймаут",
5
- "form.isolation-level": "Уровень изоляции",
5
+ "form.transaction-mode": "Уровень изоляции",
6
6
  "form.statistics-mode": "Режим сбора статистики",
7
7
  "form.tracing-level": "Tracing level",
8
8
  "button-done": "Готово",
@@ -18,10 +18,11 @@
18
18
  "method-description.data": "DML queries for changing and fetching data in serialization mode.\nAPI call: table.executeDataQuery",
19
19
  "method-description.query": "Any query. An experimental API call supposed to replace all existing methods.\nAPI Call: query.ExecuteScript",
20
20
  "method-description.pg": "Queries in postgresql syntax.\nAPI call: query.ExecuteScript",
21
- "isolation-level-description.serializable": "Provides the strictest isolation level for custom transactions",
22
- "isolation-level-description.onlinero": "Each read operation in the transaction is reading the data that is most recent at execution time",
23
- "isolation-level-description.stalero": "Read operations within a transaction may return results that are slightly out-of-date (lagging by fractions of a second)",
24
- "isolation-level-description.snapshot": "All the read operations within a transaction access the database snapshot. All the data reads are consistent",
21
+ "transaction-mode-description.serializable": "Provides the strictest isolation level for custom transactions",
22
+ "transaction-mode-description.onlinero": "Each read operation in the transaction is reading the data that is most recent at execution time",
23
+ "transaction-mode-description.stalero": "Read operations within a transaction may return results that are slightly out-of-date (lagging by fractions of a second)",
24
+ "transaction-mode-description.snapshot": "All the read operations within a transaction access the database snapshot. All the data reads are consistent",
25
+ "transaction-mode-description.implicit": "No transaction",
25
26
  "tracing-level-description.basic": "Spans of main component operations",
26
27
  "tracing-level-description.detailed": "Highest detail applicable for diagnosing problems in production",
27
28
  "tracing-level-description.diagnostic": "Detailed debugging information for developers",
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "filter.text.placeholder" | "controls.query-mode-selector_type" | "tabs.newQuery" | "tabs.history" | "tabs.saved" | "history.empty" | "history.empty-search" | "saved.empty" | "delete-dialog.header" | "delete-dialog.question" | "delete-dialog.delete" | "delete-dialog.cancel" | "preview.title" | "preview.not-available" | "preview.close" | "method-description.script" | "method-description.scan" | "method-description.data" | "method-description.query" | "method-description.pg" | "isolation-level-description.serializable" | "isolation-level-description.onlinero" | "isolation-level-description.stalero" | "isolation-level-description.snapshot" | "tracing-level-description.basic" | "tracing-level-description.detailed" | "tracing-level-description.diagnostic" | "tracing-level-description.off" | "tracing-level-description.toplevel" | "tracing-level-description.trace" | "statistics-mode-description.none" | "statistics-mode-description.basic" | "statistics-mode-description.full" | "statistics-mode-description.profile" | "query-duration.description" | "action.send-query" | "action.send-selected-query" | "action.previous-query" | "action.next-query" | "action.save-query" | "gear.tooltip" | "banner.query-settings.message" | "history.queryText" | "history.endTime" | "history.duration", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "filter.text.placeholder" | "controls.query-mode-selector_type" | "tabs.newQuery" | "tabs.history" | "tabs.saved" | "history.empty" | "history.empty-search" | "saved.empty" | "delete-dialog.header" | "delete-dialog.question" | "delete-dialog.delete" | "delete-dialog.cancel" | "preview.title" | "preview.not-available" | "preview.close" | "method-description.script" | "method-description.scan" | "method-description.data" | "method-description.query" | "method-description.pg" | "transaction-mode-description.serializable" | "transaction-mode-description.onlinero" | "transaction-mode-description.stalero" | "transaction-mode-description.snapshot" | "transaction-mode-description.implicit" | "tracing-level-description.basic" | "tracing-level-description.detailed" | "tracing-level-description.diagnostic" | "tracing-level-description.off" | "tracing-level-description.toplevel" | "tracing-level-description.trace" | "statistics-mode-description.none" | "statistics-mode-description.basic" | "statistics-mode-description.full" | "statistics-mode-description.profile" | "query-duration.description" | "action.send-query" | "action.send-selected-query" | "action.previous-query" | "action.next-query" | "action.save-query" | "gear.tooltip" | "banner.query-settings.message" | "history.queryText" | "history.endTime" | "history.duration", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -0,0 +1,50 @@
1
+ import { replaceParams } from '../replaceParams'; // Adjust the import path as needed
2
+ describe('replaceParams for example.com requests', () => {
3
+ test('replaces single parameter in URL path', () => {
4
+ const template = 'https://example.com/users/${userId}';
5
+ const params = { userId: '12345' };
6
+ expect(replaceParams(template, params)).toBe('https://example.com/users/12345');
7
+ });
8
+ test('replaces multiple parameters in URL path and query', () => {
9
+ const template = 'https://example.com/api/${version}/search?q=${query}&limit=${limit}';
10
+ const params = { version: 'v1', query: 'nodejs', limit: '10' };
11
+ expect(replaceParams(template, params)).toBe('https://example.com/api/v1/search?q=nodejs&limit=10');
12
+ });
13
+ test('handles missing parameters in complex URL', () => {
14
+ const template = 'https://example.com/${resource}/${id}?filter=${filter}&sort=${sort}';
15
+ const params = { resource: 'products', id: '987', sort: 'desc' };
16
+ expect(replaceParams(template, params)).toBe('https://example.com/products/987?filter=${filter}&sort=desc');
17
+ });
18
+ test('handles empty params object', () => {
19
+ const template = 'https://example.com/static/${path}/${file}';
20
+ const params = {};
21
+ expect(replaceParams(template, params)).toBe('https://example.com/static/${path}/${file}');
22
+ });
23
+ test('handles template with no parameters', () => {
24
+ const template = 'https://example.com/about';
25
+ const params = { unused: 'parameter' };
26
+ expect(replaceParams(template, params)).toBe('https://example.com/about');
27
+ });
28
+ test('handles empty template string', () => {
29
+ const template = '';
30
+ const params = { key: 'value' };
31
+ expect(replaceParams(template, params)).toBe('');
32
+ });
33
+ test('handles complex nested parameters in URL structure', () => {
34
+ const template = 'https://example.com/${service}/${version}/${resource}?id=${id}&type=${type}';
35
+ const params = {
36
+ service: 'api',
37
+ version: 'v2',
38
+ resource: 'users',
39
+ id: '12345',
40
+ type: 'admin',
41
+ };
42
+ expect(replaceParams(template, params)).toBe('https://example.com/api/v2/users?id=12345&type=admin');
43
+ });
44
+ test('handles URL-encoded parameters', () => {
45
+ const template = 'https://example.com/search?q=${query}';
46
+ const params = { query: encodeURIComponent('Hello World!') };
47
+ expect(replaceParams(template, params)).toBe('https://example.com/search?q=Hello%20World!');
48
+ });
49
+ });
50
+ //# sourceMappingURL=replaceParams.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replaceParams.test.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Query/utils/__test__/replaceParams.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC,CAAC,mCAAmC;AAEnF,QAAQ,CAAC,wCAAwC,EAAE,GAAG,EAAE;IACpD,IAAI,CAAC,uCAAuC,EAAE,GAAG,EAAE;QAC/C,MAAM,QAAQ,GAAG,qCAAqC,CAAC;QACvD,MAAM,MAAM,GAAG,EAAC,MAAM,EAAE,OAAO,EAAC,CAAC;QACjC,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;IACpF,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,oDAAoD,EAAE,GAAG,EAAE;QAC5D,MAAM,QAAQ,GAAG,qEAAqE,CAAC;QACvF,MAAM,MAAM,GAAG,EAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC;QAC7D,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CACxC,qDAAqD,CACxD,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,2CAA2C,EAAE,GAAG,EAAE;QACnD,MAAM,QAAQ,GAAG,qEAAqE,CAAC;QACvF,MAAM,MAAM,GAAG,EAAC,QAAQ,EAAE,UAAU,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,CAAC;QAC/D,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CACxC,6DAA6D,CAChE,CAAC;I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,uCAAuC,CAAC;QACzD,MAAM,MAAM,GAAG,EAAC,KAAK,EAAE,kBAAkB,CAAC,cAAc,CAAC,EAAC,CAAC;QAC3D,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;IAChG,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare function replaceParams(template: string, params: Record<string, string>): string;
@@ -0,0 +1,6 @@
1
+ // Takes a template string and an object of parameters, and replaces placeholders in the template with corresponding values
2
+ // from the parameters object.
3
+ export function replaceParams(template, params) {
4
+ return template.replace(/\${(\w+)}/g, (_, key) => params[key] || _);
5
+ }
6
+ //# sourceMappingURL=replaceParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replaceParams.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/utils/replaceParams.ts"],"names":[],"mappings":"AAAA,2HAA2H;AAC3H,8BAA8B;AAC9B,MAAM,UAAU,aAAa,CAAC,QAAgB,EAAE,MAA8B;IAC1E,OAAO,QAAQ,CAAC,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;AACxE,CAAC"}
@@ -22,6 +22,8 @@
22
22
  "settings.invertedDisks.title": "Inverted disks space indicators",
23
23
  "settings.useNodesEndpoint.title": "Break the Nodes tab in Diagnostics",
24
24
  "settings.useNodesEndpoint.description": "Use /viewer/json/nodes endpoint for Nodes tab in diagnostics. It could return incorrect data on versions before 24-1",
25
+ "settings.useAdvancedStorage.title": "Use advanced storage",
26
+ "settings.useAdvancedStorage.description": "Display additional data in Storage table",
25
27
  "settings.usePaginatedTables.title": "Use paginated tables",
26
28
  "settings.usePaginatedTables.description": " Use table with data load on scroll for Nodes and Storage tabs. It will increase performance, but could work unstable",
27
29
  "settings.showDomainDatabase.title": "Show domain database",
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.invertedDisks.title" | "settings.useNodesEndpoint.title" | "settings.useNodesEndpoint.description" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.queryUseMultiSchema.title" | "settings.queryUseMultiSchema.description" | "settings.useClusterBalancerAsBackend.title" | "settings.useClusterBalancerAsBackend.description" | "settings.about.interfaceVersionInfoField.title", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.invertedDisks.title" | "settings.useNodesEndpoint.title" | "settings.useNodesEndpoint.description" | "settings.useAdvancedStorage.title" | "settings.useAdvancedStorage.description" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.queryUseMultiSchema.title" | "settings.queryUseMultiSchema.description" | "settings.useClusterBalancerAsBackend.title" | "settings.useClusterBalancerAsBackend.description" | "settings.about.interfaceVersionInfoField.title", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -17,6 +17,7 @@ export declare const languageSetting: SettingProps;
17
17
  export declare const binaryDataInPlainTextDisplay: SettingProps;
18
18
  export declare const invertedDisksSetting: SettingProps;
19
19
  export declare const useNodesEndpointSetting: SettingProps;
20
+ export declare const useAdvancedStorageSetting: SettingProps;
20
21
  export declare const usePaginatedTables: SettingProps;
21
22
  export declare const showDomainDatabase: SettingProps;
22
23
  export declare const queryUseMultiSchemaSetting: SettingProps;
@@ -1,6 +1,6 @@
1
1
  import { CircleInfo, Flask, PencilToSquare, StarFill } from '@gravity-ui/icons';
2
2
  import { createNextState } from '@reduxjs/toolkit';
3
- import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY, USE_PAGINATED_TABLES_KEY, } from '../../utils/constants';
3
+ import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY, USE_ADVANCED_STORAGE_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY, USE_PAGINATED_TABLES_KEY, } from '../../utils/constants';
4
4
  import { Lang, defaultLang } from '../../utils/i18n';
5
5
  import i18n from './i18n';
6
6
  import packageJson from '../../../package.json';
@@ -57,6 +57,11 @@ export const useNodesEndpointSetting = {
57
57
  title: i18n('settings.useNodesEndpoint.title'),
58
58
  description: i18n('settings.useNodesEndpoint.description'),
59
59
  };
60
+ export const useAdvancedStorageSetting = {
61
+ settingKey: USE_ADVANCED_STORAGE_KEY,
62
+ title: i18n('settings.useAdvancedStorage.title'),
63
+ description: i18n('settings.useAdvancedStorage.description'),
64
+ };
60
65
  export const usePaginatedTables = {
61
66
  settingKey: USE_PAGINATED_TABLES_KEY,
62
67
  title: i18n('settings.usePaginatedTables.title'),
@@ -104,7 +109,12 @@ export const appearanceSection = {
104
109
  export const experimentsSection = {
105
110
  id: 'experimentsSection',
106
111
  title: i18n('section.experiments'),
107
- settings: [useNodesEndpointSetting, usePaginatedTables, queryUseMultiSchemaSetting],
112
+ settings: [
113
+ useNodesEndpointSetting,
114
+ useAdvancedStorageSetting,
115
+ usePaginatedTables,
116
+ queryUseMultiSchemaSetting,
117
+ ],
108
118
  };
109
119
  export const devSettingsSection = {
110
120
  id: 'devSettingsSection',
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/containers/UserSettings/settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EACH,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,EACZ,0BAA0B,EAC1B,wBAAwB,EACxB,SAAS,EACT,mCAAmC,EACnC,qCAAqC,EACrC,wBAAwB,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAGnD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAiBhD,MAAM,YAAY,GAAG;IACjB;QACI,KAAK,EAAE,QAAQ;QACf,OAAO,EAAE,IAAI,CAAC,8BAA8B,CAAC;KAChD;IACD;QACI,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,IAAI,CAAC,6BAA6B,CAAC;KAC/C;IACD;QACI,KAAK,EAAE,MAAM;QACb,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