Julien-Goletto / cinevoraces-front

Frontend React App that consummes cinevoraces-back REST API
4 stars 0 forks source link

filters-enhancement #3

Open BenoitSafari opened 2 years ago

BenoitSafari commented 2 years ago

Description

Movie filtering is currently exclusively handled in front, that feature must be partially handled in back. Design must also be reworked.

Checklist

Feature

Main changes

Behavior

Check api documentation for back filters parameters api-docs#/Movies

Design

Screenshots below shows the idea but are not definitive. Main filters (Seasons, all movies and user bookmarks) will now be accessible with a button in the search-bar that open a drop down menu.

Mobile

Every filtering categories are wrapped in a drop down menu, kind of the same behavior as MVP's filters. see screenshot

Desktop - Tablet

Each filter category is called with a button that open a drop down menu. see screenshot

BenoitSafari commented 2 years ago

Cannot currently filter isViewed/isNoted in front. To do so i'll need a route that give me a list of movies ID corresponding to a boolean value. Or maybe change the getAllMovies response since we ask for refreshToken, and give these informations whithin the movie object (asRated: true for instance).