9c504d2c3d
Features: - Frontend Flutter avec thème néon cyberpunk - Backend FastAPI avec streaming YouTube - Base de données PostgreSQL + Redis - Authentification JWT complète - Recherche multi-source (DB + YouTube) - Playlists CRUD avec drag & drop - Queue management - Settings avec audio quality - Interface adaptative (Desktop + Mobile) Tech Stack: - Frontend: Flutter 3.2+, Riverpod - Backend: Python 3.11+, FastAPI - Database: PostgreSQL 15+ - Cache: Redis 7+ - Streaming: yt-dlp + FFmpeg 🚀 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
869 B
869 B
Search Feature
Overview
Real-time search with debouncing across tracks, artists, and albums.
Usage
- Access from sidebar (desktop) or bottom nav (mobile)
- Type to search with 500ms debounce
- Results grouped by type
- Tap track to play immediately
- Tap artist/album for details (TODO)
Components
SearchProvider- State management with debouncingSearchPage- Adaptive UI (desktop/mobile)SearchTrackCard,SearchArtistCard,SearchAlbumCard- Result cardsCachedNetworkImageWithFallback- Reusable image widget
Architecture
- Uses typed entities (Track, Artist, Album) from domain layer
- Integrates with MusicApiService for backend calls
- Connects to PlayerNotifier for playback
Testing
Test stubs created at:
test/presentation/providers/search_provider_test.darttest/presentation/pages/search/search_page_test.dart