From 7f6325fe213ed46ff5479ffd34b0e212426d48f2 Mon Sep 17 00:00:00 2001 From: Ken D'Ambrosio Date: Mon, 8 Jun 2026 21:09:47 +0000 Subject: Add people cluster detail page with face move/merge and hover preview Each cluster in /admin/people now links to a detail page showing all faces in a grid. From there you can rename the cluster, move individual faces to another named person (or spin off a new cluster), or merge the entire cluster into another. Hovering any face crop shows the original full photo for context. Co-Authored-By: Claude Sonnet 4.6 --- views/admin/people.erb | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) (limited to 'views/admin/people.erb') diff --git a/views/admin/people.erb b/views/admin/people.erb index 6b7a4d0..c17e847 100644 --- a/views/admin/people.erb +++ b/views/admin/people.erb @@ -37,10 +37,14 @@
<% c[:samples].each do |s| %> + width="72" height="72" loading="lazy" + class="face-list-thumb" + data-thumb="/thumb/<%= ERB::Util.html_escape(s[:rel]) %>"> <% end %> <% if c[:count] > c[:samples].length %> - +<%= c[:count] - c[:samples].length %> + + +<%= c[:count] - c[:samples].length %> more + <% end %>
@@ -54,6 +58,7 @@ <% end %> + View all
<% end %> @@ -66,7 +71,29 @@ <% end %> +
+