ydb-embedded-ui 6.14.1 → 6.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +1 -1
  2. package/dist/components/Errors/PageError/PageError.js +4 -1
  3. package/dist/components/Errors/PageError/PageError.js.map +1 -1
  4. package/dist/components/MetricChart/reducer.d.ts +2 -2
  5. package/dist/components/QueryExecutionStatus/QueryExecutionStatus.js +1 -1
  6. package/dist/components/QueryExecutionStatus/QueryExecutionStatus.js.map +1 -1
  7. package/dist/components/VDiskInfo/VDiskInfo.js +24 -11
  8. package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
  9. package/dist/containers/App/Content.js +17 -4
  10. package/dist/containers/App/Content.js.map +1 -1
  11. package/dist/containers/Nodes/getNodes.d.ts +1 -1
  12. package/dist/containers/Nodes/getNodes.js +2 -2
  13. package/dist/containers/Nodes/getNodes.js.map +1 -1
  14. package/dist/containers/Tenant/Acl/Acl.js +28 -4
  15. package/dist/containers/Tenant/Acl/Acl.js.map +1 -1
  16. package/dist/containers/Tenant/Acl/Acl.scss +5 -0
  17. package/dist/containers/Tenant/Acl/i18n/en.json +1 -0
  18. package/dist/containers/Tenant/Acl/i18n/index.d.ts +1 -1
  19. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +1 -1
  20. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  21. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +8 -11
  22. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
  23. package/dist/containers/Tenant/Query/Preview/Preview.js +5 -1
  24. package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
  25. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +9 -3
  26. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  27. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.scss +14 -1
  28. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +1 -1
  29. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  30. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +12 -6
  31. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js.map +1 -1
  32. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.scss +14 -1
  33. package/dist/containers/Tenant/Query/i18n/en.json +2 -0
  34. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  35. package/dist/containers/Tenant/Query/utils/useSavedQueries.js +6 -2
  36. package/dist/containers/Tenant/Query/utils/useSavedQueries.js.map +1 -1
  37. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +2 -2
  38. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js.map +1 -1
  39. package/dist/containers/Tenant/Tenant.js +3 -2
  40. package/dist/containers/Tenant/Tenant.js.map +1 -1
  41. package/dist/containers/Tenant/utils/controls.d.ts +9 -0
  42. package/dist/containers/Tenant/utils/{schemaControls.js → controls.js} +14 -3
  43. package/dist/containers/Tenant/utils/controls.js.map +1 -0
  44. package/dist/services/api.js +4 -4
  45. package/dist/services/api.js.map +1 -1
  46. package/dist/store/configureStore.d.ts +4 -4
  47. package/dist/store/defaultStore.d.ts +2 -2
  48. package/dist/store/reducers/api.d.ts +1 -1
  49. package/dist/store/reducers/api.js +1 -1
  50. package/dist/store/reducers/api.js.map +1 -1
  51. package/dist/store/reducers/authentication/authentication.d.ts +4 -4
  52. package/dist/store/reducers/authentication/authentication.js +2 -1
  53. package/dist/store/reducers/authentication/authentication.js.map +1 -1
  54. package/dist/store/reducers/cancelQuery.d.ts +2 -2
  55. package/dist/store/reducers/capabilities/capabilities.d.ts +6 -6
  56. package/dist/store/reducers/cluster/cluster.d.ts +2 -2
  57. package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +2 -2
  58. package/dist/store/reducers/clusters/clusters.d.ts +2 -2
  59. package/dist/store/reducers/describe.d.ts +2 -2
  60. package/dist/store/reducers/executeQuery.d.ts +9 -2
  61. package/dist/store/reducers/executeQuery.js +24 -1
  62. package/dist/store/reducers/executeQuery.js.map +1 -1
  63. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
  64. package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -2
  65. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -58
  66. package/dist/store/reducers/heatmap.d.ts +2 -2
  67. package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
  68. package/dist/store/reducers/index.d.ts +3 -3
  69. package/dist/store/reducers/network/network.d.ts +2 -2
  70. package/dist/store/reducers/node/node.d.ts +3 -3
  71. package/dist/store/reducers/node/selectors.d.ts +1 -1
  72. package/dist/store/reducers/nodes/nodes.d.ts +3 -3
  73. package/dist/store/reducers/nodes/nodes.js +1 -0
  74. package/dist/store/reducers/nodes/nodes.js.map +1 -1
  75. package/dist/store/reducers/nodesList.d.ts +3 -3
  76. package/dist/store/reducers/overview/overview.d.ts +2 -2
  77. package/dist/store/reducers/partitions/partitions.d.ts +2 -2
  78. package/dist/store/reducers/pdisk/pdisk.d.ts +3 -3
  79. package/dist/store/reducers/preview.d.ts +2 -2
  80. package/dist/store/reducers/preview.js +1 -1
  81. package/dist/store/reducers/preview.js.map +1 -1
  82. package/dist/store/reducers/queryActions/queryActions.d.ts +14 -1
  83. package/dist/store/reducers/queryActions/queryActions.js +7 -2
  84. package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
  85. package/dist/store/reducers/queryActions/types.d.ts +1 -0
  86. package/dist/store/reducers/schema/schema.d.ts +3 -3
  87. package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +3 -2
  88. package/dist/store/reducers/schemaAcl/schemaAcl.js +1 -0
  89. package/dist/store/reducers/schemaAcl/schemaAcl.js.map +1 -1
  90. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
  91. package/dist/store/reducers/storage/storage.d.ts +3 -3
  92. package/dist/store/reducers/storage/storage.js +1 -1
  93. package/dist/store/reducers/storage/storage.js.map +1 -1
  94. package/dist/store/reducers/tablet.d.ts +3 -3
  95. package/dist/store/reducers/tablets.d.ts +13 -13
  96. package/dist/store/reducers/tabletsFilters.d.ts +1 -1
  97. package/dist/store/reducers/tenant/tenant.d.ts +2 -2
  98. package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
  99. package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
  100. package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
  101. package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
  102. package/dist/store/reducers/tenants/selectors.d.ts +27 -27
  103. package/dist/store/reducers/tenants/tenants.d.ts +2 -2
  104. package/dist/store/reducers/topic.d.ts +44 -44
  105. package/dist/store/reducers/vdisk/vdisk.d.ts +2 -2
  106. package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
  107. package/dist/types/api/acl.d.ts +1 -0
  108. package/dist/types/store/executeQuery.d.ts +3 -2
  109. package/dist/utils/response.d.ts +6 -1
  110. package/dist/utils/response.js +3 -0
  111. package/dist/utils/response.js.map +1 -1
  112. package/package.json +1 -1
  113. package/dist/containers/Tenant/utils/schemaControls.d.ts +0 -6
  114. package/dist/containers/Tenant/utils/schemaControls.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Preview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/Preview/Preview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEvD,OAAO,sBAAsB,MAAM,sEAAsE,CAAC;AAC1G,OAAO,UAAU,MAAM,8CAA8C,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAC,MAAM,yCAAy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K,EAAE,IAAI,CAAC,eAAe,CAAC,YAE5B,KAAC,IAAI,IAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,GAAI,GAC1B,IACP,IACJ,CACT,CAAC;IACN,CAAC,CAAC;IAEF,IAAI,OAAO,EAAE,CAAC;QACV,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,kBAAkB,CAAC,YACjC,KAAC,MAAM,IAAC,IAAI,EAAC,GAAG,GAAG,GACjB,CACT,CAAC;IACN,CAAC;IAED,IAAI,OAAO,CAAC;IAEZ,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACtB,OAAO,GAAG,cAAK,SAAS,EAAE,CAAC,CAAC,mBAAmB,CAAC,YAAG,IAAI,CAAC,uBAAuB,CAAC,GAAO,CAAC;IAC5F,CAAC;SAAM,IAAI,KAAK,EAAE,CAAC;QACf,OAAO,GAAG,CACN,cAAK,SAAS,EAAE,CAAC,CAAC,mBAAmB,EAAE,OAAO,CAAC,YAAG,uBAAuB,CAAC,KAAK,CAAC,GAAO,CAC1F,CAAC;IACN,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,CACvB,cAAK,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,YACvB,KAAC,gBAAgB,IAAC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,GAAI,GAC5D,CACT,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,EAAE,aACd,YAAY,EAAE,EACf,KAAC,UAAU,cAAE,OAAO,GAAc,IAChC,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1,7 +1,9 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
3
+ import { Search } from '../../../../components/Search';
4
+ import { TableWithControlsLayout } from '../../../../components/TableWithControlsLayout/TableWithControlsLayout';
3
5
  import { TruncatedQuery } from '../../../../components/TruncatedQuery/TruncatedQuery';
4
- import { selectQueriesHistory } from '../../../../store/reducers/executeQuery';
6
+ import { selectQueriesHistory, selectQueriesHistoryFilter, setQueryHistoryFilter, } from '../../../../store/reducers/executeQuery';
5
7
  import { TENANT_QUERY_TABS_ID } from '../../../../store/reducers/tenant/constants';
6
8
  import { setQueryTab } from '../../../../store/reducers/tenant/tenant';
7
9
  import { cn } from '../../../../utils/cn';
@@ -14,11 +16,15 @@ const QUERIES_HISTORY_COLUMNS_WIDTH_LS_KEY = 'queriesHistoryTableColumnsWidth';
14
16
  function QueriesHistory({ changeUserInput }) {
15
17
  const dispatch = useTypedDispatch();
16
18
  const queriesHistory = useTypedSelector(selectQueriesHistory);
19
+ const filter = useTypedSelector(selectQueriesHistoryFilter);
17
20
  const reversedHistory = [...queriesHistory].reverse();
18
21
  const onQueryClick = (query) => {
19
22
  changeUserInput({ input: query.queryText });
20
23
  dispatch(setQueryTab(TENANT_QUERY_TABS_ID.newQuery));
21
24
  };
25
+ const onChangeFilter = (value) => {
26
+ dispatch(setQueryHistoryFilter(value));
27
+ };
22
28
  const columns = [
23
29
  {
24
30
  name: 'queryText',
@@ -30,7 +36,7 @@ function QueriesHistory({ changeUserInput }) {
30
36
  width: 600,
31
37
  },
32
38
  ];
33
- return (_jsx("div", { className: b(), children: _jsx(ResizeableDataTable, { columnsWidthLSKey: QUERIES_HISTORY_COLUMNS_WIDTH_LS_KEY, columns: columns, data: reversedHistory, settings: QUERY_TABLE_SETTINGS, emptyDataMessage: i18n('history.empty'), onRowClick: (row) => onQueryClick(row), rowClassName: () => b('table-row') }) }));
39
+ return (_jsxs(TableWithControlsLayout, { className: b(), children: [_jsx(TableWithControlsLayout.Controls, { children: _jsx(Search, { value: filter, onChange: onChangeFilter, placeholder: i18n('filter.text.placeholder'), className: b('search') }) }), _jsx(TableWithControlsLayout.Table, { children: _jsx(ResizeableDataTable, { columnsWidthLSKey: QUERIES_HISTORY_COLUMNS_WIDTH_LS_KEY, columns: columns, data: reversedHistory, settings: QUERY_TABLE_SETTINGS, emptyDataMessage: i18n(filter ? 'history.empty-search' : 'history.empty'), onRowClick: (row) => onQueryClick(row), rowClassName: () => b('table-row') }) })] }));
34
40
  }
35
41
  export default QueriesHistory;
36
42
  //# sourceMappingURL=QueriesHistory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueriesHistory.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueriesHistory/QueriesHistory.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,cAAc,EAAC,MAAM,sDAAsD,CAAC;AACpF,OAAO,EAAC,oBAAoB,EAAC,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAC,oBAAoB,EAAC,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAC,WAAW,EAAC,MAAM,0CAA0C,CAAC;AAErE,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAC,MAAM,uBAAuB,CAAC;AAC7E,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,uBAAuB,CAAC;AAE/B,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,CAAC;AAEpC,MAAM,oCAAoC,GAAG,iCAAiC,CAAC;AAM/E,SAAS,cAAc,CAAC,EAAC,eAAe,EAAsB;IAC1D,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IAEpC,MAAM,cAAc,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;IAC9D,MAAM,eAAe,GAAG,CAAC,GAAG,cAAc,CAAC,CAAC,OAAO,EAAE,CAAC;IAEtD,MAAM,YAAY,GAAG,CAAC,KAAqB,EAAE,EAAE;QAC3C,eAAe,CAAC,EAAC,KAAK,EAAE,KAAK,CAAC,SAAS,EAAC,CAAC,CAAC;QAC1C,QAAQ,CAAC,WAAW,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC,CAAC;IACzD,CAAC,CAAC;IAEF,MAAM,OAAO,GAA6B;QACtC;YACI,IAAI,EAAE,WAAW;YACjB,MAAM,EAAE,YAAY;YACpB,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE;gBACd,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,YACtB,KAAC,cAAc,IAAC,KAAK,EAAE,GAAG,CAAC,SAAS,EAAE,cAAc,EAAE,gBAAgB,GAAI,GACxE,CACT,CAAC;YACN,CAAC;YACD,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,GAAG;SACb;KACJ,CAAC;IAEF,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,EAAE,YACf,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,oCAAoC,EACvD,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,oBAAoB,EAC9B,gBAAgB,EAAE,IAAI,CAAC,eAAe,CAAC,EACvC,UAAU,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,EACtC,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,GACpC,GACA,CACT,CAAC;AACN,CAAC;AAED,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"QueriesHistory.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueriesHistory/QueriesHistory.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,uBAAuB,EAAC,MAAM,wEAAwE,CAAC;AAC/G,O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tC;YACI,IAAI,EAAE,WAAW;YACjB,MAAM,EAAE,YAAY;YACpB,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE;gBACd,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,YACtB,KAAC,cAAc,IAAC,KAAK,EAAE,GAAG,CAAC,SAAS,EAAE,cAAc,EAAE,gBAAgB,GAAI,GACxE,CACT,CAAC;YACN,CAAC;YACD,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,GAAG;SACb;KACJ,CAAC;IAEF,OAAO,CACH,MAAC,uBAAuB,IAAC,SAAS,EAAE,CAAC,EAAE,aACnC,KAAC,uBAAuB,CAAC,QAAQ,cAC7B,KAAC,MAAM,IACH,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,cAAc,EACxB,WAAW,EAAE,IAAI,CAAC,yBAAyB,CAAC,EAC5C,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,GACxB,GAC6B,EACnC,KAAC,uBAAuB,CAAC,KAAK,cAC1B,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,oCAAoC,EACvD,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,oBAAoB,EAC9B,gBAAgB,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,eAAe,CAAC,EACzE,UAAU,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,EACtC,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,GACpC,GAC0B,IACV,CAC7B,CAAC;AACN,CAAC;AAED,eAAe,cAAc,CAAC"}
@@ -4,10 +4,23 @@
4
4
  overflow: auto;
5
5
 
6
6
  height: 100%;
7
- padding: 0 16px;
7
+ padding: 0 20px;
8
8
 
9
9
  @include flex-container();
10
10
 
11
+ .ydb-table-with-controls-layout__controls {
12
+ height: 46px;
13
+ padding-top: 0;
14
+ }
15
+
16
+ &.ydb-table-with-controls-layout .data-table__sticky_moving {
17
+ top: 46px !important;
18
+ }
19
+
20
+ &__search {
21
+ @include search();
22
+ }
23
+
11
24
  &__table-row {
12
25
  cursor: pointer;
13
26
  }
@@ -45,7 +45,7 @@ function QueryEditor(props) {
45
45
  const editorOptions = useEditorOptions();
46
46
  const { tenantName, path, setTenantPath: setPath, executeQuery, type, theme, changeUserInput, showPreview, } = props;
47
47
  const { tenantPath: savedPath } = executeQuery;
48
- const [resultType, setResultType] = React.useState(RESULT_TYPES.EXECUTE);
48
+ const [resultType, setResultType] = React.useState();
49
49
  const [isResultLoaded, setIsResultLoaded] = React.useState(false);
50
50
  const [querySettings] = useQueryExecutionSettings();
51
51
  const [enableTracingLevel] = useSetting(ENABLE_TRACING_LEVEL_KEY);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueryEditor/QueryEditor.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AAC/B,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,EAAE,IAAI,MAAM,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,SAAS,MAAM,kCAAkC,CAAC;AAEzD,OAAO,EAAC,cAAc,EAAC,MAAM,wCAAwC,CAAC;AACtE,OAAO,EACH,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,GAChB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAC,eAAe,EAAC,MAAM,sDAAsD,CAAC;AAErF,OAAO,EAAC,cAAc,EAAC,MAAM,sDAAsD,CAAC;AACpF,OAAO,EAAC,cAAc,EAAC,M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gB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAChD,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE;QACrB,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,cAAc,CAAC,MAA2C,EAAE,cAA4B;IAC7F,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,cAAc,EAAE,CAAC,CAAC;IACnD,MAAM,CAAC,uBAAuB,CAAC,GAAG,EAAE;QAChC,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,cAAc,EAAE,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;IACH,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE;QACrB,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IACjC,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,aAAa,CAAC,IAAY,EAAE,WAAmB;IACpD,MAAM,eAAe,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC;IAE5D,IAAI,eAAe,EAAE,CAAC;QAClB,MAAM,CAAC,cAAc,GAAG,CAAC,CAAC,EAAE,EAAE;YAC1B,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,wCAAwC;YACxC,CAAC,CAAC,WAAW,GAAG,EAAE,CAAC;QACvB,CAAC,CAAC;IACN,CAAC;SAAM,CAAC;QACJ,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IACjC,CAAC;AACL,CAAC"}
@@ -4,12 +4,14 @@ import { Pencil, TrashBin } from '@gravity-ui/icons';
4
4
  import DataTable from '@gravity-ui/react-data-table';
5
5
  import { Button, Dialog, Icon } from '@gravity-ui/uikit';
6
6
  import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
7
+ import { Search } from '../../../../components/Search';
8
+ import { TableWithControlsLayout } from '../../../../components/TableWithControlsLayout/TableWithControlsLayout';
7
9
  import { TruncatedQuery } from '../../../../components/TruncatedQuery/TruncatedQuery';
8
- import { deleteSavedQuery, setQueryNameToEdit, } from '../../../../store/reducers/queryActions/queryActions';
10
+ import { deleteSavedQuery, selectSavedQueriesFilter, setQueryNameToEdit, setSavedQueriesFilter, } from '../../../../store/reducers/queryActions/queryActions';
9
11
  import { TENANT_QUERY_TABS_ID } from '../../../../store/reducers/tenant/constants';
10
12
  import { setQueryTab } from '../../../../store/reducers/tenant/tenant';
11
13
  import { cn } from '../../../../utils/cn';
12
- import { useTypedDispatch } from '../../../../utils/hooks';
14
+ import { useTypedDispatch, useTypedSelector } from '../../../../utils/hooks';
13
15
  import { MAX_QUERY_HEIGHT, QUERY_TABLE_SETTINGS } from '../../utils/constants';
14
16
  import i18n from '../i18n';
15
17
  import { useSavedQueries } from '../utils/useSavedQueries';
@@ -22,6 +24,7 @@ const SAVED_QUERIES_COLUMNS_WIDTH_LS_KEY = 'savedQueriesTableColumnsWidth';
22
24
  export const SavedQueries = ({ changeUserInput }) => {
23
25
  const savedQueries = useSavedQueries();
24
26
  const dispatch = useTypedDispatch();
27
+ const filter = useTypedSelector(selectSavedQueriesFilter);
25
28
  const [isDeleteDialogVisible, setIsDeleteDialogVisible] = React.useState(false);
26
29
  const [queryNameToDelete, setQueryNameToDelete] = React.useState('');
27
30
  const closeDeleteDialog = () => {
@@ -48,6 +51,9 @@ export const SavedQueries = ({ changeUserInput }) => {
48
51
  setQueryNameToDelete(queryName);
49
52
  };
50
53
  };
54
+ const onChangeFilter = (value) => {
55
+ dispatch(setSavedQueriesFilter(value));
56
+ };
51
57
  const columns = [
52
58
  {
53
59
  name: 'name',
@@ -63,9 +69,9 @@ export const SavedQueries = ({ changeUserInput }) => {
63
69
  resizeMinWidth: 650,
64
70
  },
65
71
  ];
66
- return (_jsxs(React.Fragment, { children: [_jsx("div", { className: b(), children: _jsx(ResizeableDataTable, { columnsWidthLSKey: SAVED_QUERIES_COLUMNS_WIDTH_LS_KEY, columns: columns, data: savedQueries, settings: QUERY_TABLE_SETTINGS, emptyDataMessage: i18n('saved.empty'), rowClassName: () => b('row'), onRowClick: (row) => onQueryClick(row.body, row.name), initialSortOrder: {
67
- columnId: 'name',
68
- order: DataTable.ASCENDING,
69
- } }) }), _jsx(DeleteDialog, { visible: isDeleteDialogVisible, queryName: queryNameToDelete, onCancelClick: onCancelDeleteClick, onConfirmClick: onConfirmDeleteClick })] }));
72
+ return (_jsxs(React.Fragment, { children: [_jsxs(TableWithControlsLayout, { className: b(), children: [_jsx(TableWithControlsLayout.Controls, { children: _jsx(Search, { onChange: onChangeFilter, placeholder: i18n('filter.text.placeholder'), className: b('search') }) }), _jsx(TableWithControlsLayout.Table, { children: _jsx(ResizeableDataTable, { columnsWidthLSKey: SAVED_QUERIES_COLUMNS_WIDTH_LS_KEY, columns: columns, data: savedQueries, settings: QUERY_TABLE_SETTINGS, emptyDataMessage: i18n(filter ? 'history.empty-search' : 'saved.empty'), rowClassName: () => b('row'), onRowClick: (row) => onQueryClick(row.body, row.name), initialSortOrder: {
73
+ columnId: 'name',
74
+ order: DataTable.ASCENDING,
75
+ } }) })] }), _jsx(DeleteDialog, { visible: isDeleteDialogVisible, queryName: queryNameToDelete, onCancelClick: onCancelDeleteClick, onConfirmClick: onConfirmDeleteClick })] }));
70
76
  };
71
77
  //# sourceMappingURL=SavedQueries.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SavedQueries.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/SavedQueries/SavedQueries.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAEnD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEA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kC,EACrD,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,oBAAoB,EAC9B,gBAAgB,EAAE,IAAI,CAAC,aAAa,CAAC,EACrC,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAC5B,UAAU,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,EACrD,gBAAgB,EAAE;wBACd,QAAQ,EAAE,MAAM;wBAChB,KAAK,EAAE,SAAS,CAAC,SAAS;qBAC7B,GACH,GACA,EACN,KAAC,YAAY,IACT,OAAO,EAAE,qBAAqB,EAC9B,SAAS,EAAE,iBAAiB,EAC5B,aAAa,EAAE,mBAAmB,EAClC,cAAc,EAAE,oBAAoB,GACtC,IACW,CACpB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"SavedQueries.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/SavedQueries/SavedQueries.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAEnD,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,uBAAuB,EAAC,MAAM,wEAAwE,CAAC;AAC/G,OAAO,EAAC,cAAc,EAAC,MAAM,sDAAsD,CAAC;AACpF,OAAO,EACH,gBAAgB,EAChB,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,GACxB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAC,oBAAoB,EAAC,MAAM,6CAA6C,C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AAC,uBAAuB,CAAC,QAAQ,cAC7B,KAAC,MAAM,IACH,QAAQ,EAAE,cAAc,EACxB,WAAW,EAAE,IAAI,CAAC,yBAAyB,CAAC,EAC5C,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,GACxB,GAC6B,EACnC,KAAC,uBAAuB,CAAC,KAAK,cAC1B,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,kCAAkC,EACrD,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,oBAAoB,EAC9B,gBAAgB,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,aAAa,CAAC,EACvE,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAC5B,UAAU,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,EACrD,gBAAgB,EAAE;gCACd,QAAQ,EAAE,MAAM;gCAChB,KAAK,EAAE,SAAS,CAAC,SAAS;6BAC7B,GACH,GAC0B,IACV,EAC1B,KAAC,YAAY,IACT,OAAO,EAAE,qBAAqB,EAC9B,SAAS,EAAE,iBAAiB,EAC5B,aAAa,EAAE,mBAAmB,EAClC,cAAc,EAAE,oBAAoB,GACtC,IACW,CACpB,CAAC;AACN,CAAC,CAAC"}
@@ -6,10 +6,23 @@
6
6
  overflow: auto;
7
7
 
8
8
  height: 100%;
9
- padding: 0 16px;
9
+ padding: 0 20px;
10
10
 
11
11
  @include flex-container();
12
12
 
13
+ .ydb-table-with-controls-layout__controls {
14
+ height: 46px;
15
+ padding-top: 0;
16
+ }
17
+
18
+ &.ydb-table-with-controls-layout .data-table__sticky_moving {
19
+ top: 46px !important;
20
+ }
21
+
22
+ &__search {
23
+ @include search();
24
+ }
25
+
13
26
  &__row {
14
27
  cursor: pointer;
15
28
 
@@ -4,6 +4,7 @@
4
4
  "tabs.history": "History",
5
5
  "tabs.saved": "Saved",
6
6
  "history.empty": "History is empty",
7
+ "history.empty-search": "Search result is empty",
7
8
  "saved.empty": "There are no saved queries",
8
9
  "delete-dialog.header": "Delete query",
9
10
  "delete-dialog.question": "Are you sure you want to delete query",
@@ -37,6 +38,7 @@
37
38
  "action.previous-query": "Previous query in history",
38
39
  "action.next-query": "Next query in history",
39
40
  "action.save-query": "Save query",
41
+ "filter.text.placeholder": "Search by query text...",
40
42
  "gear.tooltip": "Query execution settings have been changed for ",
41
43
  "banner.query-settings.message": "Query results are displayed for "
42
44
  }
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "controls.query-mode-selector_type" | "tabs.newQuery" | "tabs.history" | "tabs.saved" | "history.empty" | "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", 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" | "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", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -1,6 +1,10 @@
1
- import { SAVED_QUERIES_KEY, useSetting } from '../../../../lib';
1
+ import { SAVED_QUERIES_KEY, useSetting, useTypedSelector } from '../../../../lib';
2
+ import { selectSavedQueriesFilter } from '../../../../store/reducers/queryActions/queryActions';
2
3
  export function useSavedQueries() {
3
4
  const [savedQueries] = useSetting(SAVED_QUERIES_KEY, []);
4
- return savedQueries;
5
+ const filter = useTypedSelector(selectSavedQueriesFilter).toLowerCase();
6
+ return filter
7
+ ? savedQueries.filter((item) => item.body.toLowerCase().includes(filter))
8
+ : savedQueries;
5
9
  }
6
10
  //# sourceMappingURL=useSavedQueries.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSavedQueries.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/utils/useSavedQueries.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAG9D,MAAM,UAAU,eAAe;IAC3B,MAAM,CAAC,YAAY,CAAC,GAAG,UAAU,CAAe,iBAAiB,EAAE,EAAE,CAAC,CAAC;IAEvE,OAAO,YAAY,CAAC;AACxB,CAAC"}
1
+ {"version":3,"file":"useSavedQueries.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/utils/useSavedQueries.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,UAAU,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAC,wBAAwB,EAAC,MAAM,sDAAsD,CAAC;AAG9F,MAAM,UAAU,eAAe;IAC3B,MAAM,CAAC,YAAY,CAAC,GAAG,UAAU,CAAe,iBAAiB,EAAE,EAAE,CAAC,CAAC;IACvE,MAAM,MAAM,GAAG,gBAAgB,CAAC,wBAAwB,CAAC,CAAC,WAAW,EAAE,CAAC;IAExE,OAAO,MAAM;QACT,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACzE,CAAC,CAAC,YAAY,CAAC;AACvB,CAAC"}
@@ -7,9 +7,9 @@ import { NavigationTree } from 'ydb-ui-components';
7
7
  import { useCreateDirectoryFeatureAvailable } from '../../../../store/reducers/capabilities/hooks';
8
8
  import { schemaApi } from '../../../../store/reducers/schema/schema';
9
9
  import { useQueryExecutionSettings, useTypedDispatch } from '../../../../utils/hooks';
10
+ import { getSchemaControls } from '../../utils/controls';
10
11
  import { isChildlessPathType, mapPathTypeToNavigationTreeType } from '../../utils/schema';
11
12
  import { getActions } from '../../utils/schemaActions';
12
- import { getControls } from '../../utils/schemaControls';
13
13
  import { CreateDirectoryDialog } from '../CreateDirectoryDialog/CreateDirectoryDialog';
14
14
  export function SchemaTree(props) {
15
15
  const createDirectoryFeatureAvailable = useCreateDirectoryFeatureAvailable();
@@ -78,7 +78,7 @@ export function SchemaTree(props) {
78
78
  showCreateDirectoryDialog: createDirectoryFeatureAvailable
79
79
  ? handleOpenCreateDirectoryDialog
80
80
  : undefined,
81
- }), renderAdditionalNodeElements: getControls(dispatch, {
81
+ }), renderAdditionalNodeElements: getSchemaControls(dispatch, {
82
82
  setActivePath: onActivePathUpdate,
83
83
  }), activePath: currentPath, onActivePathUpdate: onActivePathUpdate, cache: false, virtualize: true }, schemaTreeKey)] }));
84
84
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Schem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,MAAC,KAAK,CAAC,QAAQ,eACX,KAAC,qBAAqB,IAClB,OAAO,EAAE,iBAAiB,EAC1B,IAAI,EAAE,mBAAmB,EACzB,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,mBAAmB,GAChC,EACF,KAAC,cAAc,IAEX,SAAS,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,+BAA+B,CAAC,QAAQ,CAAC;oBAC/C,SAAS,EAAE,KAAK;iBACnB,EACD,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,CAAC,QAAQ,EAAE;oBAC7B,aAAa,EAAE,kBAAkB;oBACjC,4BAA4B,EAAE,CAAC,QAAQ,EAAE,EAAE,CACvC,yBAAyB,CAAC,EAAC,GAAG,aAAa,EAAE,GAAG,QAAQ,EAAC,CAAC;oBAC9D,yBAAyB,EAAE,+BAA+B;wBACtD,CAAC,CAAC,+BAA+B;wBACjC,CAAC,CAAC,SAAS;iBAClB,CAAC,EACF,4BAA4B,EAAE,iBAAiB,CAAC,QAAQ,EAAE;oBACtD,aAAa,EAAE,kBAAkB;iBACpC,CAAC,EACF,UAAU,EAAE,WAAW,EACvB,kBAAkB,EAAE,kBAAkB,EACtC,KAAK,EAAE,KAAK,EACZ,UAAU,UAtBL,aAAa,CAuBpB,IACW,CACpB,CAAC;AACN,CAAC"}
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  import { Helmet } from 'react-helmet-async';
4
4
  import { StringParam, useQueryParams } from 'use-query-params';
5
5
  import { PageError, isAccessError } from '../../components/Errors/PageError/PageError';
6
+ import { LoaderWrapper } from '../../components/LoaderWrapper/LoaderWrapper';
6
7
  import SplitPane from '../../components/SplitPane';
7
8
  import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
8
9
  import { useGetSchemaQuery } from '../../store/reducers/schema/schema';
@@ -46,7 +47,7 @@ export function Tenant(props) {
46
47
  dispatch(setHeaderBreadcrumbs('tenant', { tenantName }));
47
48
  }, [tenantName, dispatch]);
48
49
  const path = schema !== null && schema !== void 0 ? schema : tenantName;
49
- const { data: currentItem, error } = useGetSchemaQuery({ path, database: tenantName });
50
+ const { data: currentItem, error, isLoading } = useGetSchemaQuery({ path, database: tenantName });
50
51
  const { PathType: currentPathType, PathSubType: currentPathSubType } = ((_a = currentItem === null || currentItem === void 0 ? void 0 : currentItem.PathDescription) === null || _a === void 0 ? void 0 : _a.Self) || {};
51
52
  const showBlockingError = isAccessError(error);
52
53
  const onCollapseSummaryHandler = () => {
@@ -59,6 +60,6 @@ export function Tenant(props) {
59
60
  dispatchSummaryVisibilityAction(PaneVisibilityActionTypes.clear);
60
61
  };
61
62
  const title = path || i18n('page.title');
62
- return (_jsxs("div", { className: b(), children: [_jsx(Helmet, { defaultTitle: `${title} — YDB Monitoring`, titleTemplate: `%s — ${title} — YDB Monitoring` }), _jsx(PageError, { error: showBlockingError ? error : undefined, children: _jsxs(SplitPane, { defaultSizePaneKey: DEFAULT_SIZE_TENANT_KEY, defaultSizes: [25, 75], triggerCollapse: summaryVisibilityState.triggerCollapse, triggerExpand: summaryVisibilityState.triggerExpand, minSize: [36, 200], onSplitStartDragAdditional: onSplitStartDragAdditional, children: [_jsx(ObjectSummary, { type: currentPathType, subType: currentPathSubType, tenantName: tenantName, path: path, onCollapseSummary: onCollapseSummaryHandler, onExpandSummary: onExpandSummaryHandler, isCollapsed: summaryVisibilityState.collapsed }), _jsx("div", { className: b('main'), children: _jsx(ObjectGeneral, { type: currentPathType, additionalTenantProps: props.additionalTenantProps, additionalNodesProps: props.additionalNodesProps, tenantName: tenantName, path: path }) })] }) })] }));
63
+ return (_jsxs("div", { className: b(), children: [_jsx(Helmet, { defaultTitle: `${title} — YDB Monitoring`, titleTemplate: `%s — ${title} — YDB Monitoring` }), _jsx(LoaderWrapper, { loading: isLoading, children: _jsx(PageError, { error: showBlockingError ? error : undefined, children: _jsxs(SplitPane, { defaultSizePaneKey: DEFAULT_SIZE_TENANT_KEY, defaultSizes: [25, 75], triggerCollapse: summaryVisibilityState.triggerCollapse, triggerExpand: summaryVisibilityState.triggerExpand, minSize: [36, 200], onSplitStartDragAdditional: onSplitStartDragAdditional, children: [_jsx(ObjectSummary, { type: currentPathType, subType: currentPathSubType, tenantName: tenantName, path: path, onCollapseSummary: onCollapseSummaryHandler, onExpandSummary: onExpandSummaryHandler, isCollapsed: summaryVisibilityState.collapsed }), _jsx("div", { className: b('main'), children: _jsx(ObjectGeneral, { type: currentPathType, additionalTenantProps: props.additionalTenantProps, additionalNodesProps: props.additionalNodesProps, tenantName: tenantName, path: path }) })] }) }) })] }));
63
64
  }
64
65
  //# sourceMappingURL=Tenant.js.map
@@ -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,SAAS,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,iBAAiB,EAAC,MAAM,oCAAoC,CAAC;AAErE,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,mCAAmC,EAAE,uBAAuB,EAAC,MAAM,uBAAuB,CAAC;AACnG,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAEnD,OAAO,aAAa,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAC5D,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EACH,yBAAyB,EAC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AChD,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,IAAI,GACZ,GACA,IACE,GACJ,GACA,IACd,CACT,CAAC;AACN,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { ButtonSize } from '@gravity-ui/uikit';
2
+ import type { NavigationTreeNodeType } from 'ydb-ui-components';
3
+ interface ControlsAdditionalEffects {
4
+ setActivePath: (path: string) => void;
5
+ }
6
+ type SummaryType = 'preview';
7
+ export declare const getSchemaControls: (dispatch: React.Dispatch<any>, additionalEffects: ControlsAdditionalEffects, size?: ButtonSize) => (path: string, type: NavigationTreeNodeType) => JSX.Element | undefined;
8
+ export declare const getSummaryControls: (dispatch: React.Dispatch<any>, additionalEffects: ControlsAdditionalEffects, size?: ButtonSize) => (path: string, type: SummaryType) => JSX.Element | undefined;
9
+ export {};
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { LayoutHeaderCellsLargeFill } from '@gravity-ui/icons';
3
3
  import { Button, Icon } from '@gravity-ui/uikit';
4
+ import { api } from '../../../store/reducers/api';
4
5
  import { setShowPreview } from '../../../store/reducers/schema/schema';
5
6
  import { TENANT_PAGES_IDS, TENANT_QUERY_TABS_ID } from '../../../store/reducers/tenant/constants';
6
7
  import { setQueryTab, setTenantPage } from '../../../store/reducers/tenant/tenant';
@@ -9,6 +10,7 @@ const bindActions = (path, dispatch, additionalEffects) => {
9
10
  const { setActivePath } = additionalEffects;
10
11
  return {
11
12
  openPreview: () => {
13
+ dispatch(api.util.invalidateTags(['PreviewData']));
12
14
  dispatch(setShowPreview(true));
13
15
  dispatch(setTenantPage(TENANT_PAGES_IDS.query));
14
16
  dispatch(setQueryTab(TENANT_QUERY_TABS_ID.newQuery));
@@ -16,9 +18,12 @@ const bindActions = (path, dispatch, additionalEffects) => {
16
18
  },
17
19
  };
18
20
  };
19
- export const getControls = (dispatch, additionalEffects) => (path, type) => {
21
+ const getPreviewControl = (options, size) => {
22
+ return (_jsx(Button, { view: "flat-secondary", onClick: options.openPreview, title: i18n('actions.openPreview'), size: size || 's', children: _jsx(Icon, { data: LayoutHeaderCellsLargeFill }) }));
23
+ };
24
+ export const getSchemaControls = (dispatch, additionalEffects, size) => (path, type) => {
20
25
  const options = bindActions(path, dispatch, additionalEffects);
21
- const openPreview = (_jsx(Button, { view: "flat-secondary", onClick: options.openPreview, title: i18n('actions.openPreview'), size: "s", children: _jsx(Icon, { data: LayoutHeaderCellsLargeFill }) }));
26
+ const openPreview = getPreviewControl(options, size);
22
27
  const nodeTypeToControls = {
23
28
  async_replication: undefined,
24
29
  database: undefined,
@@ -35,4 +40,10 @@ export const getControls = (dispatch, additionalEffects) => (path, type) => {
35
40
  };
36
41
  return nodeTypeToControls[type];
37
42
  };
38
- //# sourceMappingURL=schemaControls.js.map
43
+ export const getSummaryControls = (dispatch, additionalEffects, size) => (path, type) => {
44
+ const options = bindActions(path, dispatch, additionalEffects);
45
+ const openPreview = getPreviewControl(options, size);
46
+ const summaryControls = { preview: openPreview };
47
+ return summaryControls[type];
48
+ };
49
+ //# sourceMappingURL=controls.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controls.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/controls.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,0BAA0B,EAAC,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EAAC,GAAG,EAAC,MAAM,6BAA6B,CAAC;AAChD,OAAO,EAAC,cAAc,EAAC,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAC,MAAM,0CAA0C,CAAC;AAChG,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACjF,OAAO,IAAI,MAAM,SAAS,CAAC;AAM3B,MAAM,WAAW,GAAG,CAChB,IAAY,EACZ,QAA6B,EAC7B,iBAA4C,EAC9C,EAA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,WAAW,EAAE,SAAS;QACtB,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,SAAS;QAEjB,KAAK,EAAE,SAAS;QAEhB,cAAc,EAAE,WAAW;QAC3B,oBAAoB,EAAE,SAAS;QAE/B,IAAI,EAAE,WAAW;KACpB,CAAC;IAEF,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC,CAAC;AAEN,MAAM,CAAC,MAAM,kBAAkB,GAC3B,CACI,QAA6B,EAC7B,iBAA4C,EAC5C,IAAiB,EACnB,EAAE,CACJ,CAAC,IAAY,EAAE,IAAiB,EAAE,EAAE;IAChC,MAAM,OAAO,GAAG,WAAW,CAAC,IAAI,EAAE,QAAQ,EAAE,iBAAiB,CAAC,CAAC;IAC/D,MAAM,WAAW,GAAG,iBAAiB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAErD,MAAM,eAAe,GAAkC,EAAC,OAAO,EAAE,WAAW,EAAC,CAAC;IAE9E,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AACjC,CAAC,CAAC"}
@@ -50,8 +50,8 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
50
50
  }
51
51
  getTenants(clusterName, { concurrentId, signal } = {}) {
52
52
  return this.get(this.getPath('/viewer/json/tenantinfo'), {
53
- tablets: 0,
54
- storage: 1,
53
+ tablets: false,
54
+ storage: true,
55
55
  cluster_name: clusterName,
56
56
  }, { concurrentId, requestConfig: { signal } });
57
57
  }
@@ -59,11 +59,11 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
59
59
  return this.get(this.getPath('/viewer/json/tenantinfo'), {
60
60
  database,
61
61
  path,
62
- tablets: true,
62
+ tablets: false,
63
63
  storage: true,
64
64
  }, { concurrentId, requestConfig: { signal } });
65
65
  }
66
- getNodes({ visibleEntities, type = 'any', tablets = true, sortOrder, sortValue, ...params }, { concurrentId, signal } = {}) {
66
+ getNodes({ visibleEntities, type = 'any', tablets = false, sortOrder, sortValue, ...params }, { concurrentId, signal } = {}) {
67
67
  const sort = prepareSortValue(sortValue, sortOrder);
68
68
  return this.get(this.getPath('/viewer/json/nodes?enums=true'), { with: visibleEntities, type, tablets, sort, database: params.tenant, ...params }, { concurrentId, requestConfig: { signal } });
69
69
  }
@@ -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;AACrC,OAAO,EAAE,MAAM,IAAI,CAAC;AAEpB,OAAO,EAAC,OAAO,IAAI,OAAO,EAAE,WAAW,IAAI,YAAY,EAAC,MAAM,UAAU,CAAC;AAyCzE,OAAO,EAAC,iCAAiC,EAAC,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAC,gBAAgB,EAAC,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAQ3C,MAAM,OAAO,cAAe,SAAQ,YAAY;IAG5C,YAAY,OAA6B;QACrC,KAAK,CAAC,OAAO,CAAC,CAAC;QAHnB,0BAAqB,GAAG,CAAC,CAAC;QAKtB,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE;YACpB,OAAO,EAAE,IAAI,CAAC,qBAAqB;YACnC,UAAU,EAAE,UAAU,CAAC,gBAAgB;SAC1C,CAAC,CAAC;QAEH,mCAAmC;QACnC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,UAAU,KAAK;;YACvD,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;YAEhC,qDAAqD;YACrD,kGAAkG;YAClG,oEAAoE;YACpE,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,KAAI,MAAA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AAG,UAAU,CAAC,CAAC,CAAC,IAAI,gBAAgB,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC;IACvF,OAAO,GAAG,CAAC;AACf,CAAC"}
@@ -6,7 +6,7 @@ export declare const customBackend: string | undefined;
6
6
  export declare const metaBackend: string | undefined;
7
7
  export declare function configureStore({ aRootReducer, singleClusterMode, api, }?: {
8
8
  aRootReducer?: Reducer<{
9
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
9
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
10
10
  singleClusterMode: boolean;
11
11
  cluster: import("./reducers/cluster/types").ClusterState;
12
12
  tenant: import("./reducers/tenant/types").TenantState;
@@ -37,7 +37,7 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
37
37
  } | {
38
38
  readonly type: "DISABLE_FULLSCREEN_MODE";
39
39
  } | Action<string>, Partial<{
40
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api"> | undefined;
40
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api"> | undefined;
41
41
  singleClusterMode: boolean | undefined;
42
42
  cluster: import("./reducers/cluster/types").ClusterState | undefined;
43
43
  tenant: import("./reducers/tenant/types").TenantState | undefined;
@@ -62,7 +62,7 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
62
62
  }): {
63
63
  history: History<unknown>;
64
64
  store: import("@reduxjs/toolkit").EnhancedStore<{
65
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
65
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
66
66
  singleClusterMode: boolean;
67
67
  cluster: import("./reducers/cluster/types").ClusterState;
68
68
  tenant: import("./reducers/tenant/types").TenantState;
@@ -94,7 +94,7 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
94
94
  readonly type: "DISABLE_FULLSCREEN_MODE";
95
95
  } | Action<string>, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
96
96
  dispatch: import("redux-thunk").ThunkDispatch<{
97
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
97
+ api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
98
98
  singleClusterMode: boolean;
99
99
  cluster: import("./reducers/cluster/types").ClusterState;
100
100
  tenant: import("./reducers/tenant/types").TenantState;