WFDASH-WEBAPP/src/lib
Dave a6d53e3b2b feat(price-check): say whether the POS item is exact or only closest
The blue badge read the same whether the AI had matched the item
exactly or only found the nearest one, so a line priced from an M22
bolt looked like any other line.

Now an exact pick reads as before, a closest pick leads with
"Closest: {name} ({differs})" and raises a closest_only flag, and a
fuzzy match keeps its "Similar items:" wording. The popover shows the
pick and the differences at the top.

A refresh is still a no-AI recompute, but it keeps the stored pick
instead of throwing it away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:05:09 +02:00
..
pdf
reports
scan
server feat(order-fill): the filled line's intel follows the AI's POS pick 2026-10-24 23:02:26 +02:00
audit-fetch.test.ts
audit-fetch.ts
audit-format.test.ts
audit-format.ts
collection-ai-card.test.ts feat(collection-confirm): check printed prices on delivery notes; show AI reading notes 2026-10-19 13:50:27 +02:00
collection-ai-card.ts feat(collection-confirm): check printed prices on delivery notes; show AI reading notes 2026-10-19 13:50:27 +02:00
collection-ai-ticks.test.ts feat(collection-confirm): check printed prices on delivery notes; show AI reading notes 2026-10-19 13:50:27 +02:00
collection-ai-ticks.ts feat(collection-confirm): check printed prices on delivery notes; show AI reading notes 2026-10-19 13:50:27 +02:00
collection-driver-verdict.test.ts feat(driver): read-only invoice check endpoint for the driver app 2026-10-21 19:38:38 +02:00
collection-driver-verdict.ts feat(driver): read-only invoice check endpoint for the driver app 2026-10-21 19:38:38 +02:00
delivery-note-stage.test.ts
delivery-note-stage.ts
dev-identity.test.ts
dev-identity.ts
file-fields.test.ts
file-fields.ts
geo.test.ts
geo.ts
giellie-image.ts
giellie-sse.test.ts
giellie-sse.ts
giellie-types.ts
item-match-text.ts feat(pos-match): one size-aware shortlist for the whole app 2026-10-24 22:52:48 +02:00
item-size.test.ts feat(item-size): parse the size out of a description 2026-10-24 22:47:37 +02:00
item-size.ts feat(item-size): parse the size out of a description 2026-10-24 22:47:37 +02:00
item-status-ui.test.ts
item-status-ui.ts
letterhead.test.ts
letterhead.ts
note-feed.test.ts feat(collection-pool): back-to-pending, collection date, and a safe notes feed 2026-10-16 00:44:49 +02:00
note-feed.ts feat(collection-pool): back-to-pending, collection date, and a safe notes feed 2026-10-16 00:44:49 +02:00
order-age.test.ts
order-age.ts
order-ai-match-tint.test.ts feat(orders): tint New-tab cards by the AI quote match 2026-10-24 20:52:59 +02:00
order-ai-match-tint.ts feat(orders): tint New-tab cards by the AI quote match 2026-10-24 20:52:59 +02:00
order-assistant-review.test.ts feat(orders): purple review for AI-filled order lines 2026-10-24 14:25:11 +02:00
order-assistant-review.ts feat(orders): purple review for AI-filled order lines 2026-10-24 14:25:11 +02:00
order-assistant-save.test.ts feat(orders): purple review for AI-filled order lines 2026-10-24 14:25:11 +02:00
order-assistant-save.ts feat(orders): purple review for AI-filled order lines 2026-10-24 14:25:11 +02:00
order-color.test.ts
order-color.ts
order-invoices.test.ts
order-invoices.ts
order-item-qty.test.ts
order-item-qty.ts
order-rep.test.ts
order-rep.ts
pb-helpers-duplicate.test.ts
pb-helpers.ts fix: number customer POs one at a time (duplicate PO numbers) 2026-10-19 15:08:12 +02:00
pin-model.test.ts
placeholder-customers.ts
po-reference.ts feat(collection-confirm): spot a photo on the wrong PO and move it 2026-10-19 14:08:47 +02:00
pocketbase.ts
pos-cart-quantity.test.ts
pos-inline-handlers.test.ts
pos-search.test.ts
price-check.test.ts feat(price-check): say whether the POS item is exact or only closest 2026-10-24 23:05:09 +02:00
price-check.ts feat(price-check): say whether the POS item is exact or only closest 2026-10-24 23:05:09 +02:00
price-list-search.ts
quote-assistant-counts-client.test.ts feat(quote-assistant): AI x/y badge on quotes board 2026-10-16 20:01:43 +02:00
quote-assistant-counts-client.ts feat(quote-assistant): AI x/y badge on quotes board 2026-10-16 20:01:43 +02:00
quote-assistant-merge.test.ts fix(quote-assistant): AI fill on Process page keeps unsaved typing 2026-10-16 23:29:04 +02:00
quote-assistant-merge.ts fix(quote-assistant): AI fill on Process page keeps unsaved typing 2026-10-16 23:29:04 +02:00
quote-assistant-review.test.ts fix(quote-assistant): review minors (templates, forced order, bounds, UI) 2026-10-16 23:41:28 +02:00
quote-assistant-review.ts fix(quote-assistant): review minors (templates, forced order, bounds, UI) 2026-10-16 23:41:28 +02:00
quote-assistant-save.test.ts feat(quote-assistant): purple AI lines on process and quote pages 2026-10-16 19:56:02 +02:00
quote-assistant-save.ts feat(quote-assistant): purple AI lines on process and quote pages 2026-10-16 19:56:02 +02:00
quote-pricing.test.ts
quote-pricing.ts
quote-status.test.ts
quote-status.ts
rep-visibility.test.ts
rep-visibility.ts
repair-document-stage.test.ts
repair-document-stage.ts
safe-next-path.ts
short-collection.test.ts feat(collection): split short pickups on confirm, stop re-billing 2026-10-22 04:04:50 +02:00
short-collection.ts feat(collection): split short pickups on confirm, stop re-billing 2026-10-22 04:04:50 +02:00
sops.ts
stock-fulfillment.test.ts
stock-fulfillment.ts
stock-low-stock.ts
stock-match.ts
stock-status.test.ts
stock-status.ts
supplier-color.test.ts
supplier-color.ts
theme-types.ts
themes.ts
tracker-parsing.test.ts
tracker-parsing.ts
types.ts feat(quote-assistant): the AI answers exact, closest or none 2026-10-24 22:57:32 +02:00
use-boolean-preference.ts
use-split-ratio.test.ts
use-split-ratio.ts
use-theme-id.ts
user-color.ts
utils.test.ts
utils.ts
visit-matching.test.ts
visit-matching.ts
visit-stops.test.ts
visit-stops.ts
working-days.ts