Drag n drop repository from registry to right panel removes it from registry, and without warning!
Steps to reproduce:
- Click on an item (i.e. a repository) in the "Repository Registry" left panel. Hold the mouse button pressed
- Drag it to the right into the top-right panel where the commit history of currently open repository is displayed (if any)
- Drop it there
Expected result:
Two possible outcomes are acceptable: A. Nothing happens (ideally with a "bounce" animation to visualize that the action of dragging has failed): you just cannot drag a repository from the registry to there: it makes no sense. B. Opens the registry. That is, dragging a repository from the registry to the current repository panel would mean to open it. BUT obviously it shouldn't be removed from the registry. Nobody in their right mind would expect that, let alone without a confirmation prompt.
Actual result
The repository is opened AND removed permanently, irreversibly, from the registry without a warning and without asking for confirmation. Boom! Gone forever. Just like that.
This is nonsense. I understand that dragging in UIs often visualizes the act moving, and when you move something from A to B, it is deleted from A to put it into B, but that only makes sense when A and B are "comparable" kinds of places (e.g. two folders in the filesystem), and when the action can be reversed by dragging from B to A. You cannot take the "moving" metaphore literally when opening something. You don't "move" it from the place where it's stored permanently, to an ephimeral, volatile workspace where it is currently open, where it ceases to exist when you close it. Only a psycopath would think like that.