Features: manual assign + full-screen viewer + always-on manual entry #3

Closed
opened 2026-05-26 00:36:38 +00:00 by shawn · 0 comments
Owner

Changes

1. Always-on manual entry field (single-photo view)

  • Manual entry field now appears on EVERY analysis, not just when no digits are found
  • Shows contextual hint: "✏️ Try a different ID" when digits were found but match failed
  • Works regardless of GPS presence

2. Assign + Push GPS from manual lookup

  • After manual lookup succeeds, user sees " Assign to Photo" button
  • Tapping persists the machine ID via POST /api/assign-machine-id
  • If photo has GPS, a "📤 Push GPS" button also appears
  • Both actions give clear success/failure feedback inline

3. Full-screen photo viewer with zoom

  • Tap any photo preview → full-screen dark overlay with the image
  • Pinch-to-zoom on mobile, scroll-wheel zoom on desktop
  • Double-tap to zoom in/out
  • Drag to pan when zoomed
  • Swipe down to close on mobile, ✕ button, Escape key
  • Zoom hint shown briefly on open

Files

  • static/index.html — all changes frontend-only

Verification

  • exif.ourpad.casa responds 200 with all changes
  • dev.exif.ourpad.casa responds 200 with all changes
  • Both systemd services restarted and boot-enabled
  • Gitea push up-to-date
## Changes ### 1. Always-on manual entry field (single-photo view) - Manual entry field now appears on EVERY analysis, not just when no digits are found - Shows contextual hint: "✏️ Try a different ID" when digits were found but match failed - Works regardless of GPS presence ### 2. Assign + Push GPS from manual lookup - After manual lookup succeeds, user sees **"✅ Assign to Photo"** button - Tapping persists the machine ID via POST /api/assign-machine-id - If photo has GPS, a **"📤 Push GPS"** button also appears - Both actions give clear success/failure feedback inline ### 3. Full-screen photo viewer with zoom - Tap any photo preview → full-screen dark overlay with the image - Pinch-to-zoom on mobile, scroll-wheel zoom on desktop - Double-tap to zoom in/out - Drag to pan when zoomed - Swipe down to close on mobile, ✕ button, Escape key - Zoom hint shown briefly on open ## Files - static/index.html — all changes frontend-only ## Verification - [x] exif.ourpad.casa responds 200 with all changes - [x] dev.exif.ourpad.casa responds 200 with all changes - [x] Both systemd services restarted and boot-enabled - [x] Gitea push up-to-date
shawn closed this issue 2026-05-26 00:36:42 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shawn/exif-test#3