Open DrMaggie opened 2 years ago
Frontend: After the search,when will the modal pop up, when the user saves the favorite automatically or a popup to ask to save? Or when close or move to a new page? Backend: Save action, can save Frontend: will the user use the latest search, or favorite search button/link,a pop up modal? Or a list of favorite search, in their profiles as a button? Goes to a new route for the new saved favorite search lists?
Mock up database, savedSearch objects, ts är timestamp, states, route, recucer, actions, backup spaces, to do the buttons, a new view page, CRUD actions, Modal component - need it or not. need to add the SavedSearchs to RestHeart, save in Mongodb, CPauth
It would be very convenient for registered, logged-in portal users to be able to save their favourite searches (the URL, not the list of search results) in their profile. While the search URLs can of course be bookmarked in a user's own browser, they could be unavailable if the user accesses the CP via another browser or a different computer.