Describe the bug
When deleting a study/project item, the second study on the right will slide under your cursor, and since the project item edit mode is activated on this second item, you are one click away from deleting this second item. Video explains it better.
To Reproduce
Steps to reproduce the behavior:
Create multiple studies in a project
Press the tripple dots and delete the left-most project
Observe that the project to the right is now under your cursor and if you click, you'll hit the delete button again, deleting the second project.
Expected behavior
After deleting a project item, the project item 'edit mode' is reset so you won't accidentally delete a second item.
PLEASE NOTE THAT deleting a project doesn't ask for confirmation still and I consider this high-risk myself.
I know we want to archive projects, not delete them (with exceptions) but in the mean time I would advocate to add the dialog unless the archive feature is implemented within this release.
Describe the bug When deleting a study/project item, the second study on the right will slide under your cursor, and since the project item edit mode is activated on this second item, you are one click away from deleting this second item. Video explains it better.
To Reproduce Steps to reproduce the behavior:
Expected behavior After deleting a project item, the project item 'edit mode' is reset so you won't accidentally delete a second item.
PLEASE NOTE THAT deleting a project doesn't ask for confirmation still and I consider this high-risk myself. I know we want to archive projects, not delete them (with exceptions) but in the mean time I would advocate to add the dialog unless the archive feature is implemented within this release.
Screenshots https://github.com/user-attachments/assets/dc8ea0d1-7d18-4bdf-a9e9-fc55ffd98a81