earlSt1 / vtt-compendium-folders

Collapsable folders in the compendium directory and folder structures inside compendiums for FoundryVTT
21 stars 18 forks source link

Allow option to drag folder in the sidebar to root instead of using dialog #102

Open diannetea opened 2 years ago

diannetea commented 2 years ago

Describe the bug I accidentally dragged a compendium folder inside of another folder, and I now cannot move it back to the top folder level, only between other folders.

To Reproduce Steps to reproduce the behavior:

  1. Create a test folder in the Compendium Tab
  2. Drag inside of another folder
  3. Try to drag outside of folder and fail :(

Expected behavior It should drag back into a top level folder.

Information

About Time v1.0.4
Compendium Folders v2.3.52
Dynamic effects using Active Effects v0.8.44
Simple Calendar vv1.3.28
Item Macro v1.5.5
libWrapper v1.8.0.0
Midi QOL v0.8.45
socketlib v1.0.8
Tidy UI - Game Settings v0.1.24
times-up v0.8.12

diannetea commented 2 years ago

Oh I'm blind and did not see the move folder option in the dropdown. That said it would still be nice if it was draggable out.

earlSt1 commented 2 years ago

Hi, currently the only way to move a folder back to the root is to use that move dialog that you discovered. This has been how the module works for a few months now, but I can look into introducing a drag/drop ability to the root directory in the future.