Open R0drig0-P opened 2 weeks ago
Hey, good observation here. The question in the pop-up is "Do you want to see your favorite restaurants on the main page", which only shows if the restaurant's card is not yet present in the main cards list. The goal of that pop-up is to add that card to the homepage, not favorite a restaurant. You can still mark a restaurant as a favorite and not want to add the restaurant's card to the homepage. If you add it manually through the homepage, all your favorite restaurants should appear.
If there isn’t a “Favourite Restaurants” card on the main page, clicking the favourite button on a restaurant opens a pop-up asking if the user wants to add their favourite restaurants to the main page. If the user presses "No", the favourite button keeps its selected state, which it shouldn’t.
https://github.com/user-attachments/assets/aee08891-1695-406c-bf32-2da847f7e5b1