SoftwareEngineeringDaily/software-engineering-daily-api

Bookmarks Question

Closed this issue ยท 8 comments

Is bookmarking purely client side, or could we potentially build a way to bookmark on the web frontend and users are able to listen on to their bookmarked episodes on mobile?

For persistent bookmarking, it would not be purely client-side. We could definitely offer bookmarking on the web, as well as store a user's bookmarks and have them retrieved on mobile.

@MostafaGazar @thedc89 do you know if bookmarking is synced with the backend?

We have a ready structure (and records in the db as favorites) but we have nothing in the Frontend. We need to add.

In the Frontend sketch I did not find a reference for the bookmark. I think we're going to have to invent one.

I think the mechanism for bookmarking is already there. When you look at the API response (provided that user is authenticated), it sends both upvoted and bookmarked boolean values.

I use it in iOS version to display which episode has already been upvoted/bookmarked. I think we can do it pretty much the same way on the web without any backend modifications required.

Thanks @thedc89 !

Just concurring that bookmarks are tracked on the backend. This means you have to logged in to use this feature on Android.