Drag & Drop

CanDB version 2.0 introduces limited “drag and drop” from the CanNavigator tree. Specifically, you can drag an item from one brewery to another, make a given item become a variation under another item, or drag a variation into a base item. While need for this is rare when manually entering information, when importing from File or Canventory it may be necessary to shift some information around, and much easier to use the mouse to drag and drop to new location than manually moving files on disk.

As mentioned, this is limited, and drag/drop will be disabled if:

·         You attempt to drag a project or brewery, item only

·         If the given item has one or more variations

·         Attempt to drop from one project into a different project

Also, it is NOT possible to drop an item into a specific location within a given brewery. CanDB keeps all items under a given brewery sorted by the reference integer number. So, if the brewery already contains items with references 10, 20, and 30, and you drop in an item that already has a reference number 25, the drop will take place between items 20 and 30. If there is a conflict with matching reference numbers, the dropped item will get either a lower or higher reference number automatically adjusted. If there is a conflict with items names, the dropped item will automatically have its name adjusted.

Also note, if you drop an item onto an existing item, THE DROPPED ITEM BECOMES A VARIATION of the target. If you want to drop an item into the list of items for a given brewery, DROP THE ITEM ON THE BREWERY row in the tree. With just a bit of trial and error I hope the above behavior becomes obvious. CanDB will automatically re-number or re-name a dropped item if there are any conflicts with existing data.