launchiamenterprise / keyrunner

KeyRunner: A secure, codeless VS Code extension for API testing & Designing. Features include data encryption at rest, sensitive data masking, and the innovative Playground for chaining API requests without coding
https://keyrunner.app
MIT License
15 stars 1 forks source link

Collection deleted when selected and mouse dragged to left #61

Closed Mayo-API-Management closed 1 month ago

Mayo-API-Management commented 1 month ago

Describe the bug In the Collection window, if you select the Collection, hold the mouse button down and drag to the left, the Collection is deleted.

To Reproduce Steps to reproduce the behavior:

  1. Go to the Collection window
  2. Select a Collection
  3. As the Collection is selected, hold down the left mouse button
  4. Drag to the left
  5. The Collection is deleted.

Expected behavior At least a warning popup should be displayed, if this behavior is correct.

Screenshots image image

Desktop (please complete the following information):

Additional context Is there a way to recover the deleted collection? This is not a behavior that I am expecting. If the Collection was moved somewhere instead, where is it. I have had to recreate work because this happened inadvertently.

launchiamenterprise commented 1 month ago

@Mayo-API-Management we just tried this scenario, the collection is not actually deleted.

when a collection is dragged out of the collection window, it doesn’t get deleted but may be moved into another collection as a subfolder if the mouse is released within the window. We're working on a fix that will add a popup to confirm the destination folder ensuring the collection is only moved once confirmed. This update will be included in the next minor version.

For now, please search in other collections, and you should be able to find the collection you think was deleted.

While trying this, we also found a minor issue where the search function doesn’t include subcollections. We're fixing that as well. In the meantime, you can manually expand collections to search for it.

Please let us know if you were able to locate the collection!

launchiamenterprise commented 1 month ago

@Mayo-API-Management This is fixed now. Please update to latest (V#1.0.67). Fix : You will get a confirmation popup when moving collections around.