From 584fd140ad25f71d4a977294ea4cc15c3ab72623 Mon Sep 17 00:00:00 2001 From: type-two Date: Mon, 22 Jun 2026 01:57:54 +1000 Subject: [PATCH] feat: Search/locate workstation + Search & Sales in nav (cache-bust nav.js) --- app/main.py | 2 +- site/admin.html | 2 +- site/builder.html | 2 +- site/dash.html | 2 +- site/nav.js | 1 + site/pos.html | 2 +- site/search.html | 150 ++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 156 insertions(+), 5 deletions(-) create mode 100644 site/search.html diff --git a/app/main.py b/app/main.py index cb484c5..828e74d 100644 --- a/app/main.py +++ b/app/main.py @@ -80,7 +80,7 @@ def _page(filename): return _serve -for _stub in ("shop", "builder", "admin", "dash", "pos"): +for _stub in ("shop", "builder", "admin", "dash", "pos", "search"): app.add_api_route(f"/{_stub}", _page(_stub + ".html"), methods=["GET"], include_in_schema=False) # Mounts come last so the API routes + /healthz match first; "/" serves the landing/dash site. diff --git a/site/admin.html b/site/admin.html index 8d7e9e9..638de60 100644 --- a/site/admin.html +++ b/site/admin.html @@ -4,7 +4,7 @@ RecordGod — admin - + + + +

RecordGod · search

+
+
+ +
+
+
+ + +
+
type to search the whole store
+
+
+ +
+
+
Store map
+ +
+ +
Click a bin to list what's in it. A search hit lights up its bin 📍
+
+
+ + + +