From a0fbd5b7b466e44c4379f75e49248ba2dc078ce1 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Sun, 8 Feb 2026 21:23:36 -0600 Subject: [PATCH] feat: add VirtualizedFavoritesArtistList component Binary search virtualization for artist sidepanel list. Includes ticker animation for long names, group headers, and scroll-to-group support. 64px row height, 10-item buffer. --- .../VirtualizedFavoritesArtistList.svelte | 409 ++++++++++++++++++ 1 file changed, 409 insertions(+) create mode 100644 src/lib/components/VirtualizedFavoritesArtistList.svelte diff --git a/src/lib/components/VirtualizedFavoritesArtistList.svelte b/src/lib/components/VirtualizedFavoritesArtistList.svelte new file mode 100644 index 000000000..968a934fa --- /dev/null +++ b/src/lib/components/VirtualizedFavoritesArtistList.svelte @@ -0,0 +1,409 @@ + + +
+
+ {#each visibleItems as item (getItemKey(item))} +
+ {#if item.type === 'header'} +
{item.key}
+ {:else if item.type === 'artist'} + {@const artist = item.artist} + {@const hasOverflow = artistNameOverflows.has(artist.id)} + {@const isHovered = hoveredArtistId === artist.id} + + {/if} +
+ {/each} +
+
+ +