On 8/31/07, Robin Elfrink elfrink@introweb.nl wrote:
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
Hmm, drag and drop?
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?
Continue! ;-)
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.
Maybe a "blank" spot?
I am thinking, we could also use "arrows" to move up and down in a folder tree?
Anyway, good work. :-)
Till _______________________________________________ List info: http://lists.roundcube.net/dev/