Feat/discord hide when paused - #119
Open
SyahrulBhudiF wants to merge 2 commits into
Open
Conversation
|
@SyahrulBhudiF is attempting to deploy a commit to the Faizan Asad's projects Team on Vercel. A member of the Team first needs to authorize it. |
SyahrulBhudiF
force-pushed
the
feat/discord-hide-when-paused
branch
from
August 26, 2026 21:38
f89e263 to
e7fa83e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Closes #63.
Adds Hide status when paused under Settings → Account → Discord. It is disabled by default, preserving existing paused presence behavior. When enabled, pausing clears Discord Rich Presence and resuming republishes the current track. Presence synchronization is serialized so a delayed clear cannot overwrite a later resume update. This PR also fixes the shared segmented-tab label treatment:
mix-blend-exclusionmade selected labels turn cyan/green on Zuno's red accent and the hover opacity transition flickered.How it was checked
npm run verifypasses — 31 checks passedcargo testnot required — nosrc-tauri/files changednpm run buildpassesScreenshots
Discord settings
The setting is in Settings → Account → Discord and is explicitly separate from the master presence switch.
Notes for the reviewer
DiscordRpcServiceowns the playback-to-presence policy;PlayerControllersupplies only the current playback snapshot.src/player/DiscordRPC.check.tscovers pause clearing, resume republishing, immediate toggle changes while paused, in-flight clear/resume ordering, and retry after a failed clear.e7fa83e.