mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Six integration cards and the lab-OCR dialog keyed their tone off `res.ok`. A sync that imported nothing because every reading was refused rendered a green tick and a count, and a re-scan in which every confirmed row turned out to be a duplicate raised a green toast saying zero readings were saved. Each surface now renders the outcome the route resolved: a tick only when everything landed, a warning when some of it did not, an error when none of it did, and a neutral note when there was nothing new. The lab-OCR toast picks its variant the same way. Replaces the directory-scoped import guard with one that covers the whole component tree and pins per-file occurrence counts, so a listed file cannot quietly add a second tick. Its docstring states what it cannot catch.