Commit Graph

13 Commits

Author SHA1 Message Date
699a27b0b9 Use git commit SHA for versioning, fix audio playback resume, remove all streak localStorage code 2026-01-25 01:22:54 +00:00
6d1e4fb063 Simplify service worker: remove offline download functionality
- Removed all audio download and caching logic
- Removed offline-song URL mapping
- Removed metadata cache (META_CACHE)
- Removed audio cache (AUDIO_CACHE)
- Removed message handlers for DOWNLOAD_ALBUM, DOWNLOAD_SONG, DOWNLOAD_QUEUE
- Removed message handlers for offline status checks and deletion
- Updated VERSION to v3 to force cache cleanup on next load
- Kept only app shell and image caching for faster loading
- Simplified to 120 lines (from 681 lines - 82% reduction)
2026-01-25 00:37:42 +00:00
9427a2a237 feat: Add ListeningStreakCard component for tracking listening streaks
feat: Implement InfiniteScroll component for loading more items on scroll

feat: Create useListeningStreak hook to manage listening streak data and statistics

feat: Develop useProgressiveAlbumLoading hook for progressive loading of albums

feat: Implement background sync service worker for automatic data synchronization
2025-08-11 14:50:57 +00:00
3839a1be2d feat: Implement offline library synchronization with IndexedDB
- Added `useOfflineLibrarySync` hook for managing offline library sync operations.
- Created `OfflineLibrarySync` component for UI integration.
- Developed `offlineLibraryDB` for IndexedDB interactions, including storing and retrieving albums, artists, songs, and playlists.
- Implemented sync operations for starred items, playlists, and scrobbling.
- Added auto-sync functionality when coming back online.
- Included metadata management for sync settings and statistics.
- Enhanced error handling and user feedback through toasts.
2025-08-08 20:04:06 +00:00
0a0feb3748 feat: Implement offline library management with IndexedDB support
- Added `useOfflineLibrary` hook for managing offline library state and synchronization.
- Created `OfflineLibraryManager` class for handling IndexedDB operations and syncing with Navidrome API.
- Implemented methods for retrieving and storing albums, artists, songs, and playlists.
- Added support for offline favorites management (star/unstar).
- Implemented playlist creation, updating, and deletion functionalities.
- Added search functionality for offline data.
- Created a manifest file for PWA support with icons and shortcuts.
- Added service worker file for caching and offline capabilities.
2025-08-07 22:07:53 +00:00
0c32c056c6 Refactor FullScreenPlayer layout for improved readability; update button placement for favorites toggle; replace multiple divs with a single heading element; update album preview images 2025-07-28 23:28:46 +00:00
1dfb86fa15 Refactor code structure for improved readability and maintainability 2025-07-25 18:45:46 +00:00
a00bf3e365 Refactor code structure for improved readability and maintainability 2025-07-02 23:49:27 +00:00
b668c1b6fb Refactor code structure for improved readability and maintainability 2025-07-02 23:06:49 +00:00
a17a8bff4e feat: add commit SHA handling for development environment and update menu layout 2025-06-25 20:07:57 -05:00
c2c2e4bfb0 Refactor code structure for improved readability and maintainability 2025-06-19 17:58:56 +00:00
c954348ad1 Refactor code structure for improved readability and maintainability 2025-06-19 16:11:31 +00:00
717155ea22 s 2025-06-19 02:09:24 +00:00