Open abhi9ab opened 3 weeks ago
🎉 Welcome to CodeCache! 🎉
Thank you for opening your first issue! We're excited to have you contributing to the project.
Before you get started, please make sure to check out our contributing guidelines and coding standards to ensure that everything is aligned with the project's workflow. If you have any questions or need help along the way, don't hesitate to ask.
We appreciate your input and look forward to collaborating with you. 🚀
Happy coding!
@abhi9ab we already have a toggle bookmark functionality, i think the contributors have forgotten to update it for user profile page, as we used to have a separate page bookmarks there it used to work. I will assign you this issue if you want any help or basic idea you can check out the bookmark page from dashboard, or you can direct link the bookmark page there instead of the current one.
https://github.com/user-attachments/assets/cc26d774-dd56-4ee6-b02c-a3620b6d54d1
The above error occurs when I try to toggle from submitted to bookmark/Rated section.
I have forked from the develop
branch and ran bun install
to install the dependencies.
@abhi9ab i will have a look once, don't worry
Any updates on this ?
I have implemented remove from bookmark
in /snippets/[id]/page.tsx
. Please look at the pictures and inform me whether I should raise a pr or not.
Before
After
codecache.react.render.few.hook.error.mp4 The above error occurs when I try to toggle from submitted to bookmark/Rated section. I have forked from the
develop
branch and ranbun install
to install the dependencies.
Buddy there is no error in code, i tested it locally every thing is intact and working, kindly clone the repo again by fetching the latest changes and then try to do bun install and bun dev
also about the add and remove bookmark from snippet page, sure you can do that as well, but your main issue was to remove bookmarks from the user profle page, so mainly focus on that
Is your feature request related to a problem? Please describe. I'm frustrated when I accidentally bookmark a code snippet or no longer need it, but I cannot remove it from my bookmarks in my user profile. This clutters my bookmark list and makes finding the snippets I need harder.
Describe the solution you'd like Add a "remove from bookmark" feature in the user profile, allowing users to easily unbookmark code snippets they no longer need. This functionality should be easily accessible next to each bookmarked snippet.
Describe alternatives you've considered An alternative could be allowing users to manage their bookmarks in bulk, providing options to select and remove multiple bookmarks simultaneously. However, an individual "remove from bookmark" option seems more straightforward and user-friendly.
Additional context This feature will improve the user experience by enabling users to maintain an organized list of bookmarks, ensuring that only relevant and useful code snippets are saved.
If the issue seems legitimate, please assign it to me.