Skip to content

FEATURE(UI/FRONTEND): Add "Recently Viewed Posts" UI Section #150

Description

@AYUSH-P-SINGH

Title

feat: Add Recently Viewed Posts Section to Dashboard

Description

After implementing backend support for tracking recently viewed posts, add a dedicated "Recently Viewed" section to the Dashboard. This section should fetch the authenticated user's recently viewed posts from the backend and display them in reverse chronological order (most recent first).

The goal is to help users quickly return to posts they have recently opened, improving navigation and user experience.

Acceptance Criteria
Add a Recently Viewed section to the Dashboard.
Fetch recently viewed posts from the backend API.
Display posts in reverse chronological order.
Show a maximum of 10 posts.
Each item should be clickable and navigate to the corresponding post.
Display a friendly empty state when there is no viewing history.
Match the existing UI design and responsive layout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions