From 56b3a602c8e992a2bc197844e1ab3de8743b8012 Mon Sep 17 00:00:00 2001 From: dax Date: Tue, 4 Aug 2026 10:26:40 +0000 Subject: Code review cleanup: cache placement/adjacency, drop dead code - Cache choosePlacement and adjacentTile results per (id,dir); invalidate on addTile. Avoids O(n^3) placement scoring on every pointermove. - setCurrent now re-renders only affected navs (prev + new) instead of refreshAllNav; remove refreshAllNav entirely. - Add pointercancel handler so interrupted touch/trackpad gestures don't leave a stuck drag. - Remove dead code: placeRect, photoConnections + /api/photo route and THUMBS const on server, dangling info var in pointerup. - Trim .gitignore, remove .DS_Store, bump cache-bust to ?v=20. --- public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/index.html') diff --git a/public/index.html b/public/index.html index ee844d7..4c13a5a 100644 --- a/public/index.html +++ b/public/index.html @@ -5,7 +5,7 @@ pathways - +
@@ -16,6 +16,6 @@

four paths, one per direction. walk them.

- + -- cgit v1.3.1