diff --git a/backend/extension-src/README.md b/backend/extension-src/README.md index 75aa05c..26d3e85 100644 --- a/backend/extension-src/README.md +++ b/backend/extension-src/README.md @@ -46,6 +46,15 @@ running the [`tablet-checkin`](../tablet-checkin) app. 4. Click the extension icon → **Open Settings** (or right-click the icon → Options) → enter the tablet-checkin base URL and the terminal key → Save → Test connection. +## Versioning + +Bump `manifest.json`'s `"version"` field every time anything in this folder changes. +Nothing does this automatically. The popup shows its own installed version in a small +footer; tablet-checkin's Terminals page shows the latest bundled version next to the +download link (`GET /api/extension/version`, reads this same file) — that comparison is +how staff tell an already-installed copy on a reception PC is stale and needs +re-downloading, so a missed bump silently breaks that signal. + ## Known TODOs before this is production-ready - **Row-detection selectors on `bookings_lists_checkin` are built from a single sample diff --git a/backend/extension-src/manifest.json b/backend/extension-src/manifest.json index 2ca4eca..3a9c3d1 100644 --- a/backend/extension-src/manifest.json +++ b/backend/extension-src/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Send to Check-In Tablet", - "version": "0.1.0", + "version": "0.2.0", "description": "Pushes the currently open NewBook booking to a check-in tablet — standalone from NewBook Assistant, see project_checkin memory.", "permissions": ["cookies", "storage", "activeTab", "webNavigation"], diff --git a/backend/extension-src/popup/popup.css b/backend/extension-src/popup/popup.css index 860f358..4f3f82a 100644 --- a/backend/extension-src/popup/popup.css +++ b/backend/extension-src/popup/popup.css @@ -97,3 +97,7 @@ a.settings-link { display: block; margin-top: 12px; font-size: 12px; color: #7b4 padding: 4px 10px; border-radius: 6px; cursor: pointer; } .send-small:disabled { opacity: 0.5; cursor: default; } + +.version { + margin-top: 10px; text-align: center; font-size: 10px; color: #94a3b8; +} diff --git a/backend/extension-src/popup/popup.html b/backend/extension-src/popup/popup.html index ec0b483..5d98889 100644 --- a/backend/extension-src/popup/popup.html +++ b/backend/extension-src/popup/popup.html @@ -15,6 +15,8 @@
Loading…
+ +