Skip to content

fix(news): sort PositiveNewsFeedPanel items by publication date descending#806

Open
NewCoder3294 wants to merge 1 commit intokoala73:mainfrom
NewCoder3294:fix/positive-news-sort
Open

fix(news): sort PositiveNewsFeedPanel items by publication date descending#806
NewCoder3294 wants to merge 1 commit intokoala73:mainfrom
NewCoder3294:fix/positive-news-sort

Conversation

@NewCoder3294
Copy link
Contributor

Summary

  • Sorts positive news feed items by publication date descending (newest first) before rendering
  • Items with missing or invalid pubDate values are placed at the end of the list
  • Sort is applied in renderCards() so it takes effect regardless of the active category filter

Closes #107

Test plan

  • Verify that feed items appear with the most recent stories at the top
  • Switch between category filters and confirm sort order is maintained
  • Confirm items with missing dates appear at the bottom
  • Verify share button functionality still works correctly after sorting

🤖 Generated with Claude Code

…nding

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 2, 2026

@NewCoder3294 is attempting to deploy a commit to the Elie Team on Vercel.

A member of the Team first needs to authorize it.

@koala73 koala73 added Not Ready to Merge PR has conflicts, failing checks, or needs work High Value Meaningful contribution to the project labels Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

High Value Meaningful contribution to the project Not Ready to Merge PR has conflicts, failing checks, or needs work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto Sort - Time

2 participants