Hi,

I've (re)started some changes in folder management. Goal is to be able
to move a folder to another parent (or top-) folder.

Attached patch shows what I have so far; changing a folder's parent works.

Things to be done:
- Refresh subscription list after moving a folder
- Make newly selected folder selectable
- Optional: Add 'parent' dropdown in new-folder form

I might even need to make sure another separator than '.' can be used,
although I haven't checked the need for that (rfc, docs).

Any comments so far?
Should I continue or go another way?

I tried drag&drop, which worked more or less, except for two things:
- A folder in the top of the list cannot be moved to a folder in the
bottom of the list, if the list is bigger than the table (ie the
scrollbar doesn't move along). Though that can possibly be fixed with a
bit of JS.
- I have no idea what the best dropping place would be if I want to move
a folder to the root of the tree.



Robin




 --- 8< --- detachments --- 8< ---
 The following attachments have been detached and are available for viewing.
  http://detached.gigo.com/rc/Qt/FW489Ms+/parent-folder.200708.patch
 Only click these links if you trust the sender, as well as this message.
 --- 8< --- detachments --- 8< ---

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to