fix(mainstage): rename Home Page setting, start-page fallback + empty state (#975)

* fix(mainstage): rename Home Page setting, add start-page fallback + empty state

- Rename "Home Page" personalisation section to "Mainstage" across 9 locales
  so the heading matches the sidebar entry; add "mainstage" search keyword.
- Index route "/" now redirects to the first visible library item when the
  Mainstage sidebar entry is hidden, instead of stranding the app on a blank
  page. New pure resolveStartRoute() mirrors sidebar order + nav-mode gating.
- Show a guided empty state on Mainstage when every section is toggled off,
  with a CTA into Settings -> Personalisation.
- Unit tests for resolveStartRoute.

* docs(changelog): Mainstage rename, start-page fallback + empty state (#975)
This commit is contained in:
Frank Stellmacher
2026-06-04 02:12:52 +02:00
committed by GitHub
parent 3be8c367dd
commit 908c349cfd
24 changed files with 175 additions and 20 deletions
+4 -1
View File
@@ -14,5 +14,8 @@ export const home = {
becauseYouLikeFor: 'Weil du {{artist}} gehört hast',
similarTo: 'Ähnlich wie {{artist}}',
becauseYouLikeTracks_one: '{{count}} Titel',
becauseYouLikeTracks_other: '{{count}} Titel'
becauseYouLikeTracks_other: '{{count}} Titel',
mainstageEmptyTitle: 'Deine Mainstage ist leer',
mainstageEmptyBody: 'Alle Bereiche sind ausgeschaltet. Schalte Bereiche wieder ein oder blende die Mainstage aus der Seitenleiste aus.',
mainstageEmptyCta: 'Personalisierung öffnen'
};
+1 -1
View File
@@ -326,7 +326,7 @@ export const settings = {
searchNoResults: 'Keine Treffer für deine Suche.',
integrationsPrivacyTitle: 'Hinweis zum Datenschutz',
integrationsPrivacyBody: 'Alle Integrationen auf diesem Tab sind <strong>Opt-in</strong> und senden, sobald aktiviert, Daten an externe Dienste oder an deinen Navidrome-Server. Last.fm erhält deinen Wiedergabeverlauf, Discord zeigt den aktuell laufenden Track in deinem Profil an, Bandsintown wird pro Künstler für Tour-Daten abgefragt, und der „Jetzt läuft"-Hinweis veröffentlicht deinen aktuellen Titel für andere Benutzer deines Navidrome-Servers. Wer das nicht möchte, lässt den jeweiligen Abschnitt einfach deaktiviert.',
homeCustomizerTitle: 'Startseite',
homeCustomizerTitle: 'Mainstage',
queueModeTitle: 'Warteschlangen-Ansicht',
queueModeQueueSub: 'Zeigt nur kommende Titel. Der laufende Titel bleibt im Kopf und verschwindet aus der Liste, sobald er gespielt wurde.',
queueModePlaylistSub: 'Behält die ganze Warteschlange in der Liste, der laufende Titel oben hervorgehoben; gespielte Titel bleiben stehen.',
+4 -1
View File
@@ -14,5 +14,8 @@ export const home = {
becauseYouLikeFor: 'Because you listened to {{artist}}',
similarTo: 'Similar to {{artist}}',
becauseYouLikeTracks_one: '{{count}} track',
becauseYouLikeTracks_other: '{{count}} tracks'
becauseYouLikeTracks_other: '{{count}} tracks',
mainstageEmptyTitle: 'Your Mainstage is empty',
mainstageEmptyBody: 'Every section is turned off. Turn sections back on, or hide Mainstage from the sidebar.',
mainstageEmptyCta: 'Open Personalisation settings'
};
+1 -1
View File
@@ -390,7 +390,7 @@ export const settings = {
searchNoResults: 'No settings match your search.',
integrationsPrivacyTitle: 'Privacy notice',
integrationsPrivacyBody: 'All integrations on this tab are <strong>opt-in</strong> and send data to external services or to your Navidrome server when enabled. Last.fm receives your listening history, Discord shows the currently playing track in your profile, Bandsintown is queried per artist to fetch tour dates, and the Now-Playing share publishes your current track to other users of your Navidrome server. If you don\'t want any of this, simply leave the corresponding section disabled.',
homeCustomizerTitle: 'Home Page',
homeCustomizerTitle: 'Mainstage',
queueModeTitle: 'Queue Display Mode',
queueModeQueueSub: 'Show only upcoming tracks. The current track stays in the header and leaves the list once it has played.',
queueModePlaylistSub: 'Keep the whole queue in the list with the current track highlighted at the top; played tracks stay.',
+4 -1
View File
@@ -14,5 +14,8 @@ export const home = {
becauseYouLikeFor: 'Porque escuchaste a {{artist}}',
similarTo: 'Similar a {{artist}}',
becauseYouLikeTracks_one: '{{count}} canción',
becauseYouLikeTracks_other: '{{count}} canciones'
becauseYouLikeTracks_other: '{{count}} canciones',
mainstageEmptyTitle: 'Tu Escenario Principal está vacío',
mainstageEmptyBody: 'Todas las secciones están desactivadas. Vuelve a activarlas u oculta el Escenario Principal de la barra lateral.',
mainstageEmptyCta: 'Abrir Personalización'
};
+1 -1
View File
@@ -325,7 +325,7 @@ export const settings = {
aboutMaintainersLabel: 'Mantenedores',
integrationsPrivacyTitle: 'Aviso de privacidad',
integrationsPrivacyBody: 'Todas las integraciones de esta pestaña son <strong>opt-in</strong> y, una vez activadas, envían datos a servicios externos o a tu servidor Navidrome. Last.fm recibe tu historial de escucha, Discord muestra la pista actual en tu perfil, Bandsintown se consulta por artista para obtener fechas de gira, y la compartición «En reproducción» publica tu pista actual para otros usuarios de tu servidor Navidrome. Si no quieres nada de esto, simplemente deja desactivada la sección correspondiente.',
homeCustomizerTitle: 'Página de Inicio',
homeCustomizerTitle: 'Escenario Principal',
queueModeTitle: 'Modo de visualización de la cola',
queueModeQueueSub: 'Muestra solo las próximas pistas. La pista actual permanece en el encabezado y sale de la lista al reproducirse.',
queueModePlaylistSub: 'Mantiene toda la cola en la lista, con la pista actual resaltada arriba; las reproducidas permanecen.',
+4 -1
View File
@@ -14,5 +14,8 @@ export const home = {
becauseYouLikeFor: 'Parce que tu as écouté {{artist}}',
similarTo: 'Similaire à {{artist}}',
becauseYouLikeTracks_one: '{{count}} titre',
becauseYouLikeTracks_other: '{{count}} titres'
becauseYouLikeTracks_other: '{{count}} titres',
mainstageEmptyTitle: 'Votre Scène principale est vide',
mainstageEmptyBody: 'Toutes les sections sont désactivées. Réactivez des sections ou masquez la Scène principale de la barre latérale.',
mainstageEmptyCta: 'Ouvrir la Personnalisation'
};
+1 -1
View File
@@ -323,7 +323,7 @@ export const settings = {
aboutMaintainersLabel: 'Mainteneurs',
integrationsPrivacyTitle: 'Avis de confidentialité',
integrationsPrivacyBody: 'Toutes les intégrations de cet onglet sont <strong>facultatives</strong> et, une fois activées, envoient des données à des services externes ou à votre serveur Navidrome. Last.fm reçoit votre historique d\'écoute, Discord affiche le morceau en cours dans votre profil, Bandsintown est interrogé par artiste pour récupérer les dates de tournée, et le partage « En cours de lecture » publie votre morceau actuel auprès des autres utilisateurs de votre serveur Navidrome. Si vous ne voulez rien de tout cela, laissez simplement la section correspondante désactivée.',
homeCustomizerTitle: 'Page d\'accueil',
homeCustomizerTitle: 'Scène principale',
queueModeTitle: 'Mode d\'affichage de la file',
queueModeQueueSub: 'N\'affiche que les pistes à venir. La piste en cours reste dans l\'en-tête et quitte la liste une fois jouée.',
queueModePlaylistSub: 'Conserve toute la file dans la liste, la piste en cours surlignée en haut ; les pistes jouées restent.',
+4 -1
View File
@@ -14,5 +14,8 @@ export const home = {
becauseYouLikeFor: 'Fordi du har hørt på {{artist}}',
similarTo: 'Likt {{artist}}',
becauseYouLikeTracks_one: '{{count}} spor',
becauseYouLikeTracks_other: '{{count}} spor'
becauseYouLikeTracks_other: '{{count}} spor',
mainstageEmptyTitle: 'Hovedscenen din er tom',
mainstageEmptyBody: 'Alle seksjoner er slått av. Slå på seksjoner igjen, eller skjul Hovedscene fra sidefeltet.',
mainstageEmptyCta: 'Åpne Tilpasning'
};
+1 -1
View File
@@ -322,7 +322,7 @@ export const settings = {
aboutMaintainersLabel: 'Ansvarlige',
integrationsPrivacyTitle: 'Personvern-merknad',
integrationsPrivacyBody: 'Alle integrasjoner på denne fanen er <strong>frivillige</strong> og sender, når aktivert, data til eksterne tjenester eller til Navidrome-serveren din. Last.fm mottar lyttehistorikken din, Discord viser gjeldende spor i profilen din, Bandsintown spørres per artist for turnédatoer, og "Spilles nå"-delingen publiserer gjeldende spor til andre brukere av Navidrome-serveren din. Hvis du ikke ønsker noe av dette, la den aktuelle seksjonen stå deaktivert.',
homeCustomizerTitle: 'Hjemmeside',
homeCustomizerTitle: 'Hovedscene',
queueModeTitle: 'Visningsmodus for kø',
queueModeQueueSub: 'Viser bare kommende spor. Det gjeldende sporet blir i toppen og forsvinner fra listen når det er spilt.',
queueModePlaylistSub: 'Beholder hele køen i listen med gjeldende spor uthevet øverst; avspilte spor blir værende.',
+4 -1
View File
@@ -14,5 +14,8 @@ export const home = {
becauseYouLikeFor: 'Omdat je naar {{artist}} hebt geluisterd',
similarTo: 'Lijkt op {{artist}}',
becauseYouLikeTracks_one: '{{count}} nummer',
becauseYouLikeTracks_other: '{{count}} nummers'
becauseYouLikeTracks_other: '{{count}} nummers',
mainstageEmptyTitle: 'Je Hoofdpodium is leeg',
mainstageEmptyBody: 'Alle secties zijn uitgeschakeld. Schakel secties weer in of verberg het Hoofdpodium in de zijbalk.',
mainstageEmptyCta: 'Personalisatie openen'
};
+1 -1
View File
@@ -323,7 +323,7 @@ export const settings = {
aboutMaintainersLabel: 'Beheerders',
integrationsPrivacyTitle: 'Privacyverklaring',
integrationsPrivacyBody: 'Alle integraties op dit tabblad zijn <strong>opt-in</strong> en sturen, eenmaal ingeschakeld, gegevens naar externe diensten of naar je Navidrome-server. Last.fm ontvangt je luistergeschiedenis, Discord toont het nu spelende nummer in je profiel, Bandsintown wordt per artiest bevraagd voor tourdatums, en de "Nu aan het afspelen"-deling publiceert je huidige nummer bij andere gebruikers van je Navidrome-server. Wil je dit niet, laat dan de bijbehorende sectie gewoon uitgeschakeld.',
homeCustomizerTitle: 'Startpagina',
homeCustomizerTitle: 'Hoofdpodium',
queueModeTitle: 'Weergavemodus wachtrij',
queueModeQueueSub: 'Toont alleen komende nummers. Het huidige nummer blijft in de kop en verdwijnt uit de lijst zodra het is afgespeeld.',
queueModePlaylistSub: 'Houdt de hele wachtrij in de lijst met het huidige nummer bovenaan gemarkeerd; afgespeelde nummers blijven staan.',
+4 -1
View File
@@ -14,5 +14,8 @@ export const home = {
becauseYouLikeFor: 'Deoarece ai ascultat {{artist}}',
similarTo: 'Similar cu {{artist}}',
becauseYouLikeTracks_one: '{{count}} piesă',
becauseYouLikeTracks_other: '{{count}} piese'
becauseYouLikeTracks_other: '{{count}} piese',
mainstageEmptyTitle: 'Scena Principală este goală',
mainstageEmptyBody: 'Toate secțiunile sunt dezactivate. Reactivează secțiuni sau ascunde Scena Principală din bara laterală.',
mainstageEmptyCta: 'Deschide Personalizare'
};
+1 -1
View File
@@ -328,7 +328,7 @@ export const settings = {
searchNoResults: 'Nicio setare nu corespunde cu ce ai căutat.',
integrationsPrivacyTitle: 'Notificare de confidențialitate',
integrationsPrivacyBody: 'Toate integrările din acest tab sunt <strong>opționale</strong> și trimit date către servicii externe sau server-ul tău Navidrome când sunt activate. Last.fm primește istoricul ascultărilor tale, Discord arată piesa redată curent în profilul tău, Bandsintown e interogat per artist pentru a aduce date de turnee, și distribuirea Now-Playing publică piesa curentă către alți useri din server-ul tău Navidrome. Dacă nu vrei vreo opțiune, doar lasă secțiunea corespunzătoare dezactivată',
homeCustomizerTitle: 'Pagina Principală',
homeCustomizerTitle: 'Scena Principală',
queueModeTitle: 'Mod de afișare a cozii',
queueModeQueueSub: 'Arată doar piesele următoare. Piesa curentă rămâne în antet și iese din listă după ce a fost redată.',
queueModePlaylistSub: 'Păstrează toată coada în listă, cu piesa curentă evidențiată sus; piesele redate rămân.',
+3
View File
@@ -17,4 +17,7 @@ export const home = {
becauseYouLikeTracks_few: '{{count}} трека',
becauseYouLikeTracks_many: '{{count}} треков',
becauseYouLikeTracks_other: '{{count}} треков',
mainstageEmptyTitle: 'Раздел «Для вас» пуст',
mainstageEmptyBody: 'Все разделы отключены. Включите разделы снова или скройте «Для вас» из боковой панели.',
mainstageEmptyCta: 'Открыть Персонализацию',
};
+1 -1
View File
@@ -404,7 +404,7 @@ export const settings = {
aboutMaintainersLabel: 'Сопровождающие',
integrationsPrivacyTitle: 'Уведомление о конфиденциальности',
integrationsPrivacyBody: 'Все интеграции на этой вкладке включаются <strong>по желанию</strong> и при активации отправляют данные во внешние сервисы или на ваш сервер Navidrome. Last.fm получает вашу историю прослушивания, Discord показывает текущую композицию в вашем профиле, Bandsintown опрашивается по артисту для получения дат гастролей, а «Сейчас играет» делится текущей композицией с другими пользователями вашего сервера Navidrome. Если вы не хотите ничего из этого, просто оставьте соответствующий раздел отключённым.',
homeCustomizerTitle: 'Главная',
homeCustomizerTitle: 'Для вас',
queueModeTitle: 'Режим отображения очереди',
queueModeQueueSub: 'Показывает только предстоящие треки. Текущий трек остаётся в заголовке и исчезает из списка после воспроизведения.',
queueModePlaylistSub: 'Сохраняет всю очередь в списке, текущий трек выделен вверху; воспроизведённые треки остаются.',
+4 -1
View File
@@ -14,5 +14,8 @@ export const home = {
becauseYouLikeFor: '因为你听过 {{artist}}',
similarTo: '类似 {{artist}}',
becauseYouLikeTracks_one: '{{count}} 首',
becauseYouLikeTracks_other: '{{count}} 首'
becauseYouLikeTracks_other: '{{count}} 首',
mainstageEmptyTitle: '你的主舞台是空的',
mainstageEmptyBody: '所有板块均已关闭。重新开启板块,或在侧边栏中隐藏主舞台。',
mainstageEmptyCta: '打开个性化设置'
};
+1 -1
View File
@@ -322,7 +322,7 @@ export const settings = {
aboutMaintainersLabel: '维护者',
integrationsPrivacyTitle: '隐私说明',
integrationsPrivacyBody: '此标签页中的所有集成均为 <strong>选择加入</strong>,启用后会向外部服务或您的 Navidrome 服务器发送数据。Last.fm 接收您的收听历史,Discord 在您的个人资料中显示正在播放的曲目,Bandsintown 会按艺人查询以获取巡演日期,"正在播放" 分享会向您 Navidrome 服务器的其他用户公开您当前的曲目。如果您不需要这些功能,只需将相应部分保持停用即可。',
homeCustomizerTitle: '首页',
homeCustomizerTitle: '主舞台',
queueModeTitle: '队列显示模式',
queueModeQueueSub: '仅显示即将播放的曲目。当前曲目保留在标题栏中,播放完毕后从列表移除。',
queueModePlaylistSub: '在列表中保留整个队列,当前曲目在顶部高亮显示;已播放的曲目保留。',