fix: inline edit fetches & displays asset info #7

Closed
opened 2026-05-26 01:20:34 +00:00 by shawn · 0 comments
Owner

Changes

Inline machine ID editing in Previous Photos now always shows asset info:

  1. Always rendered: prevAsset and prevMachineInfo divs are now on every card (not just GPS-equipped ones)
  2. Always looked up: lookupPrevAsset() runs for all photos with machine_id on page load
  3. Fallback creation: saveMachineIdInline() dynamically creates asset display elements if they don't exist

Previously, manually entering a machine ID on a card without GPS would silently save the ID but never show the asset name/location.

## Changes Inline machine ID editing in Previous Photos now always shows asset info: 1. **Always rendered**: `prevAsset` and `prevMachineInfo` divs are now on every card (not just GPS-equipped ones) 2. **Always looked up**: `lookupPrevAsset()` runs for all photos with machine_id on page load 3. **Fallback creation**: `saveMachineIdInline()` dynamically creates asset display elements if they don't exist Previously, manually entering a machine ID on a card without GPS would silently save the ID but never show the asset name/location.
shawn closed this issue 2026-05-26 01:20: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#7