Link media to people (person page + media page) #26

Merged
justin merged 1 commits from media-person-linking into main 2026-06-07 11:19:27 -04:00
Owner

Person page gets a Media card (upload-and-link, link existing, unlink); media page gets a person picker per item. Backend already supported person_id. Frontend only, no migration.

Person page gets a Media card (upload-and-link, link existing, unlink); media page gets a person picker per item. Backend already supported person_id. Frontend only, no migration.
justin added 1 commit 2026-06-07 11:19:26 -04:00
The Media model already carried person_id/event_id/source_id and the upload
route already accepted person_id — this surfaces it in the UI:

- Person page: a Media card lists media linked to that person, uploads new
  files already linked ("Upload & link"), links existing unlinked media, and
  unlinks.
- Media page: each item gets a person picker to link/unlink.

Frontend only — no migration.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
justin merged commit 8903e480cf into main 2026-06-07 11:19:27 -04:00
justin deleted branch media-person-linking 2026-06-07 11:19:27 -04:00
Sign in to join this conversation.