Add a YouTube-style like button to Now Playing #3

Closed
sayori wants to merge 1 commit from sayori/playback-like-button into main AGit
First-time contributor

Adds a YouTube-style thumbs-up button to the Now Playing screen's top action row, available on desktop, mobile, and in lyrics mode. The button reads the current song's account rating and toggles Like/Liked through YouTube Music.

Prevents duplicate requests, restores the previous state when saving fails, prompts signed-out users to sign in, and invalidates the cached Liked Music playlist after a successful change. Includes tests for rating parsing and selecting the current track rather than an up-next track.

Validation:

  • Production build passes (bun run build).
  • All 192 tests pass (bun test).
  • Biome checks pass for the changed files.
  • Browser checks with a mocked YouTube connection cover like/unlike, failure rollback, rapid clicks, track changes, signed-out behavior, and mobile layout.

Live account synchronization still needs verification in the desktop app.

@Yumeo, ready for your review.

Adds a YouTube-style thumbs-up button to the Now Playing screen's top action row, available on desktop, mobile, and in lyrics mode. The button reads the current song's account rating and toggles Like/Liked through YouTube Music. Prevents duplicate requests, restores the previous state when saving fails, prompts signed-out users to sign in, and invalidates the cached Liked Music playlist after a successful change. Includes tests for rating parsing and selecting the current track rather than an up-next track. Validation: - Production build passes (`bun run build`). - All 192 tests pass (`bun test`). - Biome checks pass for the changed files. - Browser checks with a mocked YouTube connection cover like/unlike, failure rollback, rapid clicks, track changes, signed-out behavior, and mobile layout. Live account synchronization still needs verification in the desktop app. @Yumeo, ready for your review.
Author
First-time contributor

FAAAHH not needed no more, yumeo came to fast to action

FAAAHH not needed no more, yumeo came to fast to action
sayori closed this pull request 2026-10-17 22:42:57 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Yumeo/YuMusic!3
No description provided.