Resolve "add a view to list albums"
Fix #356 (closed)
This Merge Request includes:
- A changelog fragment (cf https://docs.funkwhale.audio/contributing.html#changelog-management)
I'm a Laravel/PHP dev, so feel free to poke at all my Pythoning. But I felt like funkwhale needed an album view (and so did someone else apparently!)
It seemed like an easy first project, however I encountered an error with the query filter along the way. Originally AlbumFilter had
q = fields.SearchFilter(search_fields=["title", "artist__name" "source"]), which would throw an error similar to "Unknown field album namesource". Source didn't exist as a field (afaik), so I removed it.
In order to make sure this behaviour would work, I added a test. Very simple, please poke at it to see if I'm missing anything.
The front end side of things is basically a copy of the artists view. I was going to use the AlbumWidget, but I didn't want to refactor that code in case you folks had a specific vision for how this page was going to look. So I just kept it simple. Feel free to throw UI/UX changes as well!