Skip to content

Use production page views for popular recipes - #74

Merged
nicholasdbrady merged 1 commit into
mainfrom
nicholasdbrady-use-page-views-for-popular
Jul 16, 2026
Merged

Use production page views for popular recipes#74
nicholasdbrady merged 1 commit into
mainfrom
nicholasdbrady-use-page-views-for-popular

Conversation

@nicholasdbrady

Copy link
Copy Markdown
Member

Summary

  • rank the Popular carousel by trailing-30-day production recipe page views
  • display production page views since Forgebook launched on June 2, 2026
  • exclude localhost, PR previews, non-recipe routes, and unpublished registry slugs
  • replace the stale committed fallback with a fresh snapshot generated July 16
  • make navigation tests independent of daily-changing counters and recipe totals

Validation

  • cd scripts && npx tsx validate-registry.ts
  • cd site && npm run build
  • cd site && npx playwright test tests/navigation.spec.ts --project=desktop

@nicholasdbrady
nicholasdbrady requested a review from a team as a code owner July 16, 2026 17:22
@nicholasdbrady
nicholasdbrady enabled auto-merge (squash) July 16, 2026 17:24
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d448f6e0-033d-478b-9ea8-ae6dd55c2cd9
@nicholasdbrady
nicholasdbrady force-pushed the nicholasdbrady-use-page-views-for-popular branch from 37cd98a to 253f0da Compare July 16, 2026 17:25
@nicholasdbrady
nicholasdbrady merged commit 9b5069f into main Jul 16, 2026
5 checks passed
@nicholasdbrady
nicholasdbrady deleted the nicholasdbrady-use-page-views-for-popular branch July 16, 2026 17:28
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