+13
−7
+71
−47
+17
−5
Loading
This commit refactors the frontend to:
- Fetch song data from the '/api/songs' backend endpoint instead of using mock data.
- Implement client-side search functionality:
- AppLayout now manages 'searchTerm' state.
- SearchBar is a controlled component, passing search terms to AppLayout.
- SongList receives 'searchTerm' and filters songs by title and artist in addition to the active tab filter.
- Update SongList to handle loading states and display messages accordingly.