feat: Just Added carousel on discover page#856
Open
onchainlu wants to merge 9 commits into
Open
Conversation
Adds a new section below Featured on the discover page showing the 15 most recently registered x402 origins. Each card displays OG image (or favicon/globe fallback), title, description, tags, endpoint count, and relative listing time. Carousel uses Embla with drag/wheel scroll and bottom pagination arrows. Also renames "Featured Services" → "Featured" on the discover page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Remove unused cn import, suppress no-img-element for OG images, remove unused Skeleton import. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
Author
Match the pattern used by listOriginsWithResources — filter out origins whose resources have null responses to avoid returning broken/unparsed endpoints. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fmhall
approved these changes
May 12, 2026
Wildcard HTTPS remotePatterns so OG images from arbitrary merchant domains get full Next.js image optimization (resizing, WebP/AVIF, CDN caching). Use optimized <Image fill> for Just Added cards. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove response and accepts filters — newly registered origins often haven't been probed yet, so requiring a non-null response excludes the freshest entries (defeating the purpose of "Just Added"). Only filter on deprecatedAt to exclude removed resources. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Revert wildcard hostname to prevent /_next/image abuse. Use unoptimized flag for arbitrary-domain OG images, matching the pattern used by Favicon (Radix Avatar) and composer agent components. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Debug: newly registered origins not appearing despite relaxed filters. Remove all resource relation filters to test if the issue is in the query filtering or elsewhere. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fmhall
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
listRecentOriginsquery +api.public.origins.recenttRPC endpoint (direct DB read, no caching — indexed query is O(1))Test plan
/(discover page) — "Just Added" section appears below Featured/resources/register