From 9cfd2f29071fb004e5fd78259b47a8c829a3b009 Mon Sep 17 00:00:00 2001 From: Patrick Mulligan Date: Sun, 1 Mar 2026 12:11:28 -0500 Subject: [PATCH] feat(machine): add scanning frame to QR code component Wrap QrcodeVue in animated scanning frame with 4 pulsing corner brackets and a sweep line. Increase default size from 300 to 380 for split-screen contexts. Use font-mono-code for URI preview. Co-Authored-By: Claude Opus 4.6 --- apps/machine/src/components/QRCode.vue | 68 +++++++++++++++++++++----- 1 file changed, 57 insertions(+), 11 deletions(-) diff --git a/apps/machine/src/components/QRCode.vue b/apps/machine/src/components/QRCode.vue index 19c1e2b..0e919a3 100644 --- a/apps/machine/src/components/QRCode.vue +++ b/apps/machine/src/components/QRCode.vue @@ -7,7 +7,7 @@ const props = defineProps<{ size?: number }>() -const qrSize = computed(() => props.size ?? 200) +const qrSize = computed(() => props.size ?? 380) // Read CSS variables for theme-aware colors const qrBackground = ref('#f5f0e6') @@ -37,16 +37,62 @@ onUnmounted(() => {