Skip to content

Gallery: sort by newest by default - #45

Merged
ari20089 merged 1 commit into
mainfrom
site/default-sort-newest
Nov 5, 2026
Merged

ari20089 merged 1 commit into
mainfrom
site/default-sort-newest

Conversation

@ari20089

@ari20089 ari20089 commented Nov 5, 2026

Copy link
Copy Markdown
Owner

What this changes

Item: repository pages (site/)
Type: update

Summary

The gallery now opens sorted by Newest (each item's createdAt), so recently added items come first. Previously the default was Recently updated, but every item was updated on 5 November 2026, so that order was effectively alphabetical.

  • Newest is the first option in the sort menu and the default; Recently updated and Title A–Z are still available.
  • The URL leaves out ?sort= for the default. Older shared links with ?sort=updated still open in that order.
  • The no-JavaScript item list uses the same newest-first order.
  • Items added on the same day are listed A–Z.

Verification

  • npm test passes locally
  • npm run site:build passes
  • Rendered the built page in headless Chrome: Newest is selected and the gallery starts with HVE Core Adoption Check, OWASP Risks to Copilot Studio Controls and Plan Approval (added 4 November 2026)
  • No secrets, tenant identifiers, personal or customer data

Newest (by createdAt) is now the first sort option and the default; Recently updated and Title A–Z stay available. The URL omits ?sort= for the default, and the no-JavaScript list uses the same order.
@ari20089
ari20089 merged commit 19452f1 into main Nov 5, 2026
3 checks passed
@ari20089
ari20089 deleted the site/default-sort-newest branch November 5, 2026 21:25
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.

1 participant