feat: track info drawer (Get Info-style)
Add a right-side track info drawer that sits to the right of the queue panel when both are open. Shows a large cover, title/artist/album links, a Play/Queue/Edit actions row, and Status/General/File/Identifiers sections (empty rows omitted). Opens from the track context menu, the player now-playing tile, and the queue now-playing card. - ui slice: trackInfoId + open/closeTrackInfo - TrackInfoDrawer rendered after QueuePanel in AppShell; overlays content on narrow viewports - map source/createdAt/enrichedAt from the wire (were unmapped) - formatDateTime helper, info icon, i18n (en/ru) - drop orphaned toggleNowPlaying/isNowPlayingOpen from player slice Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -156,12 +156,49 @@ const en = {
|
||||
playNow: 'Play now',
|
||||
playNext: 'Play next',
|
||||
addToQueue: 'Add to queue',
|
||||
info: 'Track info',
|
||||
addToPlaylist: 'Add to playlist…',
|
||||
editMetadata: 'Edit metadata',
|
||||
download: 'Download',
|
||||
delete: 'Delete',
|
||||
},
|
||||
},
|
||||
trackInfo: {
|
||||
title: 'Track info',
|
||||
open: 'View track info',
|
||||
close: 'Close',
|
||||
notFound: 'Track not found',
|
||||
play: 'Play',
|
||||
addToQueue: 'Queue',
|
||||
editMetadata: 'Edit metadata',
|
||||
liked: 'Liked',
|
||||
trackOf: 'No. {{n}} of {{total}}',
|
||||
kbps: '{{n}} kbps',
|
||||
sections: {
|
||||
status: 'Status',
|
||||
general: 'General',
|
||||
file: 'File',
|
||||
identifiers: 'Identifiers',
|
||||
},
|
||||
fields: {
|
||||
artist: 'Artist',
|
||||
album: 'Album',
|
||||
trackNumber: 'Track',
|
||||
disc: 'Disc',
|
||||
year: 'Year',
|
||||
genre: 'Genre',
|
||||
duration: 'Duration',
|
||||
format: 'Format',
|
||||
bitrate: 'Bitrate',
|
||||
size: 'Size',
|
||||
source: 'Source',
|
||||
added: 'Added',
|
||||
enriched: 'Enriched',
|
||||
trackId: 'Track ID',
|
||||
albumId: 'Album ID',
|
||||
artistId: 'Artist ID',
|
||||
},
|
||||
},
|
||||
common: {
|
||||
error: 'Something went wrong',
|
||||
retry: 'Retry',
|
||||
|
||||
Reference in New Issue
Block a user