Open xavierfav opened 6 years ago
Pagination has been added in #21.
It would be nice to have a bit of more options on the search.
Maybe the way to go is to create some profiles with predefined query parameters that make the result fit to a specific type of content selectable with buttons.
I added 3 buttons in my last commit :
I plan to add a "clear" button in order to reset the filter because in the current state if a button is clicked that make it disabled and we can't erase the filter.
I'm also planning to add a BPM filter for the loops in freesound.
For now, the Freesound search component retrieves only one page of 11 sounds. It would be nice to be able to go through the different pages of the retrieved results. Bootstrap offers pagination components.
Moreover, it would be nice to be able to set some parameters of the query. For instance the sorting option, the filter on duration, etc... Here you can find the documentation of the Freesound API. Here you can find the javascript wrapper that I used.