fix(downloads): fix column sync bugs + simplify component

- Fix localStorage key format (use hook's setColumnsOrder/setMultipleColumnWidths)
- Fix columnsWidth read shape (object-keyed entries, not {accessor,width})
- Safe JSON.parse with try/catch fallback
- Per-widget storeKey (include itemId, sort columns)
- Reset initialSyncDone on storeKey change
- Remove forced table-layout:fixed (fights resize lifecycle)
- Skip persist until initial server restore completes
- Extract helpers and lookup tables (code-simplifier)
This commit is contained in:
Thomas Camlong committed 2026-07-21 16:05:59 +02:00
1 parent 88a6f44d0d
commit 70b868544f
2 files changed
+439 -245

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -11,10 +11,6 @@
background-color: transparent !important;
}
.downloads-table .mantine-datatable-table {
table-layout: fixed;
}
.downloads-table .mantine-datatable-table tr {
background-color: transparent;
}