Skip to content

Favorites Page Shows “0 Saved Articles” Despite Adding Blogs to Favorites #1616

@Aarya-Chaudhari

Description

@Aarya-Chaudhari

Describe the bug

The Favorites page incorrectly displays “You have 0 saved articles” even after multiple blogs have been added to favorites from the main blog page. Although the favorite icon interaction appears to work and the favorites count indicator (e.g., badge showing 3) updates on the blog page, the favorites.html page does not reflect the saved items. This creates a mismatch between the UI state and stored user actions, leading to confusion and a broken favorites feature experience.

To Reproduce

Open the AgriTech Blog page (blog-backup.html).
Click the heart (favorite) icon on multiple blog cards (e.g., add 2–3 blogs to favorites).
Verify that the favorites badge/count increases on the blog page.
Navigate to the Favorites page (favorites.html) using the “My Favorites” button.
Observe the message shown on the page.

Expected behavior

The Favorites page should display all blogs that were marked as favorites
The saved articles count should match the number of favorited blogs
Favorite blog cards should be rendered dynamically on the favorites page
Data should persist across navigation between blog and favorites pages

Additional context

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    ECWoC26bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions