feat: Add Recently Viewed section and utility functions for managing …#79
Conversation
…recently viewed products
Alexandrbig1
left a comment
There was a problem hiding this comment.
Thank you for your contribution, and congrats on your PR being approved!
We’re excited to have your work as part of Open Code Chicago’s Hacktoberfest 2025 project.
|
@AparAgarwal, may you check |
|
Ahh, I see. It's the same error as before. I don't know why, but when I run |
… update CSS theme declaration
|
@Alexandrbig1 I’ve fixed it. Please check and let me know if everything looks good. |
|
@AparAgarwal, just minor fix, please. |
|
Can you guide me on how to get these detailed lint logs on my machine? I don’t see any of these errors when I run the lint check. |
|
@AparAgarwal, just pull the latest updates, and before opening a PR, run the linter Also, one minor UI fix: adjust the wishlist button border on hover to match the design (hover border color/weight). |
|
@AparAgarwal, were you asking for this task? |


Description
Adds a small "Recently Viewed" section on the Products page that reads/writes a
recently_viewedarray in localStorage and shows up to 3 products per view with Previous/Next navigation. Gracefully hides when there are no items.Changes
RecentlyViewed.jsx— new carousel-style componentrecentlyViewed.js— get/add helpers for recently_viewedIntegrated into
Products.jsx(renders when products load)Closes: OpenCodeChicago/.github#85