refator(ui): merge of ResourceList part1

This commit is contained in:
Edouard Vanbelle
2026-07-19 23:58:26 +02:00
parent aec9b8f037
commit 75ae837f1a
22 changed files with 598 additions and 89 deletions
+3 -2
View File
@@ -254,7 +254,7 @@
];
// ── Selection + batch ─────────────────────────────────────────────────────
// Selected items arrive via the batchToolbar snippet param —
// Selected items arrive via the batchActions snippet param —
// ResourceList already derives them (O(selection), not O(N)); a
// host-side `items.filter(...)` shadow would re-run a second full scan
// per selection toggle, and its id mirror is unnecessary (the component
@@ -307,6 +307,7 @@
onopen={open}
onfavorite={unfavorite}
showOwner
showPath
selectable
{contextActions}
{groupBys}
@@ -317,7 +318,7 @@
load(true, orderBy, rev);
}}
>
{#snippet batchToolbar(sel)}
{#snippet batchActions(sel)}
<Button
icon="download"
data-testid="favorites-batch-download-btn"