feat: add useDataTableColumns with toggleable, draggable, resizable, pinnable columns

This commit is contained in:
Thomas Camlong committed 2026-07-21 16:05:59 +02:00
1 parent 6dffa4d2df
commit 7f7af15fc5
4 files changed
+181 -40

No files matched your search

@@ -44,8 +44,11 @@ import contextMenuImg from './img/context-menu.png';
- **Responsive table** — columns automatically adapt to widget width, hiding less important columns at smaller sizes
- **Sortable columns** — click any column header to sort ascending/descending
- **Column customization** — toggle, reorder, resize, and pin columns via the header menu; preferences persist in local storage
- **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
- **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
- **Status indicators** — color-coded badges show download state at a glance
@@ -80,6 +83,9 @@ import contextMenuImg from './img/context-menu.png';
- **Right-click** any download to open a context menu with pause/resume, delete, and copy actions
- **Click** any row to expand it and see full download details inline
- **Hover** a download name for a quick stats tooltip
- **Column header menu** — show/hide, reorder, resize, or pin columns (reset via the columns button in the footer)
- **Stats toggle** — show or hide the global stats bar from the footer
- **Pause / Resume** all downloads using the footer controls
- **Filter** by integration or status using the filter button in the footer
- **Sort** by clicking column headers (with persistent sort direction)