How does discard changes work?

Hi,
I was touching with my app and did something wrong and click “discard changes”. I saw that last publish was two hours ago, but the discard seems to go back to days of work.
Anyone can help to enlighten and how to get back my work up the last two hours?

Thanks

This exact thing happened to me today. Just submitted a support ticket, so many hours lost.

Ticket #4072 has a screen recording attached

am following…now i dare not press that button :relaxed:

My support ticket has been escalated

Moving to main thread: Discard Changes discards too many changes