# No delete warning or undos are troublesome

**URL:** <https://community.appfarm.io/t/no-delete-warning-or-undos-are-troublesome/598>\
**Category:** Bug reports\
**Created:** [August 10, 2023, 7:47am UTC](https://community.appfarm.io/t/no-delete-warning-or-undos-are-troublesome/598 "2023-08-10T07:47:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgreodor](https://avatars.discourse-cdn.com/v4/letter/k/5e9695/32.png) [@kgreodor](https://community.appfarm.io/u/kgreodor)\
**Post date:** [August 10, 2023, 7:47am UTC](https://community.appfarm.io/t/no-delete-warning-or-undos-are-troublesome/598/1 "2023-08-10T07:47:14Z")

</div>

Accidently deleted a whole “View” as we were going to “Rename” it, but pressed “Delete”.Steps to recreate:

1. In “Apps”, navigate to “Views”.
2. Right click on a created UI Component in “Views” (for instance a container), to rename it.
3. Notice that below the “Rename” option there is a “Delete” option.
4. Pressing delete removes all content from that container.

If there is not a undo button, there has to be a warning coming up, as the delete button is easily pressed. Another option is to highlight the button in Red or another color when hovering over Delete

---

<div class="post-metadata">

**Author:** ![simon](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/simon/32/127_2.png) [@simon](https://community.appfarm.io/u/simon)\
**Post date:** [August 10, 2023, 8:12am UTC](https://community.appfarm.io/t/no-delete-warning-or-undos-are-troublesome/598/2 "2023-08-10T08:12:06Z")

</div>

A little sneak peek into what we are currently working on, to remove this kind of frustrating incidents in the future.

![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/ee0b589080347e1292611ff03aebd5a3ad621dfa.png)

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [August 10, 2023, 8:37am UTC](https://community.appfarm.io/t/no-delete-warning-or-undos-are-troublesome/598/3 "2023-08-10T08:37:23Z")

</div>

PS: In the deploy menu in Create, you should find automatic snapshots. You may rollback to the latest one if you delete something by mistake. However, you might lose a few minutes of work (and it affects the whole solution and will restore the solution to it’s previous state some minutes ago).

See [this article](https://docs.appfarm.io/reference/operations/deploy#rollback-to-a-snapshot)

---

<div class="post-metadata">

**Author:** ![kgreodor](https://avatars.discourse-cdn.com/v4/letter/k/5e9695/32.png) [@kgreodor](https://community.appfarm.io/u/kgreodor)\
**Post date:** [August 10, 2023, 10:27am UTC](https://community.appfarm.io/t/no-delete-warning-or-undos-are-troublesome/598/4 "2023-08-10T10:27:51Z")

</div>

Wow this looks promising 😃 Looking forward to it!

---

<div class="post-metadata">

**Author:** ![kgreodor](https://avatars.discourse-cdn.com/v4/letter/k/5e9695/32.png) [@kgreodor](https://community.appfarm.io/u/kgreodor)\
**Post date:** [August 10, 2023, 10:29am UTC](https://community.appfarm.io/t/no-delete-warning-or-undos-are-troublesome/598/5 "2023-08-10T10:29:24Z")

</div>

Thanks 😃

This works depending on the severity. For our case we had made a lot of changes before we accidentally deleted the thing. So we had to make a trade off 🤷‍♂️

However, this can be useful in another case. So thanks for the tip 🙂 Manually making snapshots would also probably be smart.
