Commit Graph
15 Commits
Author SHA1 Message Date
vicrodh 9099f94904 feat(immersive): add real coverflow with queue navigation
- Rename old CoverflowPanel to StaticPanel (single artwork view)
- Create new CoverflowPanel with actual coverflow effect:
  - Shows 5 album covers (2 prev, current, 2 next)
  - 3D perspective rotation on side covers
  - Click on side covers to navigate queue
  - Smooth animation on track change
- Add 'static' tab to focus mode (4 tabs total)
- Update keyboard shortcuts: 1-4 for focus tabs
2026-02-01 08:18:17 -06:00
vicrodh 1aa7e9eb3a fix(immersive): center mode toggle and fix icon direction
- Move mode toggle inside tabs nav (centered)
- Icon now shows target mode, not current mode
- Add divider between toggle and tabs
2026-02-01 08:10:42 -06:00
vicrodh 2004a59660 feat(immersive): unify tab navigation with view mode toggle
Consolidates navigation into single bar with mode toggle:
- Split mode tabs: Lyrics, Track Info, Suggestions, Queue
- Focus mode tabs: Coverflow, Lyrics, Queue
- Mode toggle button (lotus/split-view icons)
- V key toggles view mode, 1-3 for focus tabs
2026-02-01 08:08:51 -06:00
vicrodh 2c389408d0 Add maximize/restore/minimize buttons and QualityBadge placement
Window controls:
- Maximize button shows restore icon when maximized
- Add minimize button
- Button order: Fullscreen | Maximize/Restore | Minimize | Exit | Close

QualityBadge placement:
- Coverflow: below album name
- Split views (Lyrics/TrackInfo/Suggestions/Queue): below album name
- Added album name display in split view

Layout improvements:
- Panel section max-height 80vh
- Lyrics scrollbar only visible on hover
- Content vertically centered with artwork
2026-02-01 07:44:18 -06:00
vicrodh 730ce323c4 Exit fullscreen when leaving immersive mode, add maximize button
- Exit fullscreen automatically when closing immersive view
- Add maximize (window) button separate from fullscreen
- Button order: Fullscreen | Maximize | Exit Immersive | Close App
2026-02-01 07:30:03 -06:00
vicrodh 9502ca9013 Add fullscreen permissions and lighten immersive UI
- Add core:window:allow-set-fullscreen permission
- Add core:window:allow-is-fullscreen permission
- Lighten all buttons and tabs by ~20%
- Reduce background darkness from 0.6 to 0.5
- Increase border visibility
2026-02-01 07:28:03 -06:00
vicrodh e1cd13bd19 Add expandable window controls and fullscreen support
- Add expandable window controls in header (hover to expand)
  - Fullscreen toggle (F11)
  - Exit immersive (Esc)
  - Close app
- Move Repeat button to left group: Fav | Shuffle | Repeat
- Remove QualityBadge from player controls
- Add F11 keyboard shortcut for fullscreen toggle
- Use Tauri window API for fullscreen functionality
2026-02-01 07:22:03 -06:00
vicrodh fe274c466d feat(immersive): replace Credits panel with Track Info panel
- Create TrackInfoPanel with full track metadata and credits
- Display: duration, quality, ISRC, label, and all performer credits
- Uses same backend as TrackInfoModal (get_track_info command)
- Rename tab from 'Credits' to 'Track Info' (player.trackInfo)
- Update keyboard shortcut from 'C' to 'T' for Track Info tab
- Fix actions.clearQueue -> player.clearQueue translation key
- Add i18n translations for trackInfo in EN/ES
- Delete old placeholder CreditsPanel
2026-01-31 11:12:25 -06:00
vicrodh f012ba33f4 perf(immersive): fix critical CPU usage issue in background blur
Performance problem:
- WebKitWebProcess consuming 97% CPU on one core
- Cause: CSS filter: blur(120px) on large image is extremely expensive
  in WebKit/GTK which cannot GPU-accelerate this operation

Solution:
- Replace CSS blur with Canvas-based tiny thumbnail approach
- Draw image to 8x8 canvas, apply color adjustments, scale up via CSS
- Natural pixelation creates blur-like effect with ZERO CPU cost
- Remove backdrop-filter: blur() from header elements (use solid bg)

Also fixed:
- Change Mic icon to Mic2 to match rest of app
- Add missing i18n translations for player.credits and player.suggestions
2026-01-31 11:01:34 -06:00
vicrodh 4d5a78ff24 refactor(immersive): clean up controls and improve split view layout
- Remove track info (artwork, title, artist) from ImmersiveControls bottom bar
- Add track title and artist below album artwork in split view mode
- Change Lyrics Focus icon from MessageSquareText to Mic (microphone)
- Remove unused compact mode from ImmersiveControls
- Simplify props and cleanup CSS
2026-01-30 23:11:06 -06:00
vicrodh 0fc0723804 refactor(immersive): remove visualizer feature entirely
- Remove VisualizerPanel component
- Remove visualizer-focus display mode
- Remove visualizer tab from split view
- Remove enableVisualizer prop
- Remove keyboard shortcut 5 and v for visualizer
- Clean up unused imports and CSS
2026-01-30 22:32:33 -06:00
vicrodh 8537b67d4d polish(immersive): add glass effect to header controls and keyboard shortcuts 2026-01-30 17:10:19 -06:00
vicrodh b7e08cc4cb feat(immersive): add multiple display modes like Cider
Display modes:
- Coverflow: centered album art with track info
- Split: artwork + panel side by side (current default)
- Lyrics Focus: single line at a time, large centered text
- Queue Focus: full screen queue view
- Visualizer Focus: full screen visualizer

Background:
- Heavy CSS blur (120px) for abstract color blobs
- No recognizable image, just colors

Keyboard shortcuts: 1-5 to switch modes

Inspired by Cider 3's immersive player design.
2026-01-30 17:02:17 -06:00
vicrodh 07b7228538 feat(immersive): add Queue tab to stay in immersive mode
- Create QueuePanel component for immersive mode
- Add queue tab to ImmersiveHeader with ListMusic icon
- Update ImmersivePlayer to render QueuePanel and pass queue data
- Add Q keyboard shortcut to switch to queue tab
- Pass queue tracks from +page.svelte to ImmersivePlayer

Users can now manage their queue without leaving immersive mode.
2026-01-30 16:26:10 -06:00
vicrodh 7c9f1820f8 feat(immersive): create unified ImmersivePlayer component
New component architecture:
- ImmersivePlayer.svelte: Main container with tab system
- ImmersiveHeader.svelte: Tabs (lyrics/credits/suggestions/visualizer)
- ImmersiveControls.svelte: Bottom bar with all playback controls
- ImmersiveArtwork.svelte: Album art with floating/vinyl variants
- ImmersiveBackground.svelte: Optimized blur background (from Phase 1)

Panel components:
- LyricsPanel: Wrapper for existing LyricsLines
- CreditsPanel: Placeholder (Phase 3)
- SuggestionsPanel: Placeholder (Phase 4)
- VisualizerPanel: Placeholder (Phase 5)

Shared components:
- ProgressBar: Reusable seek bar with keyboard support
- VolumeSlider: Reusable volume control

Features:
- Tab-based navigation (L/C/S/V keyboard shortcuts)
- Auto-hide UI after 4 seconds of inactivity
- Full keyboard control (Space, Arrows, Escape)
- Responsive layout (desktop/tablet/mobile)
- Accessibility: ARIA roles, focus management
2026-01-30 16:11:03 -06:00