|
|
d826e68413
|
feat(ui): Fleet Pair / Revoke spire UI (#9/#12)
ci.yml / feat(ui): Fleet Pair / Revoke spire UI (#9/#12) (pull_request) Failing after 0s
Operator-facing front for POST /machines/{id}/pair + /revoke (#21/#23):
- Pairing chip per machine row (paired / not-paired + paired-at tooltip).
- 'Pair' (qr_code_2) opens a dialog -> relays + optional duration_hours
-> POST /pair -> renders the seed_url as <lnbits-qrcode> + copy, shows
the bunker-minted spire npub. Re-pair relabels.
- 'Revoke' (link_off, shown when paired) -> confirm -> POST /revoke ->
updates the row, reports revoked_count (>=1 cut / 0 never-bound).
- Row reflects the bunker-minted identity immediately (machine_npub <-
spire_pubkey_hex, paired_at).
Quasar-UMD conventions: explicit close tags, ${ } delimiters, :style.
JS syntax-checked, conforms to .prettierrc; 210 backend tests unaffected.
Needs a manual browser smoke (superuser-gated page).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-18 19:23:22 +02:00 |
|