Merge remote-tracking branch 'origin/feat/auto-mobile-boards' into feat/stack-downloads-tooltip-assistant

This commit is contained in:
Thomas Camlong committed 2026-08-10 09:27:24 +02:00
commit 34344ed57a
2 files changed
+14 -4

No files matched your search

+1 -1
View File
@@ -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 - **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 - **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 - **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 - **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 - **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 - **Global controls** — pause/resume all downloads across all clients from the footer bar
+13 -3
View File
@@ -489,7 +489,7 @@ export default function DownloadClientsWidget({
title: "", title: "",
width: 36, width: 36,
render: (record) => ( render: (record) => (
<Tooltip label={record.integration.name} withArrow> <Tooltip key={displayMode} label={record.integration.name} withArrow>
<Avatar size={20} radius={0} src={getIconUrl(record.integration.kind)} /> <Avatar size={20} radius={0} src={getIconUrl(record.integration.kind)} />
</Tooltip> </Tooltip>
), ),
@@ -501,6 +501,7 @@ export default function DownloadClientsWidget({
ellipsis: true, ellipsis: true,
render: (record) => ( render: (record) => (
<Tooltip <Tooltip
key={displayMode}
label={buildHoverTooltip(record, t)} label={buildHoverTooltip(record, t)}
multiline multiline
w={280} w={280}
@@ -535,7 +536,14 @@ export default function DownloadClientsWidget({
render: (record) => { render: (record) => {
const pct = Math.floor(record.progress * 100); const pct = Math.floor(record.progress * 100);
return ( return (
<Tooltip label={buildProgressTooltip(record)} withArrow openDelay={300} position="top" color="dark"> <Tooltip
key={displayMode}
label={buildProgressTooltip(record)}
withArrow
openDelay={300}
position="top"
color="dark"
>
<Group gap={4} wrap="nowrap" style={{ flex: 1 }}> <Group gap={4} wrap="nowrap" style={{ flex: 1 }}>
<Text size="xs" fw={500} w={36} ta="right" style={{ flexShrink: 0 }}> <Text size="xs" fw={500} w={36} ta="right" style={{ flexShrink: 0 }}>
{`${pct}%`} {`${pct}%`}
@@ -676,7 +684,7 @@ export default function DownloadClientsWidget({
}, },
]; ];
return cols.filter(Boolean) as DataTableColumn<ExtendedDownloadClientItem>[]; return cols.filter(Boolean) as DataTableColumn<ExtendedDownloadClientItem>[];
}, [columnContext, t, size, progressColumnWidth]); }, [columnContext, t, size, progressColumnWidth, displayMode]);
const { effectiveColumns, storeKey } = usePersistedTableLayout({ const { effectiveColumns, storeKey } = usePersistedTableLayout({
columns, columns,
@@ -740,6 +748,7 @@ export default function DownloadClientsWidget({
<Stack gap={0} h="100%" style={{ overflow: "hidden" }}> <Stack gap={0} h="100%" style={{ overflow: "hidden" }}>
{(showStats || isAdvanced) && ( {(showStats || isAdvanced) && (
<GlobalStatsBar <GlobalStatsBar
key={displayMode}
queueStats={queueStats} queueStats={queueStats}
totalSpeed={totalSpeed} totalSpeed={totalSpeed}
totalUpSpeed={totalUpSpeed} totalUpSpeed={totalUpSpeed}
@@ -784,6 +793,7 @@ export default function DownloadClientsWidget({
{(isAdvanced || height >= 96) && ( {(isAdvanced || height >= 96) && (
<WidgetFooter <WidgetFooter
key={displayMode}
clients={clients} clients={clients}
totalSpeed={totalSpeed} totalSpeed={totalSpeed}
totalUpSpeed={totalUpSpeed} totalUpSpeed={totalUpSpeed}