WFDASH-WEBAPP/src
Dave 19f1bc080b feat(item-size): parse the size out of a description
The POS shortlist ranked by shared words only, so "BOLT HEX M16X60
GR8.8 ZP" put the M22x65 above the M16x60 — every bolt shares
"BOLT 8.8 ZP" and scores 0.75. The right size never reached the AI
and the price check showed the wrong item.

parseItemSize pulls the type, thread, length, grade, finish and other
dimensions out of free text; compareSizes says whether a candidate is
the same size and, when it is not, in plain words what differs.

Pure and client-safe: no PocketBase, no AI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 22:47:37 +02:00
..
app feat(process): show the blue price check on both Process pages 2026-10-24 21:45:46 +02:00
components fix(price-check): keep the badge in step with the line's stored intel 2026-10-24 21:59:56 +02:00
lib feat(item-size): parse the size out of a description 2026-10-24 22:47:37 +02:00
styles fix(pos): dead discount toggle + stale discount figure, lift dark palette 2026-10-12 23:17:57 +02:00
middleware.ts
test-setup.ts