FR-26: Mark Property as not Favourite
Description
As an authenticated user, I want to remove an advertisement from my favourites list so I can keep the list clean of advertisements I am no longer interested in.
Context
This is linked to #24 (closed). Should be done together.
Acceptance Criteria
-
AC1 - An authenticated user should be able to remove the favourite from an advertisement on the home listing page (
/
). -
AC2 - An authenticated user should be able to remove the favourite advertisement from the detailed advertisement page (
/properties/:reference
). - AC3 - The star icon should change to non-filled one after sucessfully removing it from favourites.
- AC4 - The page should not refresh after removing the favourite.
- AC5 - The user should see a flash notifying them of a successful unfavourite action.
Dependencies
Requires #18 (closed)
Requires #24 (closed)