Skip to content

feat(site): add Recently Updated sort option to packs page#14

Merged
garysheng merged 1 commit intoPeonPing:mainfrom
taylan:feat/recently-updated-sort
Mar 11, 2026
Merged

feat(site): add Recently Updated sort option to packs page#14
garysheng merged 1 commit intoPeonPing:mainfrom
taylan:feat/recently-updated-sort

Conversation

@taylan
Copy link
Copy Markdown
Contributor

@taylan taylan commented Mar 11, 2026

Summary

  • Adds a "Recently Updated" sort option to the /packs page dropdown
  • Sorts by dateUpdated, falling back to dateAdded for packs that have never been updated
  • Existing "Newest" and "Oldest" options remain unchanged (sort by dateAdded)

Test plan

  • npm run build passes
  • Visit /packs, select "Recently Updated" from the sort dropdown
  • Verify packs with recent dateUpdated values appear first
  • Verify packs without dateUpdated fall back to dateAdded ordering
  • Confirm "Newest" and "Oldest" still sort by dateAdded only

Add a new sort option that orders packs by their most recent update date
(falling back to date added). Existing Newest/Oldest options continue to
sort by date added only.
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 11, 2026

@taylan is attempting to deploy a commit to the Gary Sheng's projects Team on Vercel.

A member of the Team first needs to authorize it.

@garysheng garysheng merged commit ff01947 into PeonPing:main Mar 11, 2026
2 of 3 checks passed
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.

2 participants