docs: add Cantaloupe Sync Admin UI section

2026-05-21 19:48:39 -04:00
parent 458724f7d9
commit 1c4c5d70c9
+11
@@ -53,6 +53,17 @@ Hermes cron job `5ababff9c6e9` runs every 6 hours, executing `~/.hermes/scripts/
**Credentials:** `~/.cantaloupe.env` — needs real mycantaloupe.com account (currently dummy, see issue #7).
**Fix (e9d18cb):** Export subprocess cwd corrected to `~/projects/cantaloupe-downloader/`.
### Cantaloupe Sync Admin UI (since 070e8c2)
A new "Cantaloupe Sync" page in the admin SPA at `static/index.html` provides a UI for the sync workflow:
- **Sync Overview** — Latest batch status badge (pending/approved/rejected/error), diff summary counts (New/Changed/Removed), last sync time, and "Sync Now" button
- **Pending Batch Review** — Approve/reject buttons with full diff tables showing Machine ID, Name, Field, Old Value → New Value
- **Import History** — Expandable rows with status badges, timestamps, and lazy-loaded diff detail
- Dark theme matching existing admin UI, vanilla JS with fetch(), loading/error states
**Fix (20002f4):** Updated login password hint from "Brett85!@" to "changeme".
## Related
- Main app repo: [[https://gitea.ourpad.casa/shawn/canteen-asset-tracker|shawn/canteen-asset-tracker]]