fix: docked queue scroll bugs + gradient background#67
Merged
Conversation
…ange Both auto-scroll effects checked `open` (the floating queue toggle) which is always false in docked mode. Changed guard to `isActive` so the docked queue correctly follows the current track when it changes and re-centres after a group switch. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces the flat --bg-1 fill with a subtle 175deg gradient (#2c2c32 → #232327 → #1e1e22) and a soft left-edge shadow so the docked panel has some depth against the main content area. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
Removes the custom gradient fill so the docked sidebar shows the shell's radial gradient through, making it feel like one continuous surface rather than a separate panel. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Increased opacity on all three radial stops (0.45→0.7, 0.35→0.55, 0.3→0.45) and shifted hues slightly warmer/deeper so the gradient reads clearly through the transparent docked queue panel. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces the full-height hover background with a ::after pseudo-element that tracks the cursor Y via a --mouse-y CSS custom property, so only a 200px pill centred on the mouse is lit up. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces the flat pill with a 28px-wide radial gradient ellipse that bulges out from the 6px handle, blurred + box-shadowed in purple to create a soft glow. Docked sidebar set to overflow: visible so the lens can spill into the main content area. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sets --docked-queue-w CSS variable on the shell when docked so the fixed player bar offsets its 50% anchor by the sidebar width. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds onResizeWidthLive prop to QueueSidebar — fires on every pointer move during resize. App.tsx handles it by mutating the shell's --docked-queue-w CSS variable directly via a ref, avoiding any React re-render on the hot drag path. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Removes the hardcoded MAX_DOCKED_WIDTH=700 / MIN_ROUTES_WIDTH=320. Max queue width is now window.innerWidth - (800 + 64), guaranteeing the main content area is always at least the player bar's inner width (800px) plus 32px breathing room on each side. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Prevents the window being resized narrow enough to crunch the docked queue: minWidth = 864px (player bar 800px + 32px each side) + 280px (MIN_DOCKED_WIDTH). Also bumps default size from 960x640 to 1280x720. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Anchors ::after to left:0 and extends 120px rightward. Radial gradient centred at the left edge fades into the queue — nothing bleeds left. Removed filter:blur which was the source of leftward spill. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Gradient in docked queue fades out as main content is scrolled down, using a capture-phase scroll listener on the routes container - Resets to full opacity on route navigation - Fix TS error: void the removeProperty cleanup return in useDominantColor - Row hover glow via ::before radial gradient tracking mouse position - Resize handle glow pulses into queue only (no leftward bleed) - winPill wrapper around window controls in docked mode - Header reordered as footer when docked - subAlbum hit-box fix: block + fit-content instead of inline-block - Scrollbar polish: bigger hit box, pill thumb, never touches top - body::after gradient opacity driven by --panel-gradient-opacity CSS var Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Use document-level capture scroll listener instead of a wrapper div around Routes. The wrapper div disrupted the flex layout that panels rely on for height. Queue scroll is excluded via data-queue-content attr. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
useDominantColor now only sets --panel-color globally when setGlobal:true. Page components (ArtistHero, ArtistPanel, AlbumPanel) opt in; useNowPlaying does not, so track changes no longer overwrite the gradient. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
open(the floating toggle, alwaysfalsein docked mode). Changed toisActivewhich istruewhenever the sidebar is visible.--bg-1fill on the docked sidebar with a subtle175deggradient (#2c2c32 → #232327 → #1e1e22) and a soft left-edge drop shadow for depth.Test plan
🤖 Generated with Claude Code