Skip to content

Add extended promotional component filter#330

Open
codeaustral-oss wants to merge 1 commit into
tscircuit:mainfrom
codeaustral-oss:codeaustral/extended-promotional-filter
Open

Add extended promotional component filter#330
codeaustral-oss wants to merge 1 commit into
tscircuit:mainfrom
codeaustral-oss:codeaustral/extended-promotional-filter

Conversation

@codeaustral-oss
Copy link
Copy Markdown

Summary

  • add is_extended_promotional support to /components/list and /api/search
  • derive the flag from existing JLC fields as preferred = 1 AND basic = 0
  • carry the same filter/response field through the D1 cf-proxy search and component-list paths
  • add focused response-field coverage for the origin search/list routes

Verification

  • npx tsc --noEmit
  • npx biome check routes/components/list.tsx routes/api/search.tsx tests/routes/api/search.test.ts tests/routes/components/list.test.ts
  • cd cf-proxy && npx tsc --noEmit
  • cd cf-proxy && npm test
  • git diff --check
  • scripts/pre_push_privacy_check.sh external-pr-work/jlcsearch

/claim #92

@codeaustral-oss
Copy link
Copy Markdown
Author

Quick follow-up: this PR remains open, mergeable, and ready for review for #92. Happy to adjust if maintainers prefer a different direction for this scoped implementation.

@codeaustral-oss
Copy link
Copy Markdown
Author

Quick follow-up on this PR since it is still open.

If there’s anything you want adjusted for merge, I can update quickly. If it looks good, a review/merge when you have bandwidth would be appreciated.

For bounty processing, I will keep payout handling strictly through the platform-supported escrow/Stripe rails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant