From cf787f15c7e59be43b1dd8c54cdec7c1b233ade9 Mon Sep 17 00:00:00 2001 From: Adam Patch Date: Sun, 8 Feb 2026 15:45:44 -0500 Subject: [PATCH 01/11] chore(dev): update submodule pointer for completed auto-lock task --- dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev b/dev index ad6f67f..6694709 160000 --- a/dev +++ b/dev @@ -1 +1 @@ -Subproject commit ad6f67fbedb7d04036c5a19ce8cbad949bab692e +Subproject commit 66947097373b56374460151135daa5d382356dae From ea3e98e7b6f1f4330ebf59279bf76e1f13f2bd27 Mon Sep 17 00:00:00 2001 From: Adam Patch Date: Sun, 8 Feb 2026 16:10:03 -0500 Subject: [PATCH 02/11] feat(ui/labels): add instance count preview to Pull from Neo4j button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds confirmation modal showing instance count before pulling schema: - Uses existing /api/labels//instance-count endpoint - Shows modal with preview of what will happen - Displays Neo4j instance count (or error if not connected) - User can confirm or cancel action - Improves safety by showing impact before schema pull Frontend changes: - Add confirmation modal HTML component - Add showConfirmModal() helper function - Add getInstanceCount() async function - Update pullFromNeo4j() to show modal with instance count - Loading state while fetching count - Error handling for Neo4j not connected Testing: - 3 unit tests for instance count endpoint - Tests endpoint exists and handles errors gracefully - All tests passing Acceptance criteria met: ✅ Pull button shows instance count in modal ✅ User can confirm/cancel before action ✅ Clear feedback on what will happen ✅ Handles Neo4j not connected gracefully 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- dev | 2 +- scidk/ui/templates/labels.html | 163 ++++++++++++++++++++++++----- tests/test_label_instance_count.py | 73 +++++++++++++ 3 files changed, 211 insertions(+), 27 deletions(-) create mode 100644 tests/test_label_instance_count.py diff --git a/dev b/dev index 6694709..b09b80d 160000 --- a/dev +++ b/dev @@ -1 +1 @@ -Subproject commit 66947097373b56374460151135daa5d382356dae +Subproject commit b09b80d46bf07102cefceec5cbd5dd82d6d79ef9 diff --git a/scidk/ui/templates/labels.html b/scidk/ui/templates/labels.html index c5eef2a..0cc4255 100644 --- a/scidk/ui/templates/labels.html +++ b/scidk/ui/templates/labels.html @@ -560,6 +560,46 @@
Import Schema
+ + +