Files
openclaw/ui
Vyctor H. Brzezowski f9eae0c276 fix(ui): confirm Devices pairing rejects and token revokes in-app (#121279)
* fix(ui): confirm Devices pairing rejects and token revokes in-app

Reject device pairing, reject node pairing, and revoke device token asked for
confirmation through native window.confirm from the shared Nodes operations
module. Embedded webviews without a dialog bridge return false for that call,
so all three actions ended with no dialog, no request, and no recorded reason.

Move the confirmations to DevicesPage, the visual owner, onto the canonical
showConfirmDialog helper already used for inventory removal, and give the copy
real i18n keys. The shared operations module now presents no UI at all.

* test(ui): drive the revoke confirmation through the in-app dialog

device-token-reconnect drove the revoke prompt through Playwright's native
dialog event, which no longer fires now that the page owns the confirmation.
2026-08-09 21:13:19 -03:00
..