Skip to content

Remove from bookmark option in user profile #155

Open

Description

@abhi9ab

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.

Activity

  1. github-actions commented on Oct 23, 2024

    @github-actions
    Contributor

    🎉 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!

  2. notsoocool commented on Oct 24, 2024

    @notsoocool
    Owner

    @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.

  3. abhi9ab commented on Oct 26, 2024

    @abhi9ab
    Author
    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 ran bun install to install the dependencies.

  4. notsoocool commented on Oct 26, 2024

    @notsoocool
    Owner

    @abhi9ab i will have a look once, don't worry

  5. abhi9ab commented on Oct 29, 2024

    @abhi9ab
    Author

    Any updates on this ?

  6. abhi9ab commented on Oct 29, 2024

    @abhi9ab
    Author

    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
    codecache without bookmark

    After
    codecache bookmark

  7. notsoocool commented on Oct 30, 2024

    @notsoocool
    Owner

    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 ran bun 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

  8. notsoocool commented on Oct 30, 2024

    @notsoocool
    Owner

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions