I’ve had this at least once a day for the past week and it is driving me nuts. I click apply and the file disappear. If the file is new, i.e. untracked, I literally lose the file and can’t restore it. Currently had to work 40 minutes to restore the component from previous interactions. Have you also experienced this recently?
No, it has already happened at least 4 times, at least once a day for the past few days. It is a next.js project. It all happens extremely fast, I hit apply and then the file is gone.
The file was definitely created by apply from chat. Last time it happened I was iterating over it, i.e. applying a new version and then the moment I hit apply the code was gone. But as I said before, it all happens extremely fast.
@deanrie@rishabhy , I think I have found out what’s going on. I created a component from scratch with chat, meaning that chat created the file for me when I clicked on apply for the first time. I then iterated over it and applied another bit of code. I then hit cmd+z as I wasn’t satisfied with the outcome and, I believe, that instead of showing the diff editor the file got deleted automatically.