feat(artist): functional Artist detail screen (§A3)
Replace the scaffold Placeholder with a real artist page wired to the
existing `/artists/{id}` (+ `/albums`, `/tracks`) endpoints: header with
procedural avatar / counts / "Play all" (queues with source=artist),
discography grid (cards → album detail), and the full track list. All
three list states per async section.
Also make the Library artists-tab rows clickable → `/artists/:id`,
closing the previous navigation dead-end.
i18n: new `artist.*` block (en + ru).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -110,6 +110,19 @@ const ru: Translations = {
|
||||
description: 'В этом альбоме нет треков.',
|
||||
},
|
||||
},
|
||||
artist: {
|
||||
type: 'Исполнитель',
|
||||
play: '▶ Слушать всё',
|
||||
error: 'Не удалось загрузить исполнителя',
|
||||
meta: '{{albumCount}} альбомов · {{trackCount}} треков',
|
||||
albums: 'Альбомы',
|
||||
tracks: 'Треки',
|
||||
noAlbums: 'Пока нет альбомов.',
|
||||
empty: {
|
||||
title: 'Нет треков',
|
||||
description: 'У этого исполнителя нет треков.',
|
||||
},
|
||||
},
|
||||
playlist: {
|
||||
type: 'Плейлист',
|
||||
play: '▶ Слушать',
|
||||
|
||||
Reference in New Issue
Block a user