From 04861ccfe0e90ec0fcd354ec009e3681bc2331cf Mon Sep 17 00:00:00 2001 From: justin Date: Sat, 30 May 2026 17:20:04 -0500 Subject: [PATCH] Fix QR code: add inline script right at image element for immediate generation Previous approach relied on the main is:inline script block which could be blocked by FCC step crashes. New approach: tiny self-contained script right next to the QR img element, runs immediately, fetches upload token and generates QR. Falls back to page URL on failure. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../intake/steps/DOTIntakeStep.astro | 33 ++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/site/src/components/intake/steps/DOTIntakeStep.astro b/site/src/components/intake/steps/DOTIntakeStep.astro index 114ca3f..b9d054e 100644 --- a/site/src/components/intake/steps/DOTIntakeStep.astro +++ b/site/src/components/intake/steps/DOTIntakeStep.astro @@ -251,10 +251,41 @@ or use your phone
- Scan to upload from phone + Loading QR code...

Scan with your phone camera to take a photo of your ID

The form will stay open on your computer while you snap the picture on your phone

+