From b9a3ce6942e917c8e5046d652b7742cfe5f960ec Mon Sep 17 00:00:00 2001 From: Ken D'Ambrosio Date: Fri, 12 Jun 2026 13:57:11 +0000 Subject: Add bulk photo selection panel to person page (admin) On /people/:slug, admins see a sticky left panel and selectable photo tiles. Clicking a tile (or its checkbox overlay) toggles selection; clicking without modifier still opens the photo in a new tab. The panel shows the selection count and two actions: - Reassign to person: moves the selected photos' face entries from the current person's cluster to the chosen person. - Move to album: moves the photo files on disk and updates album.json, faces.json, and people.json rel paths accordingly. Album paths are offered via a datalist autocomplete. Co-Authored-By: Claude Sonnet 4.6 --- views/person.erb | 129 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 122 insertions(+), 7 deletions(-) (limited to 'views/person.erb') diff --git a/views/person.erb b/views/person.erb index 1bb25e2..b64dcbd 100644 --- a/views/person.erb +++ b/views/person.erb @@ -1,3 +1,57 @@ +<% if admin? %> +
+ + +
+<% end %> +