This PR works towards closing (https://github.com/SE310-1/W.A.K/issues/53 ) by implementing a very basic yet fully functional delete button, which allows users to delete movie from their favorites list, if they wish to.
This PR adds :
DeleteButton component for the above described functionanlity.
Adding the relevant functions in the DeleteButton component which removes a movie from the user's favorite list as well as reflects the change in the UI for feedback.
This PR works towards closing (https://github.com/SE310-1/W.A.K/issues/53 ) by implementing a very basic yet fully functional delete button, which allows users to delete movie from their favorites list, if they wish to.
This PR adds : DeleteButton component for the above described functionanlity. Adding the relevant functions in the DeleteButton component which removes a movie from the user's favorite list as well as reflects the change in the UI for feedback.
Next steps will be the styling of this button and this will work to primarily close (https://github.com/SE310-1/W.A.K/issues/53 ).
Screenshots are as follows:
Tested by creating a new account with no favorites yet:
Adding a movie to favorites:
Favorites list page after the addition :
Adding another movie to favorites:
Added another:
Favorites list after 3 movies have been added:
Favorites list after deleting 'Spider-Man: Across the Spider-Verse':