Files
you-music/backend
junv 06ade07c72 feat: Add manual artist photo refresh button
Backend changes:
- Add POST /artists/refresh endpoint to force fetch from remote APIs
- Bypasses cache and fetches fresh artist photo from Deezer/MusicBrainz
- Automatically downloads and caches the image locally
- Returns updated artist info immediately

Frontend changes:
- Add refresh button (RefreshCw icon) next to Back button
- Shows spinning animation while refreshing
- Uses mutation with optimistic update to query cache
- Toast notification on success/failure
- Button disabled during refresh

User flow:
1. Click refresh button on artist detail page
2. Backend fetches fresh data from remote APIs
3. Image is downloaded and cached
4. Artist info updates automatically on page
5. Success toast shown
2025-10-31 12:03:45 +11:00
..
2025-10-30 14:45:41 +11:00
2025-10-30 22:35:02 +11:00
2025-10-30 22:35:02 +11:00
2025-10-30 22:35:02 +11:00
2025-10-31 00:04:32 +11:00
2025-10-31 00:03:11 +11:00
2025-10-30 22:35:02 +11:00
2025-10-30 22:35:02 +11:00
2025-10-31 00:04:32 +11:00