scorelab / Codelabz

Codelabz
Apache License 2.0
144 stars 409 forks source link

[ Fix : Missing 'Bookmarks' Functionality - Unavailable Page at '/bookmarks' ] #1135

Closed rohitPandey469 closed 5 months ago

rohitPandey469 commented 8 months ago

Describe the bug There is "No" Bookmarks function or "No" Bookmarks page, I would like to think currently it's not implemented...then it would have been a feature request however I am stating it here as a bug.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'http://localhost:5173'
  2. Click on 'Bookmarks' in the Sidebar.
  3. Navigate to '/bookmarks'
  4. No page is found.

Expected behavior A page showing all the bookmarked tutorial should have displayed here at '/bookmarks'

Screenshots It's broken image

Desktop (please complete the following information):

Additional context We can do it by storing a field called bookmark on 'users profiles' and have the ids of all the bookmarked tutorials and if we want to make it both ways or bidirectional then can have a field in tutorials for all the users who have bookmarked it, however it won't be a really scalable approach. I am open to ideas do suggest me

Shashank-9680 commented 7 months ago

@rohitPandey469 Is this issue still open

rohitPandey469 commented 7 months ago

I was going through previous issues when I found that the bookmark toggle functionality had already mentioned in issue #1043 and it's corresponding PR, however the guy had made only the toggle thing work in that PR and in this PR I have did, adding a new field bookmark and then changing its value on each click and and then rendering the bookmarked tutorials in /bookmarks page... so my point is they are not the same or a copy of the previous PR :)

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 5 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.