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-wishlist-management #53

Merged
merged 1 commit into from
Jul 6, 2024
Merged

feat-wishlist-management #53

merged 1 commit into from
Jul 6, 2024

Conversation

Calebgisa72
Copy link
Contributor

@Calebgisa72 Calebgisa72 commented Jul 4, 2024

What does this PR do?

  • This PR enhances the buyer experience by implementing comprehensive management features for the wishlist functionality.

Description of Task Completed

Tasks completed in this PR:

  • Designed and integrated UI components for managing the Buyer wishlist.
  • Implemented state management using Redux to maintain wishlist state across sessions.
  • Added functionality to display wishlist icons on products when users are logged in, enhancing user interaction.
  • Ensured seamless integration with backend APIs for wishlist operations, including adding, removing, and updating wishlist items.
  • Conducted unit tests to verify functionality and maintain code quality, ensuring robust performance under various scenarios.

How should this be manually tested?

  • Ensure You have backend service running and set VITE_APP_API_URL in your .env file.
  • Clone this repository and navigate to the project director

git clone -b ft-register https://github.com/atlp-rwanda/knights-ecomm-fe.git cd knights-ecomm-fe git checkout ft-landing-page npm i npm run dev

Screenshots
Screenshot 2024-07-05 131129
Screenshot 2024-07-05 131226
Screenshot 2024-07-05 131258

@Calebgisa72 Calebgisa72 linked an issue Jul 4, 2024 that may be closed by this pull request
Copy link

netlify bot commented Jul 4, 2024

Deploy Preview for knights-fecommerce ready!

Name Link
🔨 Latest commit b8a24d5
🔍 Latest deploy log https://app.netlify.com/sites/knights-fecommerce/deploys/668910033ae2670008c04104
😎 Deploy Preview https://deploy-preview-53--knights-fecommerce.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jul 4, 2024

Deploy Preview for knight-fe ready!

Name Link
🔨 Latest commit b8a24d5
🔍 Latest deploy log https://app.netlify.com/sites/knight-fe/deploys/66891003c5b9b400085366ff
😎 Deploy Preview https://deploy-preview-53--knight-fe.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@coveralls
Copy link

Coverage Status

coverage: 87.127% (-0.6%) from 87.754%
when pulling a59f02e on ft-wishlist-management
into 86a5319 on develop.

@Calebgisa72 Calebgisa72 added frontend Related to frontend in progress task has already been started labels Jul 4, 2024
@faid-terence
Copy link
Collaborator

@Calebgisa72 Rebase with develop to resolve the conflicts and increase the coverage as well !

@coveralls
Copy link

Coverage Status

coverage: 87.539% (-0.4%) from 87.967%
when pulling 627a390 on ft-wishlist-management
into b6fa239 on develop.

@coveralls
Copy link

Coverage Status

coverage: 88.2% (+0.2%) from 87.967%
when pulling 7f7d8d1 on ft-wishlist-management
into b6fa239 on develop.

@coveralls
Copy link

Coverage Status

coverage: 88.337% (+0.4%) from 87.967%
when pulling 5b8f8cb on ft-wishlist-management
into b6fa239 on develop.

@coveralls
Copy link

Coverage Status

coverage: 88.337% (+0.4%) from 87.967%
when pulling 5b8f8cb on ft-wishlist-management
into b6fa239 on develop.

@Calebgisa72 Calebgisa72 added Ready for reviews and removed in progress task has already been started labels Jul 5, 2024
Copy link
Contributor

@aimedivin aimedivin left a comment

Choose a reason for hiding this comment

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

@Calebgisa72 Please remove console logs

@coveralls
Copy link

Coverage Status

coverage: 88.332% (+0.4%) from 87.967%
when pulling 38df394 on ft-wishlist-management
into b6fa239 on develop.

@coveralls
Copy link

Coverage Status

coverage: 88.332% (+0.4%) from 87.967%
when pulling 38df394 on ft-wishlist-management
into b6fa239 on develop.

@faid-terence
Copy link
Collaborator

Hey @Calebgisa72
Please rebase with develop and resolve the conflicts !

Copy link
Collaborator

@faid-terence faid-terence left a comment

Choose a reason for hiding this comment

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

@Calebgisa72
Work on these feedbacks and re-request for reviews from me after they are applied !

Copy link
Collaborator

Choose a reason for hiding this comment

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

@Calebgisa72
Instead of console.error('Failed to fetch wishlist', error)
Can we use toast.error and display the error to the user
To enhnace a good user experience !

Copy link
Collaborator

Choose a reason for hiding this comment

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

@Calebgisa72
Please avoid using any for Dispatch
You can use AppDispatch()

@coveralls
Copy link

Coverage Status

coverage: 88.231% (+0.1%) from 88.103%
when pulling f32bf6f on ft-wishlist-management
into e5468d2 on develop.

@coveralls
Copy link

Coverage Status

coverage: 88.103%. remained the same
when pulling c510169 on ft-wishlist-management
into e5468d2 on develop.

@coveralls
Copy link

Coverage Status

coverage: 88.069% (-0.03%) from 88.103%
when pulling c510169 on ft-wishlist-management
into e5468d2 on develop.

@coveralls
Copy link

Coverage Status

coverage: 88.354% (+0.3%) from 88.103%
when pulling 8f36613 on ft-wishlist-management
into e5468d2 on develop.

@coveralls
Copy link

Coverage Status

coverage: 88.362% (+0.3%) from 88.103%
when pulling 802af9d on ft-wishlist-management
into e5468d2 on develop.

@coveralls
Copy link

Coverage Status

coverage: 88.362% (+0.3%) from 88.103%
when pulling 802af9d on ft-wishlist-management
into e5468d2 on develop.

@coveralls
Copy link

Coverage Status

coverage: 88.349% (+0.2%) from 88.103%
when pulling b8a24d5 on ft-wishlist-management
into e5468d2 on develop.

Copy link
Collaborator

@faid-terence faid-terence left a comment

Choose a reason for hiding this comment

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

Good Job @Calebgisa72
PR Approved !

@faid-terence faid-terence merged commit 7ef982f into develop Jul 6, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wishlist management
6 participants