Skip to content

Conversation

@abhi9ab
Copy link

@abhi9ab abhi9ab commented Oct 30, 2024

Issue Addressed
Fixes #155: The bookmark icon on the profile page was not functioning as a toggle button.

Summary
This PR updates the bookmark icon functionality on the profile page. The icon now correctly acts as a toggle button, allowing users to add and remove their bookmarked snippets.

Changes Made

  • Implemented toggle functionality for the bookmark icon on the profile page.
  • Users can now remove bookmarked snippets by clicking the bookmark icon again.

Screenshots
codecache profile bookmark 1

@vercel
Copy link

vercel bot commented Oct 30, 2024

@abhi9ab is attempting to deploy a commit to the notsoocool's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Thank you for your first pull request! 🎉

We're thrilled to see your contribution to CodeCache. Make sure your code follows the project guidelines and has passed all the tests.

If you need any assistance or clarification, feel free to ask. We’ll review your PR shortly and provide feedback if needed. Thanks again for helping improve the project!

Keep up the awesome work! 🚀

@notsoocool
Copy link
Owner

@abhi9ab sorry for reviewing it so late, can you only do one things, can you update the bookmarks state dynamically so that as soon as it is removed from bookmarked it gets removed dynamically.

@abhi9ab
Copy link
Author

abhi9ab commented Nov 12, 2024

@notsoocool Could you review the changes i have made

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove from bookmark option in user profile

2 participants