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
@@ -22,6 +22,7 @@ export const enTranslation = {
cancelDownload: 'Cancel download',
offlineLibrary: 'Offline Library',
genres: 'Genres',
tracks: 'Tracks',
playlists: 'Playlists',
smartPlaylists: 'Smart Playlists',
mostPlayed: 'Most Played',
@@ -42,6 +43,7 @@ export const enTranslation = {
mostPlayed: 'Most Played',
recentlyPlayed: 'Recently Played',
discover: 'Discover',
discoverSongs: 'Discover Songs',
loadMore: 'Load More',
discoverMore: 'Discover More',
discoverArtists: 'Discover Artists',
@@ -380,6 +382,20 @@ export const enTranslation = {
offlineQueuing: 'Queuing {{count}} album(s) for offline…',
offlineFailed: 'Failed to add {{name}} offline',
},
tracks: {
title: 'Tracks',
subtitle: 'Browse. Search. Discover.',
heroEyebrow: 'Track of the moment',
heroReroll: 'Pick another',
playSong: 'Play',
enqueueSong: 'Add to queue',
railRandom: 'Random Pick',
browseTitle: 'Browse all tracks',
browseUnsupported: "This server doesn't list the whole library at once. Use the search above to find specific tracks.",
searchPlaceholder: 'Find a track by title, artist or album…',
count_one: '{{count}} track',
count_other: '{{count}} tracks',
},
artists: {
title: 'Artists',
search: 'Search…',