Skip to content

Add extended promotional component flag#338

Open
Deepthinkr wants to merge 4 commits into
tscircuit:mainfrom
Deepthinkr:add-extended-promotional-column
Open

Add extended promotional component flag#338
Deepthinkr wants to merge 4 commits into
tscircuit:mainfrom
Deepthinkr:add-extended-promotional-column

Conversation

@Deepthinkr
Copy link
Copy Markdown

@Deepthinkr Deepthinkr commented May 23, 2026

PR: Add extended promotional component flag

Fixes #92

/claim #92

Summary

  • Adds is_extended_promotional to /components/list and /api/search responses.
  • Adds is_extended_promotional filters for component list/search APIs and UI.
  • Carries the field through cf-proxy component catalog/search index schemas, rebuild scripts, and rendered tables.
  • Preserves compatibility by deriving the field from the existing source preferred flag where current runtime tables do not yet have a separate column.

Validation

  • git diff --check
  • npm exec --package typescript@5 -- tsc --noEmit --types bun
  • cd cf-proxy && npx tsc --noEmit
  • cd cf-proxy && npm test -> 126 passed

Bounty note

This is for the /bounty $75 issue titled "Add is_extended_promotional column to components (from data source)".

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.

Add is_extended_promotional column to components (from data source)

1 participant