feat: add gamepad navigation and music library improvements
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
- add TV/gamepad spatial navigation, focus ring and back/select controls - cache artwork persistently and add music cover placeholders - add compact songs list, shuffle-all queue and library error recovery - polish remote control layout and optimistic seek timeline
This commit is contained in:
1 parent
04ab9f767b
commit
5f5803c9f8
24 files changed
+1199
-245
No files matched your search
@@ -72,6 +72,17 @@ export default function AlbumMusicTrack(props: AlbumMusicTrackProps) {
|
||||
handlePlayback(trackIndex, track, musicTracks.Items);
|
||||
}
|
||||
}}
|
||||
onKeyDown={(event) => {
|
||||
if (event.key === "Enter" || event.key === " ") {
|
||||
event.preventDefault();
|
||||
if (musicTracks?.Items) {
|
||||
handlePlayback(trackIndex, track, musicTracks.Items);
|
||||
}
|
||||
}
|
||||
}}
|
||||
role="button"
|
||||
tabIndex={0}
|
||||
aria-label={track.Name ?? "Трек"}
|
||||
>
|
||||
<div className="album-track-index">
|
||||
<span className="material-symbols-rounded album-track-play">
|
||||
|
||||
Reference in new issue
Block a user