Commit Graph
244 Commits
Author SHA1 Message Date
vicrodh b7e328d8dc feat(local-library): add grouping toggle for albums and tracks
- Add albumGroupingEnabled and trackGroupingEnabled states
- Add Off option to grouping dropdown menus
- Conditionally render group headers and alpha index based on grouping state
- Match UX behavior from Favorites view

cp
2026-01-15 08:02:29 -06:00
vicrodh bf4050a592 feat(ux): increase artist album limits and add Others section
- Increase artist detail album fetch from 100 to 500
- Increase bio truncation from 300 to 500 chars
- Add Others category for greatest hits/anthologies
- Add configurable limits for Home sections
- Update HomeSettingsModal with limits grid UI

cp
2026-01-15 08:00:16 -06:00
vicrodh 9443708aad fix(ui): ensure album download state updates reactively in Home and Search views
Added downloadStatusTick counter to force Svelte 5 reactivity when albumDownloadStatuses Map changes.

cp
2026-01-15 07:28:20 -06:00
vicrodh a1df7095fb fix(downloads): ensure album download status is reactive in grid overlays
Add downloadStateVersion prop to AlbumCard component to make download
status reactive in all grid views. This fixes the issue where the
download menu submenu would not appear in Home, Search, and Artist
Detail views even when albums were fully downloaded.

cp
2026-01-15 01:00:55 -06:00
vicrodh f15316533f fix: album download menu not updating in grid views
- Force Map reactivity by re-assigning after .set()
- Add missing downloadStateVersion effect in SearchView
- Ensures download menu updates across all grid views

cp
2026-01-15 00:51:43 -06:00
vicrodh 6cc625c0f1 fix: reload download states in HomeView and ArtistDetailView when download state changes
cp
2026-01-15 00:45:25 -06:00
vicrodh 87f8980323 fix(ui): load album download status on grid view load
Load download status for all albums when they are first loaded
in grid views (Home, Search, Artist Detail, Favorites) so the
'Download Album' menu shows correct state immediately.

cp
2026-01-15 00:39:10 -06:00
vicrodh a1e9ced027 feat(downloads): complete album download status in grid overlays
- Update SearchView, ArtistDetailView, and FavoritesView
- Add download status tracking to all views with AlbumCards
- Display Open Folder and Re-download options when album is fully downloaded
- All grid overlays now show download status consistently

cp
2026-01-15 00:28:14 -06:00
vicrodh 7952bbb7d6 feat(downloads): add album download status to grid overlays (partial)
- Add backend command to check if album is fully downloaded
- Add frontend functions to check album download status
- Pass download handlers to HomeView
- Update HomeView AlbumCards with download status props

cp
2026-01-15 00:23:58 -06:00
vicrodh c30c16145e feat(downloads): add smart download menu for fully downloaded albums
- Add submenu to album download option when album is fully downloaded
- New options: Open containing folder and Re-download album
- Backend command to open album folder in file manager
- Helper function to check if album is fully downloaded
- Works in both AlbumCard overlay and AlbumDetailView menus

cp
2026-01-15 00:07:54 -06:00
vicrodh 11d263a2bf feat: add automatic migration dialog for legacy downloads
Implement user-consent migration system for legacy numeric-named FLAC files:
- Create MigrationModal component with progress tracking
- Auto-detect legacy downloads on settings mount
- Show modal with migration details and consent dialog
- Real-time progress updates via Tauri events
- Display success/failure stats after migration
- Refresh library and stats after completion

cc
2026-01-14 23:57:20 -06:00
vicrodh 8c458c6b03 refactor(ui): unify duplicate Downloads sections in Settings
Merge two separate Downloads sections into one unified section:
- Combine configuration (folder picker, library toggle)
- Combine statistics (track count, storage size)
- Combine actions (clear, open folder)
- Remove duplicate Downloads Section (Offline Storage)
- Use consistent labels without translations for new items
- Single cohesive Downloads section with all functionality

Now Downloads section contains:
- Download Folder configuration with Change button
- Downloaded Tracks statistics
- Show in Local Library toggle
- Clear Downloads button
- Open Folder button

cp
2026-01-14 22:20:11 -06:00
vicrodh 24ea59ed28 feat(downloads): add download folder configuration UI
Add UI for configuring download folder location in Settings:
- Add downloadRoot state variable
- Add Downloads section in Settings with folder picker
- Move show_in_library toggle to Downloads section
- Add handleChangeDownloadFolder() function with dialog picker
- Validate path before applying
- Prompt to move existing downloads on path change
- Display current download folder path
- Use @tauri-apps/plugin-dialog for folder selection
- Fix property name (readyTracks vs ready_tracks)

Users can now configure where downloads are stored and
optionally move existing downloads to new location.

cp
2026-01-14 22:17:28 -06:00
vicrodh 5952da661b fix(ui): move Qobuz downloads toggle to general Settings
Move download visibility toggle from LocalLibrary settings to general Settings view:
- Add showQobuzDownloadsInLibrary state in SettingsView
- Add loadDownloadSettings() function
- Add handleShowDownloadsChange() function
- Add toggle in Library section of Settings
- Remove toggle from LocalLibrary settings panel
- Remove toggleShowQobuzDownloads function from LocalLibrary
- Remove showQobuzDownloads state from LocalLibrary
- Restore settings-actions original flex layout

Qobuz downloads are now controlled from Settings > Library section,
not from LocalLibrary settings. LocalLibrary only handles hide/show
of individual albums.

cp
2026-01-14 20:59:00 -06:00
vicrodh 96a3c56388 feat(downloads): phase 4 complete - UI integration for library settings
Add UI integration for Qobuz downloads in Local Library:
- Add showQobuzDownloads state variable
- Load download settings on library data load
- Add toggleShowQobuzDownloads function
- Add toggle setting in Library Settings panel
- Add .toggle-setting styles for checkbox
- Reload library after toggling setting
- Update settings-actions layout to column flex

Phase 4 complete with backend + UI integration.
Users can now toggle Qobuz downloads visibility in library.

cp
2026-01-14 20:52:42 -06:00
vicrodh b9c8ecb274 fix(library): improve clear library safety with double confirmation
- Add double confirmation dialog for clear library action
- Improve confirmation messages with clear warnings
- Move clear library button to separate danger zone section
- Use smaller danger button style (12px font, 6px padding)
- Add danger zone header with red warning label
- Separate dangerous action from regular settings visually
- Add error alert if clear operation fails

This prevents accidental library clearing which requires full rescan.

cp
2026-01-14 19:29:26 -06:00
vicrodh 9bee038cf2 feat(library): improve folder list with table view and multi-select
- Replace folder list with compact table view (max 150px height)
- Add checkbox selection for multiple folders
- Replace per-row delete buttons with single remove action
- Add folder actions toolbar with + and - buttons
- Implement multi-folder removal with confirmation
- Reduce row height to 36px for more compact display
- Add scroll with custom styling for overflow
- Selected rows highlight with blue background

cp
2026-01-14 19:24:54 -06:00
vicrodh 08e2c98a5b feat(library): add album edit modal with hide toggle
- Remove hide button from album row list view
- Add edit button (pencil icon) in album detail header
- Create album edit modal with hide toggle
- Add nav-row layout matching PlaylistDetailView style
- Modal styling consistent with existing PlaylistModal
- Album title editing placeholder (coming soon)

cp
2026-01-14 19:15:09 -06:00
vicrodh 3eb80c7840 feat(library): remove album limit and add album hide feature
- Remove 100 album cap from library_get_albums query
- Add album_settings table with hidden flag per album
- Add commands to hide/show albums
- Add UI toggle in settings to view hidden albums
- Add hide button to album list view
- Update LocalLibraryView to support hidden albums view

cp
2026-01-14 14:57:58 -06:00
vicrodh 3cfe3c1333 feat(i18n): add translations to main UI components
- Sidebar: navigation labels, playlist section, sort options
- SearchView: search placeholder, tabs, results messages
- HomeView: section titles, loading states, empty states
- QueuePanel: headers, search, empty state, actions
- NowPlayingBar: player controls, tooltips, cast buttons
- FocusMode: close button, lyrics loading
- HomeSettingsModal: all settings labels and descriptions

Added new translation keys to en.json and es.json locales.
2026-01-14 10:12:38 -06:00
vicrodh 5c869eeae9 refactor(settings): remove unused features, implement working i18n
- Remove Compact Mode toggle (feature was not implemented)
- Remove Storage Limit dropdown from Downloads (always 2GB, not functional)
- Connect language dropdown to svelte-i18n system
- Language setting now properly persists and changes app locale
- Add comprehensive translations for en and es locales
- Settings view now uses $t() for all translatable strings
- Support for Auto language detection based on browser locale
2026-01-14 09:51:12 -06:00
vicrodh 3100f1f6fb feat(settings): add toggle for Qobuz artist images fetching
- Add Library section in Settings with toggle for artist images
- Check localStorage setting before fetching images
- Enabled by default, persists user preference
2026-01-14 08:29:38 -06:00
vicrodh 9371a38e17 feat(library): add Qobuz artist images and homologate back button
- Replace X icon with ArrowLeft for back button consistency
- Fetch Qobuz artist images for local artists (best-effort matching)
- Add circular artist image thumbnails in artist grid
- Fall back to microphone icon when no match found
2026-01-14 08:24:29 -06:00
vicrodh 25d0a13d6b fix(library): integrate navigation history for back/forward support
Mouse back/forward buttons now work in local library view.

Changes:
- Add 'library-album' ViewType to navigation store
- Add selectLocalAlbum(), clearLocalAlbum(), getSelectedLocalAlbumId()
- LocalLibraryView subscribes to navigation state changes
- Album clicks use selectLocalAlbum() for proper history tracking
- Back button uses navGoBack() to navigate properly
- Tab changes navigate back to 'library' when viewing album
- +page.svelte shows LocalLibraryView for both 'library' and 'library-album'

cc
2026-01-14 08:14:13 -06:00
vicrodh b8e3bca6f8 feat(settings): separate toasts and system notifications toggles
- Split "Notifications" setting into "In-app Toasts" and "System Notifications"
- In-app toasts control the toast messages within the app
- System notifications control desktop notifications on track change
- Both settings persist to localStorage and load on app startup
- Migrates old 'qbz-notifications-enabled' key to new 'qbz-toasts-enabled'

feat(library): add stop scanning button

- Add library_stop_scan command in Rust backend
- Add cancel flag (AtomicBool) to LibraryState
- Check cancel flag during scan loop for both CUE and audio files
- Add "Cancelled" status to ScanStatus enum
- Add stop button in LocalLibraryView scan progress UI
- Button appears red on hover for clear visibility

cc
2026-01-14 08:05:13 -06:00
vicrodh 3a7b05b859 feat(settings): add notifications toggle
Users can now disable toast notifications (buffering, track changes, etc.)
from Settings > Appearance. Error notifications are always shown.

cc
2026-01-14 04:41:13 -06:00
vicrodh 1694626eb2 fix: use getCurrentWebview instead of getCurrent for Tauri webview API 2026-01-14 02:50:53 -06:00
vicrodh 05ef074e4f feat(ui): add HiDPI zoom controls and hotkeys 2026-01-14 02:44:27 -06:00
vicrodh 48c7649609 fix(queue): enforce play-next insertion at queue head 2026-01-14 01:44:01 -06:00
vicrodh 4a3adbe202 style(ui): align favorite album list styling with local library 2026-01-14 01:33:02 -06:00
vicrodh d9698d2a77 fix(ui): remove hover lift on top artists 2026-01-14 01:17:57 -06:00
vicrodh fc6a6cefe3 fix(ui): adjust album overlay layout and home limits 2026-01-14 01:15:29 -06:00
vicrodh 329656f724 feat(ui): unify ticker speed and local album actions 2026-01-14 01:10:07 -06:00
vicrodh 2d5ababba4 feat(ui): add album card actions and fixed-speed tickers 2026-01-14 01:03:14 -06:00
vicrodh 4735e75ed4 feat(ui): add album title ticker and artist link guards 2026-01-14 00:27:40 -06:00
vicrodh 60e9a716f7 fix(ui): sharpen fullmode artwork and link local artists 2026-01-14 00:19:23 -06:00
vicrodh b57889a910 feat(library): link local artists to Qobuz 2026-01-14 00:11:42 -06:00
vicrodh 86c237ab02 feat(ui): make track artist and album clickable 2026-01-14 00:04:25 -06:00
vicrodh e0b95b7264 feat(favorites): persist grouping and add list view 2026-01-13 23:48:40 -06:00
vicrodh 22d816fd64 feat(favorites): load all items and add grouping views 2026-01-13 23:42:06 -06:00
vicrodh 2c13986244 feat(local-library): add cover upload and artist search 2026-01-13 23:23:06 -06:00
vicrodh 66110857a9 feat(search): autofocus input on view load 2026-01-13 11:38:24 -06:00
vicrodh 1b9a8bd0af fix(ui): group local tracks by album and pin library section 2026-01-13 11:35:00 -06:00
vicrodh 3b0b234523 feat(library): add disc sections to track grouping 2026-01-13 11:18:49 -06:00
vicrodh ed349b2304 fix(library): move album consts to block root 2026-01-13 11:16:03 -06:00
vicrodh 0a5e5e47eb fix(library): move album section consts 2026-01-13 11:13:18 -06:00
vicrodh c2c9e8f867 style(ui): cap headings to playlist title size 2026-01-13 11:00:58 -06:00
vicrodh 0eec21f5ee style(library): align album list title sizing 2026-01-13 10:53:42 -06:00
vicrodh 0ae8289074 feat(library): add disc headers and sort album tracks 2026-01-13 10:50:30 -06:00
vicrodh 8c9779ede1 feat(library): add track search, grouping, and index 2026-01-13 10:24:44 -06:00