Wire scanner feedback toasts and restore rescan uploads #157

Merged
rstillwell merged 1 commit from fix/scanner-feedback-rescan into main 2026-09-08 20:08:02 -04:00
Owner

Summary

  • Show scan notices and camera/identify errors in the scanner page toast so feedback is visible during capture and identification.
  • Patch scanImageUrl after background upload completes so rescans use the uploaded image URL.
  • Fix debug upload logging for clearer scanner pipeline diagnostics.

Test plan

  • npm run test:run -- test/lib/scanner-session.test.js
  • Open scanner, trigger a scan notice and confirm it appears in the page toast.
  • Rescan a card after background upload finishes and confirm identification uses the updated image URL.
  • Enable scanner debug mode and verify upload logging is correct.
## Summary - Show scan notices and camera/identify errors in the scanner page toast so feedback is visible during capture and identification. - Patch `scanImageUrl` after background upload completes so rescans use the uploaded image URL. - Fix debug upload logging for clearer scanner pipeline diagnostics. ## Test plan - [ ] `npm run test:run -- test/lib/scanner-session.test.js` - [ ] Open scanner, trigger a scan notice and confirm it appears in the page toast. - [ ] Rescan a card after background upload finishes and confirm identification uses the updated image URL. - [ ] Enable scanner debug mode and verify upload logging is correct.
rstillwell added 1 commit 2026-09-08 20:06:58 -04:00
Wire scanner feedback toasts and restore rescan uploads.
Some checks failed
CI / Lint (pull_request) Has been cancelled
CI / Schema map up to date (pull_request) Has been cancelled
CI / Forbidden patterns (9 checks) (pull_request) Has been cancelled
CI / Migrations apply (node-pg-migrate) (pull_request) Has been cancelled
Visual diff / Should run? (pull_request) Has been cancelled
CI / Unit tests (vitest) (pull_request) Has been cancelled
Convoy metrics gate / Require role-event telemetry on convoy PRs (pull_request) Has been cancelled
PR Health rollup / Aggregate gate status (pull_request) Has been cancelled
Preview smoke / Should run? (pull_request) Has been cancelled
Visual diff / Screenshot diff (pull_request) Has been cancelled
Preview smoke / Playwright smoke (pull_request) Has been cancelled
e733dc5a13
Show scan notices and camera/identify errors in the page toast, patch scanImageUrl after background upload completes, and fix debug upload logging.

Co-authored-by: Cursor <cursoragent@cursor.com>
rstillwell merged commit 70be99421d into main 2026-09-08 20:08:02 -04:00
Sign in to join this conversation.
No description provided.