Skip to content

expose jlcpcb pcba type in component search - #446

Draft
mohan-bee wants to merge 1 commit into
tscircuit:mainfrom
mohan-bee:expose-source-assembly-fields
Draft

mohan-bee wants to merge 1 commit into
tscircuit:mainfrom
mohan-bee:expose-source-assembly-fields

Conversation

@mohan-bee

@mohan-bee mohan-bee commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

motivation
component search should return the same pcba eligibility label shown by jlcpcb instead of inferring service support from basic-part status.

before
jlcpcb componentProductType was discarded upstream, so search results could not distinguish economic and standard, economic only, and standard only eligibility.

after
the source-backed numeric discriminator from yaqwsx/jlcparts#160 is preserved through catalog and search-index rebuilds, then serialized as pcba_type with all three exact jlcpcb labels; focused tests cover values 0, 1, 2, unknown values, and null compatibility.

@mohan-bee
mohan-bee marked this pull request as draft August 11, 2026 08:53
@mohan-bee
mohan-bee force-pushed the expose-source-assembly-fields branch from 8e7a2fe to d29cdc8 Compare August 11, 2026 09:10
@mohan-bee mohan-bee changed the title expose jlcpcb assembly mode and process in component search expose jlcpcb pcba type in component search Aug 11, 2026
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