From f5cde547056912ad0d8a07f96c096372e6fba3fb Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Mon, 10 Aug 2026 09:26:46 +0200 Subject: [PATCH] fix: dismiss Downloads tooltips in advanced mode --- apps/docs/docs/widgets/downloads/index.mdx | 2 +- packages/widgets/src/downloads/component.tsx | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/apps/docs/docs/widgets/downloads/index.mdx b/apps/docs/docs/widgets/downloads/index.mdx index 5d4cca498..47e7a901f 100644 --- a/apps/docs/docs/widgets/downloads/index.mdx +++ b/apps/docs/docs/widgets/downloads/index.mdx @@ -45,7 +45,7 @@ import contextMenuImg from "./img/context-menu.png"; - **Column customization** — choose which columns to display, then hover a header to reveal its grab handle for reordering or drag its edge to resize it; layouts save automatically per widget - **Right-click context menu** — pause, resume, delete downloads, or copy download names directly from the context menu - **Row expansion** — click any row to see full details inline without opening a separate modal -- **Hover tooltips** — hover a download name to see size, speeds, ETA, ratio, and category +- **Hover tooltips** — hover a download name to see size, speeds, ETA, ratio, and category; open tooltips close when switching between compact and advanced mode - **Global stats bar** — toggle a summary bar showing queue progress, total size, speeds, ratio, and per-state counts - **Client filtering** — filter downloads by integration or status using the footer filter panel - **Global controls** — pause/resume all downloads across all clients from the footer bar diff --git a/packages/widgets/src/downloads/component.tsx b/packages/widgets/src/downloads/component.tsx index a3957a587..32ab31afa 100644 --- a/packages/widgets/src/downloads/component.tsx +++ b/packages/widgets/src/downloads/component.tsx @@ -489,7 +489,7 @@ export default function DownloadClientsWidget({ title: "", width: 36, render: (record) => ( - + ), @@ -501,6 +501,7 @@ export default function DownloadClientsWidget({ ellipsis: true, render: (record) => ( { const pct = Math.floor(record.progress * 100); return ( - + {`${pct}%`} @@ -676,7 +684,7 @@ export default function DownloadClientsWidget({ }, ]; return cols.filter(Boolean) as DataTableColumn[]; - }, [columnContext, t, size, progressColumnWidth]); + }, [columnContext, t, size, progressColumnWidth, displayMode]); const { effectiveColumns, storeKey } = usePersistedTableLayout({ columns, @@ -740,6 +748,7 @@ export default function DownloadClientsWidget({ {(showStats || isAdvanced) && ( = 96) && (