feat(artist): add page search and improve bio truncation

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
This commit is contained in:
vicrodh committed 2026-01-15 18:06:01 -06:00
1 parent 80579e29fa
commit 98f1209e37
2 files changed
+231 -24

No files matched your search

+2 -1
View File
@@ -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)/;