feat(ui): edit doors from the admin page (add Edit action)

The PUT /api/v1/doors/{id} endpoint already existed and preserves the
controller token when it isn't resent, but the admin UI only exposed
create / reveal-token / delete. Add a per-row Edit (pencil) button that
reuses the door dialog as create-or-update (saveDoor: POST when new, PUT
when editing), so a door's Home Assistant webhook URL / boltcards base /
timeout can be changed without deleting + recreating (which would churn
the controller token the reader uses). Bump to 0.0.3.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Patrick Mulligan 2026-09-08 23:56:52 +02:00
commit 2bc4a01edc
3 changed files with 39 additions and 10 deletions

View file

@ -2,7 +2,7 @@
"name": "Access",
"short_description": "NFC door access — authorize Bolt Card taps and unlock via Home Assistant",
"tile": "/access/static/image/access.png",
"version": "0.0.2",
"version": "0.0.3",
"min_lnbits_version": "1.3.0",
"contributors": [
{