diff --git a/src/lib/components/VirtualizedFavoritesArtistGrid.svelte b/src/lib/components/VirtualizedFavoritesArtistGrid.svelte new file mode 100644 index 000000000..d9a9e9f8d --- /dev/null +++ b/src/lib/components/VirtualizedFavoritesArtistGrid.svelte @@ -0,0 +1,385 @@ + + +
+
+ {#each visibleItems as item (getItemKey(item))} +
+ {#if item.type === 'header'} +
+ {item.key} + {groups.find(grp => grp.id === item.id)?.artists.length ?? ''} +
+ {:else if item.type === 'row'} +
+ {#each item.artists as artist (artist.id)} + + {/each} +
+ {/if} +
+ {/each} +
+
+ +