fix: preserve approved Featured order across public catalogs - #3766
Patrick-Erichsen merged 5 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 4:47 PM ET / 20:47 UTC. ClawSweeper reviewWhat this changesPreserve approved Featured ordering across public skill and plugin catalogs, retain that order through homepage filtering, and keep titles visible beside long publisher names. Merge readiness✅ Ready for maintainer review Keep open. The fix remains necessary on current main, and the reviewed changes have no blocking findings. This collaborator-authored PR complements its open parent rather than duplicating a merged fix. Priority: P2 Review scores
Verification
How this fits togetherClawHub’s Featured catalogs combine staff-selected membership with public artifact eligibility. These readers turn eligible badges and saved publication order into catalog responses and homepage cards. flowchart TD
A[Featured badges] --> C[Public eligibility checks]
B[Saved publication order] --> D[Order eligible entries]
C --> D
D --> E[Catalog limits and pagination]
E --> F[Homepage category filtering]
F --> G[Featured cards]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Keep the saved publication snapshot as the shared ordering source while existing badges, visibility checks, and legacy fallback continue to govern eligible results. Do we have a high-confidence way to reproduce the issue? Yes: differing badge timestamps and approved identity order expose the mismatch in the existing readers, and the supplied regression fixture exercises that case. This review did not execute a current-main reproduction. Is this the best way to solve the issue? Yes, this is the best layer for the fix: shared server-side ordering covers API consumers as well as the homepage. Frontend-only sorting would leave other readers inconsistent, while rewriting badge timestamps would alter unrelated provenance. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7725f32bf07d. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
What Problem This Solves
Public Featured feeds currently order by badge timestamps, so they can display a different sequence from the approved staff selection or truncate it before ordering.
User Impact
Plugin and skill Featured feeds preserve the saved publication order before applying limits. Membership and eligibility still come from the canonical badge and public-artifact owners; unavailable entries never become public cards. Existing manually featured entries without a saved publication retain deterministic legacy order.
Why This Change Was Made
The shared ordering helper is used by plugin pages/overview and the native skill feeds, including paginated skill catalog access. It does not let later editorial edits reorder an already published selection. Long publisher labels also shrink correctly on mobile so the artifact title remains visible.
Evidence
A same-input native regression fails on the previous badge order and passes with the exact 16 approved identities through plugin page, skill V4, highlighted list, listWithLatest, and limit-one skill catalog pagination. Real local browser proof shows the publication order in both catalogs across four viewport widths. The mobile title improves from 0px to 72.7px on identical input.
The full combined stack passed 7,070 tests (3 skipped), static/audit, types/build, package and HTTP/CLI checks, explicit Convex/package type checks, and 19 browser smoke cases. Shared safe proof is linked below after publication.
Production +89/-33 (net +56); tests +224/-92. The added owner helper makes saved order canonical across public readers; no new ranking or publication path is introduced.
Real browser and native publication proof.