Closed feature request

Request this part: when a search matches several variants, list them with checkboxes

adonis · ·closed by Colby Knox

Seen on wiki.adom.inc search, 2026-10-27, signed in. Builds on the request flow in adom/wiki#245.

What happens today

The new "Request this part" box works when I search a full orderable part number. LTC6752ISC6-1#TRMPBF was built and now has a page (third screenshot).

When I search a less specific number, like LTC6752-4, the box says:

We do not recognize LTC6752-4 as a catalog part number. Check the spelling, or search for the base part number.

It then offers a single "Request this part" button for the exact string I typed (first screenshot). The same search on Mouser returns several real parts (second screenshot):

  • LTC6752ISC6-4#TRPBF
  • LTC6752ISC6-4#TRMPBF
  • LTC6752HUD-3#PBF

To request one of them, I have to go to Mouser, find the exact number and search the wiki again.

What I'd like

When the search term matches more than one orderable part, show the candidates as a checklist instead of one button:

No page for LTC6752-4 yet. It matches 3 parts:

[ ] LTC6752ISC6-4#TRPBF    Analog Devices · <package> · <description>
[ ] LTC6752ISC6-4#TRMPBF   Analog Devices · <package> · <description>
[ ] LTC6752HUD-3#PBF       Analog Devices · <package> · <description>

[Select all]                              [Request selected]
  • Each row shows enough to tell the parts apart: MPN, manufacturer, package and a short description.
  • I can tick one, a few, all or none, and request the ticked ones in one go.
  • A row that already has a page links to that page and has no checkbox.
  • If the term matches exactly one part, keep the single "Request this part" button as it is today. The list is only needed when there is a real choice.

This is for when I'm not sure which package or variant I want yet, or I want to build a couple to compare.

Open question

Some variants differ only in packaging: #TRPBF (tape and reel), #TRMPBF (mini reel) and #PBF usually share the same package and footprint. It may be worth grouping these under one row, or building one page and listing the others as alternate MPNs, so that "select all" doesn't build identical parts.

1

2

3

2 Replies

Ray ·

CO side is live: GET /api/part-candidates?q=<partial MPN> (public, no key).

It returns the orderable parts the search stands for, one row per page:

{ "q": "LTC6752-4", "exact": false,
  "candidates": [
    { "group": "LTC6752ISC6-4", "request_mpn": "LTC6752ISC6-4#TRPBF", "alternates": ["LTC6752ISC6-4#TRMPBF"],
      "manufacturer": "Analog Devices", "package": "SC-70-6", "description": "...", "stock": 1007,
      "sources": ["mouser", "jlcpcb"], "page_url": null } ],
  "request_with": "POST /api/part-request/batch {mpns: [request_mpn, ...]} (one per ticked row)" }
  • Where they come from: our JLCPCB catalog, plus one DigiKey and one Mouser search. Results are remembered for a day per query, so repeat searches are instant and cost nothing (about 5 s the first time).

  • Which parts match: every segment of the search appears in the part number, in order. LTC6752-4 gives LTC6752ISC6-4#TRPBF, not LTC6752HUD-3#PBF.

  • Packaging variants are one row. One correction to what I said earlier: pages are not shared across packaging variants today. LTC6752ISC6-1#TRMPBF is its own page (adom/ltc6752isc6-1-trmpbf). So CO does the grouping:

    • variants that differ only after # (ADI/LT packaging and RoHS marks) collapse into one row;
    • request_mpn is the one to build (the most stock), and the others are alternates.

    Request only request_mpn per ticked row and "select all" never builds the same part twice.

  • page_url is set when any variant in the row already has a page. Show it as a link with no checkbox. For example, q=LTC6752I returns five rows, and the ISC6-1 row links the existing page.

  • exact: true means the search is itself one of the orderable numbers: keep the single button.

  • Requesting: the ticked rows go through the existing POST /api/part-request/batch (urgency later if you like). Parts that only DigiKey or Mouser list are accepted there too.

CO commits 67742bc and 467d4ca.

Colby Knox ·

This is live on wiki.adom.inc, using Component Ocean's GET /api/part-candidates (thanks Ray). Could you try it and say if it does what you wanted?

  • No page at all (search finds nothing): the box lists every orderable part the number stands for, one row per part, with maker, package and description. Packaging variants (#TRPBF, #TRMPBF, #PBF) are one row with "Also sold as". A row that already has a page shows Open instead of a checkbox. Select all / Request selected.
  • Some pages exist (your LTC6752-4 now finds the ISC6-1 page): a collapsed line under the results, "1 more LTC6752-4 part has no page yet. Request it", opens the same list without the parts already shown. TLV9062 gives 15.
  • Parts you already requested show "Requested" with a link to follow them, so they are not offered twice. Parts from another maker than the family's main one (clones) are kept and tagged "Second source".
  • Each requested part gets its own status link and the usual emails.

Leaving this open until you have tried it.

Colby Knox closed this ·

Log in to reply.