When the agent is running and making changes, the review is poped in real-time with the modification tab (that includes undo-all and keep-all buttons), which is helpful. I usually use it to roll down to the next change to review the changes. However, the tab length is changing when the agent adds more changes. Thus, I have accidentally clicked the undo-all multiple times and have to restore them by myself or let the agent run again. Maybe it would be helpful to add a confirmation after user click the undo-all and keep-all? Or separate the roll up and down button with the undo&keep buttion.
yea just chiming in here that the keep all and undo all button should never appear in place of each other… it’s happening also when the agent is done working, and i review the files.
the component sometimes gets shorter, i think when you’ve reviewed more then one file, and then the last one the file toggle disappears (1/2 files). when it disappears, the layout shifts.
just happened to me as well, pressed undo all while going for the chatbox to type a prompt, there should be at least some kind of protection, either a confirmation popup or a way to get go back
has anyone found a workaround for this? i’ve hit undo-all by accident when the tab shifted under my cursor mid-review. a confirmation dialog or even just moving the button further from the scroll area would help.
I just did same, and then i asked cursor prompt “I accidentally undoed all in cursor prompt, whatever you did, i lost it all” and guess what, cursor returned all the work correctly in next prompt
Please fix this UI, it’s way too easy to click UNDO ALL, what a crazy UI. Causing massive backtracking and token use. How can this be released? Any the suggestion that we should slow down and wait is totally at odds with the reason we sue tools like Cursor.
I agree I sometimes fear I am gonna undo all. It appears to be less of a problem when the undo/keep buttons are in the breadcrumb bar instead of overlayed. When in the breadcrumb bar they are right aligned so, the button positions never change.
If you are not seeing that, then you may need to click the double arrows in top right to leave editor classic layout
and also make sure breadcrumbs are enabled (default)
If you prefer the overlay look then there probably is not going to be a good solution because they are centered, so when the button group’s width is reduced the undo button appears to move around.
I accidentally clicked Undo All and lost all of my work. Ctrl+Z didn’t help either because multiple file changes didn’t appear, so I had to take some more time to complete the same task.
I heard there will be a checkpoint, but I’m not sure how to access it and revert to previous