Add tablet camera scanning for employee badge QR on kiosk.
Deploy Ladill Frontdesk / deploy (push) Successful in 36s

Uses html5-qrcode with rear camera preview on Scan badge, keeps external scanner fallback, and still requires PIN after a successful scan.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-28 21:40:54 +00:00
co-authored by Cursor
parent cdd675d247
commit 7a9871f43f
4 changed files with 143 additions and 6 deletions
+7 -1
View File
@@ -1,5 +1,5 @@
{
"name": "ladill-crm",
"name": "ladill-frontdesk",
"lockfileVersion": 3,
"requires": true,
"packages": {
@@ -8,6 +8,7 @@
"@alpinejs/collapse": "^3.15.12",
"@tailwindcss/forms": "^0.5.11",
"alpinejs": "^3.15.12",
"html5-qrcode": "^2.3.8",
"qr-code-styling": "^1.9.2",
"qrcode-generator": "^2.0.4"
},
@@ -1736,6 +1737,11 @@
"node": ">= 0.4"
}
},
"node_modules/html5-qrcode": {
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/html5-qrcode/-/html5-qrcode-2.3.8.tgz",
"integrity": "sha512-jsr4vafJhwoLVEDW3n1KvPnCCXWaQfRng0/EEYk1vNcQGcG/htAdhJX0be8YyqMoSz7+hZvOZSTAepsabiuhiQ=="
},
"node_modules/https-proxy-agent": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",