Files
teleport/rfd/assets/0217-feature-lock-bot.png
Nick MaraisandRafał Cieślak bbb0f46b22 feat(web): Add lock, unlock and delete to bot details (#57864)
* Update RFD-0217 and mark as "implemented"

* Integrate locking for bots

* Add abort signal to API `delete()` - backwards compatible

* Add deleting action to bot details

* Replace deleting dialog on bots list

* Refactor edit bot to use variables/about signal signature (better for useMutation)

* Fix heading styles on panels

* Export 'medium' font weight

* Allow escape key to close lock/unlock dialogs

* Optimize images for RFD 217

* Replace `fireEvent` with `userEvent`

* Add eslint exceptions for using `HTMLElement.closest()`

* Add type to `useRef`

* Add `api.deleteWithOptions()` and deprecate `api.delete*()`

* Remove unnecessary jsdoc `@returns`

* Fix swallowing errors in callbacks

* Avoid extra element for spacing delete dialog buttons

* Space dialog buttons with flex gap instead of margin

* Move delete completion delay closer to mutation

* Fix bots list tests after delete delay change

* Return in `catch`

* Use whole-file eslint exception for `testing-library/no-node-access`

---------

Co-authored-by: Rafał Cieślak <[email protected]>
2025-08-22 14:42:20 +00:00

44 KiB
2102x1248px