From ff275c36b6194151c65100314c14441a33dbd805 Mon Sep 17 00:00:00 2001 From: alex <48489896+devnaumov@users.noreply.github.com> Date: Thu, 12 Mar 2026 15:42:13 +0100 Subject: [PATCH] dbeaver/pro#8493 add fetch size tooltip (#4203) Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com> --- .../TableFooterMenu/FetchSizeAction/FetchSizeAction.tsx | 6 ++++-- webapp/packages/plugin-data-viewer/src/locales/de.ts | 1 + webapp/packages/plugin-data-viewer/src/locales/en.ts | 1 + webapp/packages/plugin-data-viewer/src/locales/fr.ts | 1 + webapp/packages/plugin-data-viewer/src/locales/it.ts | 1 + webapp/packages/plugin-data-viewer/src/locales/ru.ts | 1 + webapp/packages/plugin-data-viewer/src/locales/vi.ts | 1 + webapp/packages/plugin-data-viewer/src/locales/zh.ts | 1 + 8 files changed, 11 insertions(+), 2 deletions(-) diff --git a/webapp/packages/plugin-data-viewer/src/TableViewer/TableFooter/TableFooterMenu/FetchSizeAction/FetchSizeAction.tsx b/webapp/packages/plugin-data-viewer/src/TableViewer/TableFooter/TableFooterMenu/FetchSizeAction/FetchSizeAction.tsx index 873da1b52b..1b266a9028 100644 --- a/webapp/packages/plugin-data-viewer/src/TableViewer/TableFooter/TableFooterMenu/FetchSizeAction/FetchSizeAction.tsx +++ b/webapp/packages/plugin-data-viewer/src/TableViewer/TableFooter/TableFooterMenu/FetchSizeAction/FetchSizeAction.tsx @@ -8,14 +8,14 @@ import { observer } from 'mobx-react-lite'; import { useEffect, useRef, useState } from 'react'; -import { Container, Form, getComputed, s, useS } from '@cloudbeaver/core-blocks'; +import { Container, Form, getComputed, s, useS, useTranslate } from '@cloudbeaver/core-blocks'; import { useService } from '@cloudbeaver/core-di'; import { type ICustomMenuItemComponent } from '@cloudbeaver/core-view'; +import { Input } from '@dbeaver/ui-kit'; import { DATA_CONTEXT_DV_DDM } from '../../../../DatabaseDataModel/DataContext/DATA_CONTEXT_DV_DDM.js'; import { DataViewerSettingsService } from '../../../../DataViewerSettingsService.js'; import styles from './FetchSizeAction.module.css'; -import { Input } from '@dbeaver/ui-kit'; export const FetchSizeAction: ICustomMenuItemComponent = observer(function FetchSizeAction({ context }) { const model = context.get(DATA_CONTEXT_DV_DDM)!; @@ -23,6 +23,7 @@ export const FetchSizeAction: ICustomMenuItemComponent = observer(function Fetch const [limit, setLimit] = useState(model.countGain + ''); const dataViewerSettingsService = useService(DataViewerSettingsService); const style = useS(styles); + const translate = useTranslate(); async function handleChange() { if (!ref.current) { @@ -50,6 +51,7 @@ export const FetchSizeAction: ICustomMenuItemComponent = observer(function Fetch