From 98f1209e37280e8cebfbf52640c8a78278a6b14f Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Thu, 15 Jan 2026 18:06:01 -0600 Subject: [PATCH] feat(artist): add page search and improve bio truncation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Page search: - Add search button in sticky jump-nav bar - Slide-in animation from right when opened - Filter albums, EPs, live, compilations, tributes, others, playlists - Show result count or "No results" message - Press Escape to close Bio improvements: - Reduce truncation to 530 chars (was 800, now 2/3) - Only show "Read more" if text actually needs truncation Live detection - additional languages: - German: Konzert, liveopname - Japanese: ライブ (raibu) - Korean: 라이브 (laibeu), 콘서트 (konseuteu) - Dutch: liveopname --- src/lib/adapters/qobuzAdapters.ts | 3 +- .../components/views/ArtistDetailView.svelte | 252 ++++++++++++++++-- 2 files changed, 231 insertions(+), 24 deletions(-) diff --git a/src/lib/adapters/qobuzAdapters.ts b/src/lib/adapters/qobuzAdapters.ts index 5480ad80e..04fcf53aa 100644 --- a/src/lib/adapters/qobuzAdapters.ts +++ b/src/lib/adapters/qobuzAdapters.ts @@ -165,7 +165,8 @@ function isLiveAlbum(album: QobuzAlbum): boolean { // Live album patterns in other languages // Spanish: "en vivo", "en directo" | Portuguese: "ao vivo" | Italian: "dal vivo" | French: "en direct" - const liveMultilang = /\b(en vivo|en directo|ao vivo|dal vivo|en direct)\b/i; + // German: "Konzert", "Live in" | Dutch: "concert" | Japanese: ライブ | Korean: 라이브, 콘서트 + const liveMultilang = /\b(en vivo|en directo|ao vivo|dal vivo|en direct|konzert|liveopname)\b|ライブ|라이브|콘서트/i; // Tour recordings (but not "tour edition" which is a studio album variant) const tourPatterns = /\b(tour|on tour)\b(?!.*\bedition\b)/; diff --git a/src/lib/components/views/ArtistDetailView.svelte b/src/lib/components/views/ArtistDetailView.svelte index b2b0fdbca..3469f9096 100644 --- a/src/lib/components/views/ArtistDetailView.svelte +++ b/src/lib/components/views/ArtistDetailView.svelte @@ -1,6 +1,6 @@