From 272f2a91a675d226fcd0ada950bc56d37b0bf461 Mon Sep 17 00:00:00 2001 From: Matt Raymer Date: Fri, 25 Apr 2025 06:31:18 -0400 Subject: [PATCH] refactor(QRScanner): improve camera handling and UI feedback - Add detailed camera status and initialization feedback\n- Implement proper error handling with specific error messages\n- Add camera switching functionality with visual indicator\n- Improve TypeScript types with DetectionResult interface\n- Fix duplicate onError method with consolidated error handling\n- Add version display (v1.1.0)\n- Enhance UI with better status indicators and debug info\n- Clean up code formatting and improve maintainability --- src/components/QRScanner/QRScannerDialog.vue | 274 +++++++++++++++---- 1 file changed, 217 insertions(+), 57 deletions(-) diff --git a/src/components/QRScanner/QRScannerDialog.vue b/src/components/QRScanner/QRScannerDialog.vue index 11ed0d12..8b5814b8 100644 --- a/src/components/QRScanner/QRScannerDialog.vue +++ b/src/components/QRScanner/QRScannerDialog.vue @@ -8,10 +8,15 @@ class="dialog relative bg-white rounded-lg shadow-xl max-w-lg w-full mx-4" > -
-

Scan QR Code

+
+
+

Scan QR Code

+ v1.1.0 +