You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix deleting and destroying devices in new UI (#2150)
This PR:
- Allows devices to be deleted and destroyed in the new UI
- Update device settings footer when device is soft-deleted
- Rejects update attempts through `Device.changeset/2` when soft-deleted
- New UI tests
- Tests for device API:
- Soft-deleted devices don't show up in `index`
- Soft-deleted devices can be queried for by `identifier`
Solves #2214.
---------
Co-authored-by: Josh Kalderimis <[email protected]>
<buttonclass="flex px-3 py-1.5 gap-2 rounded bg-zinc-800 border border-zinc-600"type="button"phx-click="restore-device"data-confirm="Are you sure you want to restore this device?">
<buttonclass="flex px-3 py-1.5 gap-2 rounded bg-zinc-800 border border-zinc-600"type="button"phx-click="restore-device"data-confirm="Are you sure you want to restore this device?">
0 commit comments