Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Feat : Added The Bookmark Page And Its Functionality In The Tutorials ] #1168

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rohitPandey469
Copy link

Description

The Bookmark Page is unavailable, so added a new field in tutorial called bookmarked whose value will be set to false at the time of document creation in firebase. Now when clicked on the "bookmark like Icon" it's value will toggle, with the help of toggleTutorialBookmark action. And then filtered out the tutorials with bookmarked==true and showed it at "/bookmarks" page.

Related Issue

Fixes #1135

Motivation and Context

Wanted to make a little contribution.

How Has This Been Tested?

Tested Locally on my machine.

Video demonstrating the workings:

codelabz-google-chrome-2024-02-06-15-51-22_3iD9PerC.mp4

Currently, I am dispatching the action toggleTutorialBookmark directly from within the Cards - do tell me if it needs to be dispatched from the Home page.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.

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.

[ Fix : Missing 'Bookmarks' Functionality - Unavailable Page at '/bookmarks' ]
1 participant