From cf1385bbd6d88a8db9f615512564e150c85a0b5f Mon Sep 17 00:00:00 2001 From: Ken D'Ambrosio Date: Mon, 8 Jun 2026 22:39:58 +0000 Subject: Add face and cluster deletion to people admin On the cluster detail page: "Remove face" option in each face's move dropdown removes it from the cluster entirely; "Delete cluster" button (red, with confirmation) removes the whole cluster from people.json. Moving the last face out of a cluster also auto-deletes it. Co-Authored-By: Claude Sonnet 4.6 --- views/admin/person_detail.erb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'views/admin') diff --git a/views/admin/person_detail.erb b/views/admin/person_detail.erb index 448aaff..8a2f8fe 100644 --- a/views/admin/person_detail.erb +++ b/views/admin/person_detail.erb @@ -38,6 +38,14 @@ <% end %> + <%# ── Delete cluster ──────────────────────────────────────────────────── %> +
+
+ +
+
+ <%# ── Face grid ────────────────────────────────────────────────────────── %>

Hover a face to see the full photo. @@ -69,6 +77,7 @@ <% end %> + <% end %> -- cgit v1.2.3