-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/bookmarks #3
base: main
Are you sure you want to change the base?
Conversation
to add all the bookmarks in one place, created link and route /bookmarks in Header
Created a Bookmark Context: To manage shared bookmark state across components. Wrapped Application: Made the context available throughout the application. Updated Components: Modified BookmarksPage, HomePage, and ResourceList to utilise the context for managing bookmarks. Made a Commit: Saved and documented your changes.
Added authorisation error handling to display an appropriate message on the screen if the user is not logged in.
Could you update the base of this PR to target the upstream branch, |
Thank you @OlhaDanylevska for your great design for the bookmark. However, I faced an issue on the page, and the bookmark feature is not functioning properly.
|
This is a:
Description
Merging this pull request will implement a new bookmark feature for resources. Authorised users will see bookmark icons on resource cards in the resource list. They can bookmark resources to highlight them for quick access. Bookmarked resources will also appear on a dedicated bookmarks page, accessible via a "Bookmarks" button in the navigation menu. Users can toggle bookmarks directly from the home page or the bookmarks page, with changes immediately updating in the database. This feature enhances user experience by enabling personalised resource management.
-The purpose of this pull request is to enhance the user experience by implementing a bookmark feature. It allows authorised users to easily manage and access their preferred resources. This includes highlighting resources for quick reference and consolidating them on a dedicated bookmarks page.
Bookmark Icon Functionality:
Navigate to the resource list page as an authorised user.
-Verify that bookmark icons are displayed on resource cards if user logged in
-Test toggling the bookmark state (adding and removing bookmarks).
-Confirm that the changes persist by refreshing the page.
Bookmarks Page:
-Navigate to the "Bookmarks" page via the button in the navigation menu.
-Verify that all bookmarked resources appear on the page.
-Test toggling bookmarks directly from this page.
Database Updates:
-Confirm that the bookmark toggles immediately update the database by checking the database entries for the user.
How to check -
Links
Author checklist
main
from a branch named<category>/<name>
, e.g.feature/edit-spaceships
orbugfix/restore-oxygen