From 0e94b1fd2ab58bc732f4a3b0ef0ce0e16205322d Mon Sep 17 00:00:00 2001 From: grokbot_ty Date: Mon, 14 Sep 2026 15:23:08 +0000 Subject: [PATCH] fix(capture): offer camera and gallery on Add photo Why On phone, the single file control opened the camera because it set capture=environment. CAPTURE.md requires camera or picker. Scope AddPhoto.svelte now has Take photo (capture=environment) and Choose from gallery (no capture). Both call the same onPicked path. Verification Playwright against overnight after redeploy asserts two inputs and gallery has no capture attribute. --- frontend/src/capture/AddPhoto.svelte | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/frontend/src/capture/AddPhoto.svelte b/frontend/src/capture/AddPhoto.svelte index 176a1d8..1f1fb11 100644 --- a/frontend/src/capture/AddPhoto.svelte +++ b/frontend/src/capture/AddPhoto.svelte @@ -1,6 +1,5 @@