Skip to content

Feature/recently visited profiles#266

Open
kavin553 wants to merge 2 commits into
mayo-byte07:mainfrom
kavin553:feature/recently-visited-profiles
Open

Feature/recently visited profiles#266
kavin553 wants to merge 2 commits into
mayo-byte07:mainfrom
kavin553:feature/recently-visited-profiles

Conversation

@kavin553

Copy link
Copy Markdown

Description

Implements a recently visited profiles section in the user dashboard.

Fixes #197


Changes Made

  • Added recently visited profiles tracking using localStorage
  • Implemented reusable helper functions for saving and retrieving profiles
  • Prevented duplicate profile entries
  • Added max profile limit for lightweight storage management
  • Created responsive recently visited profiles dashboard section
  • Added reusable profile card rendering logic
  • Improved dashboard navigation experience
  • Added empty state handling
  • Optimized frontend rendering behavior

Before

  • Users could not revisit previously viewed profiles quickly
  • No recent navigation history existed
  • Dashboard lacked quick-access profile navigation

After

  • Recently visited profiles are automatically stored
  • Dashboard now displays recent profile cards
  • Duplicate entries are prevented
  • Newest visited profiles appear first
  • Data persists across page refreshes
  • Responsive profile grid added for mobile and desktop

Screenshots (if applicable)

Before

After


Testing

Tested:

  • Visiting multiple profiles
  • Re-visiting existing profiles
  • localStorage persistence after refresh
  • Maximum profile limit behavior
  • Mobile responsiveness
  • Empty state rendering
  • Navigation behavior
  • Console error checks

Checklist

  • I have linked the relevant issue above.
  • I have tested my changes locally.
  • My code follows the project's style guidelines.

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

@kavin553 is attempting to deploy a commit to the Mayo's projects Team on Vercel.

A member of the Team first needs to authorize it.

@kavin553

Copy link
Copy Markdown
Author

Hi @mayo-byte07 👋

I’ve completed the implementation for the recently visited profiles dashboard enhancement in #197.

What was added

  • Recently visited profiles tracking using localStorage
  • Responsive dashboard section with reusable profile cards
  • Duplicate prevention logic
  • Optimized lightweight rendering
  • Persistent recent profile history across refreshes

Improvements

  • Better user navigation experience
  • Cleaner reusable frontend architecture
  • Optimized state management
  • Mobile-friendly responsive layout

I’ve tested the feature locally across different navigation scenarios and ensured consistent rendering behavior.

Please review the PR when convenient. Thank you 🚀

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.

Add recently visited profiles section in user dashboard

1 participant