feat(discover): move Release Watch to below Your Mixes + add home.releaseWatch i18n key
HomeSettingsModal renders the section label with $t(`home.${section.id}`),
so the home.releaseWatch key was missing and the settings row showed
the raw key. Added it to all 5 locales (Spanish 'Radar de Novedades'
per the iOS screenshot; other languages match Qobuz's own strings
from the Android resources).
In ForYouTab, the section is now placed immediately after Your Mixes
instead of before Essentials — personal-feed sections (DailyQ / WeeklyQ
/ FavQ / TopQ + followed-artist releases) now sit together at the top.
HomeView section title switched to $t('home.releaseWatch') to match
the naming convention other sections already use.
cc
This commit is contained in:
7 files changed
+61
-54
No files matched your search
@@ -880,6 +880,56 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Release Watch — mobile "Radar de Novedades": new releases from
|
||||
followed artists/labels/awards. Placed right after Your Mixes so
|
||||
the personal-feed sections sit together at the top of For You. -->
|
||||
{#if loadingReleaseWatch}
|
||||
<div class="skeleton-section">
|
||||
<div class="skeleton-title"></div>
|
||||
<div class="skeleton-row">
|
||||
{#each { length: 6 } as _}<div class="skeleton-card"></div>{/each}
|
||||
</div>
|
||||
</div>
|
||||
{:else if releaseWatchAlbums.length > 0}
|
||||
<HorizontalScrollRow>
|
||||
{#snippet header()}
|
||||
<div class="section-header-col">
|
||||
<h2 class="section-title">{$t('home.releaseWatch')}</h2>
|
||||
<p class="section-subtitle">{$t('discover.releaseWatch.subtitle')}</p>
|
||||
</div>
|
||||
{/snippet}
|
||||
{#snippet children()}
|
||||
{#each releaseWatchAlbums as album}
|
||||
<AlbumCard
|
||||
albumId={album.id}
|
||||
artwork={album.artwork}
|
||||
title={album.title}
|
||||
artist={album.artist}
|
||||
artistId={album.artistId}
|
||||
onArtistClick={onArtistClick}
|
||||
genre={album.genre}
|
||||
releaseDate={album.releaseDate}
|
||||
size="large"
|
||||
quality={album.quality}
|
||||
onPlay={onAlbumPlay ? () => onAlbumPlay(album.id) : undefined}
|
||||
onPlayNext={onAlbumPlayNext ? () => onAlbumPlayNext(album.id) : undefined}
|
||||
onPlayLater={onAlbumPlayLater ? () => onAlbumPlayLater(album.id) : undefined}
|
||||
onAddAlbumToPlaylist={onAddAlbumToPlaylist ? () => onAddAlbumToPlaylist(album.id) : undefined}
|
||||
onShareQobuz={onAlbumShareQobuz ? () => onAlbumShareQobuz(album.id) : undefined}
|
||||
onShareSonglink={onAlbumShareSonglink ? () => onAlbumShareSonglink(album.id) : undefined}
|
||||
onDownload={onAlbumDownload ? () => onAlbumDownload(album.id) : undefined}
|
||||
isAlbumFullyDownloaded={isAlbumDownloaded(album.id)}
|
||||
onOpenContainingFolder={onOpenAlbumFolder ? () => onOpenAlbumFolder(album.id) : undefined}
|
||||
onReDownloadAlbum={onReDownloadAlbum ? () => onReDownloadAlbum(album.id) : undefined}
|
||||
{downloadStateVersion}
|
||||
onclick={() => { onAlbumClick?.(album.id); loadAlbumDownloadStatus(album.id); }}
|
||||
/>
|
||||
{/each}
|
||||
<div class="spacer"></div>
|
||||
{/snippet}
|
||||
</HorizontalScrollRow>
|
||||
{/if}
|
||||
|
||||
<!-- Radio Stations -->
|
||||
{#if loadingRecentAlbums || loadingFavoriteAlbums}
|
||||
<div class="skeleton-section">
|
||||
@@ -1226,54 +1276,6 @@
|
||||
</HorizontalScrollRow>
|
||||
{/if}
|
||||
|
||||
<!-- Release Watch — followed artists/labels/awards, Qobuz mobile parity -->
|
||||
{#if loadingReleaseWatch}
|
||||
<div class="skeleton-section">
|
||||
<div class="skeleton-title"></div>
|
||||
<div class="skeleton-row">
|
||||
{#each { length: 6 } as _}<div class="skeleton-card"></div>{/each}
|
||||
</div>
|
||||
</div>
|
||||
{:else if releaseWatchAlbums.length > 0}
|
||||
<HorizontalScrollRow>
|
||||
{#snippet header()}
|
||||
<div class="section-header-col">
|
||||
<h2 class="section-title">{$t('discover.releaseWatch.title')}</h2>
|
||||
<p class="section-subtitle">{$t('discover.releaseWatch.subtitle')}</p>
|
||||
</div>
|
||||
{/snippet}
|
||||
{#snippet children()}
|
||||
{#each releaseWatchAlbums as album}
|
||||
<AlbumCard
|
||||
albumId={album.id}
|
||||
artwork={album.artwork}
|
||||
title={album.title}
|
||||
artist={album.artist}
|
||||
artistId={album.artistId}
|
||||
onArtistClick={onArtistClick}
|
||||
genre={album.genre}
|
||||
releaseDate={album.releaseDate}
|
||||
size="large"
|
||||
quality={album.quality}
|
||||
onPlay={onAlbumPlay ? () => onAlbumPlay(album.id) : undefined}
|
||||
onPlayNext={onAlbumPlayNext ? () => onAlbumPlayNext(album.id) : undefined}
|
||||
onPlayLater={onAlbumPlayLater ? () => onAlbumPlayLater(album.id) : undefined}
|
||||
onAddAlbumToPlaylist={onAddAlbumToPlaylist ? () => onAddAlbumToPlaylist(album.id) : undefined}
|
||||
onShareQobuz={onAlbumShareQobuz ? () => onAlbumShareQobuz(album.id) : undefined}
|
||||
onShareSonglink={onAlbumShareSonglink ? () => onAlbumShareSonglink(album.id) : undefined}
|
||||
onDownload={onAlbumDownload ? () => onAlbumDownload(album.id) : undefined}
|
||||
isAlbumFullyDownloaded={isAlbumDownloaded(album.id)}
|
||||
onOpenContainingFolder={onOpenAlbumFolder ? () => onOpenAlbumFolder(album.id) : undefined}
|
||||
onReDownloadAlbum={onReDownloadAlbum ? () => onReDownloadAlbum(album.id) : undefined}
|
||||
{downloadStateVersion}
|
||||
onclick={() => { onAlbumClick?.(album.id); loadAlbumDownloadStatus(album.id); }}
|
||||
/>
|
||||
{/each}
|
||||
<div class="spacer"></div>
|
||||
{/snippet}
|
||||
</HorizontalScrollRow>
|
||||
{/if}
|
||||
|
||||
<!-- Essentials [Genre] -->
|
||||
{#if loadingEssentials}
|
||||
<div class="skeleton-section">
|
||||
|
||||
@@ -1344,7 +1344,7 @@
|
||||
<HorizontalScrollRow>
|
||||
{#snippet header()}
|
||||
<div class="section-header-col">
|
||||
<h2 class="section-title">{$t('discover.releaseWatch.title')}</h2>
|
||||
<h2 class="section-title">{$t('home.releaseWatch')}</h2>
|
||||
<p class="section-subtitle">{$t('discover.releaseWatch.subtitle')}</p>
|
||||
</div>
|
||||
{/snippet}
|
||||
|
||||
@@ -75,7 +75,8 @@
|
||||
"mostStreamed": "Beliebte Alben",
|
||||
"favoriteAlbums": "Mehr von Favoriten",
|
||||
"recentAlbums": "Kürzlich gespielt",
|
||||
"topArtists": "Ihre Top-Künstler"
|
||||
"topArtists": "Ihre Top-Künstler",
|
||||
"releaseWatch": "Release-Radar"
|
||||
},
|
||||
"discover": {
|
||||
"newReleases": "Neuerscheinungen",
|
||||
|
||||
@@ -75,7 +75,8 @@
|
||||
"recentAlbums": "Recently Played",
|
||||
"continueTracks": "Continue Listening",
|
||||
"topArtists": "Your Top Artists",
|
||||
"favoriteAlbums": "More From Favorites"
|
||||
"favoriteAlbums": "More From Favorites",
|
||||
"releaseWatch": "Release Watch"
|
||||
},
|
||||
"discover": {
|
||||
"newReleases": "New Releases",
|
||||
|
||||
@@ -75,7 +75,8 @@
|
||||
"mostStreamed": "Álbumes populares",
|
||||
"favoriteAlbums": "Más de Favoritos",
|
||||
"recentAlbums": "Jugado recientemente",
|
||||
"topArtists": "Tus mejores artistas"
|
||||
"topArtists": "Tus mejores artistas",
|
||||
"releaseWatch": "Radar de Novedades"
|
||||
},
|
||||
"discover": {
|
||||
"newReleases": "Novedades",
|
||||
|
||||
@@ -75,7 +75,8 @@
|
||||
"mostStreamed": "Top albums",
|
||||
"favoriteAlbums": "Plus de favoris",
|
||||
"recentAlbums": "Récemment écouté",
|
||||
"topArtists": "Vos artistes favoris"
|
||||
"topArtists": "Vos artistes favoris",
|
||||
"releaseWatch": "Radar des sorties"
|
||||
},
|
||||
"discover": {
|
||||
"newReleases": "Nouveautés",
|
||||
|
||||
@@ -75,7 +75,8 @@
|
||||
"mostStreamed": "Álbuns populares",
|
||||
"favoriteAlbums": "Mais dos favoritos",
|
||||
"recentAlbums": "Jogado recentemente",
|
||||
"topArtists": "Seus principais artistas"
|
||||
"topArtists": "Seus principais artistas",
|
||||
"releaseWatch": "Radar de Novidades"
|
||||
},
|
||||
"discover": {
|
||||
"newReleases": "Novos Lançamentos",
|
||||
|
||||
Reference in new issue
Block a user