Merge branch 'main' into exp/orbit (pre-PR sync)

Conflicts resolved in:
- src/pages/SearchResults.tsx
- src/pages/AdvancedSearch.tsx

Both pages were rewritten on main (PR #303) to use the shared
<SongRow> component with click-to-enqueueAndPlay semantics. Orbit's
playSong helper that branched on orbit-active is no longer needed
at the page level — instead, orbit awareness moved INTO SongRow and
SongCard themselves: in an active orbit session both buttons collapse
into addTrackToOrbit (suggest for guests, host-enqueue for the host)
so we don't ship a queue replacement to every guest.

Also kept main's IntersectionObserver-based pagination on both pages.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Psychotoxical
2026-04-25 16:34:38 +02:00
28 changed files with 1760 additions and 215 deletions
+16
View File
@@ -21,6 +21,7 @@ export const deTranslation = {
cancelDownload: 'Download abbrechen',
offlineLibrary: 'Offline-Bibliothek',
genres: 'Genres',
tracks: 'Titel',
playlists: 'Playlists',
mostPlayed: 'Meistgehört',
radio: 'Internetradio',
@@ -40,6 +41,7 @@ export const deTranslation = {
mostPlayed: 'Meistgehört',
recentlyPlayed: 'Kürzlich gespielt',
discover: 'Entdecken',
discoverSongs: 'Titel entdecken',
loadMore: 'Mehr laden',
discoverMore: 'Mehr entdecken',
discoverArtists: 'Künstler entdecken',
@@ -378,6 +380,20 @@ export const deTranslation = {
offlineQueuing: '{{count}} Album(s) für Offline einreihen…',
offlineFailed: '{{name}} konnte nicht offline hinzugefügt werden',
},
tracks: {
title: 'Titel',
subtitle: 'Stöbern. Suchen. Entdecken.',
heroEyebrow: 'Titel des Moments',
heroReroll: 'Anderen wählen',
playSong: 'Abspielen',
enqueueSong: 'Zur Warteschlange',
railRandom: 'Zufallsauswahl',
browseTitle: 'Alle Titel durchstöbern',
browseUnsupported: 'Dieser Server listet nicht die ganze Bibliothek auf einmal. Nutze die Suche oben, um bestimmte Titel zu finden.',
searchPlaceholder: 'Titel, Künstler oder Album suchen…',
count_one: '{{count}} Titel',
count_other: '{{count}} Titel',
},
artists: {
title: 'Künstler',
search: 'Suchen…',