I'm developing a site that has about 1500 pages in the primary links menu, nested up to 6 levels deep (sounds similar to your use-case?). Your module does help a bit, but attempting to drag a branch containing 10-20 subitems causes the browser to lock up for a while before it starts to move.
Most of the time I have no interest in having the entire tree open all the time, I'm more likely to just want to reorder a small section of it.
Do you have any plans to implement collapsible menu editing with the option to keep all the items closed initially, so I could just open up the parts of the menu I want to work with? Presumably this would also help speed up dragging.
If you're not interested in developing it youself, would you be interested in a patch if I developed it?
Thanks!
Comments
Comment #1
dmitriy.trt commentedI can imagine how slow is to edit whole tree.
I was thinking about this problem. And collapsing feature will not a solution of all problems with huge tree, because drag'n'drop JS is rather slow now, and it will be slower on collapsing big tree of menu items.
Most elegant solution would be an AJAX-powered tree:
This all is not easy to implement and it should provide "no javascript" fallback. If fallback will be a problem or it will be a reason of performance lost, we can use original editor (or tiny version already implemented in this module) as a fallback on additional tab.
Maybe this will be part of 2.x branch, but now I have not enough free time to work on it.
If you would like to implement collapsing for tree editor, it would be great if you post patch here. It can be released in next 1.x version after review and testing. Thanks in advance.
Comment #2
dmitriy.trt commentedThe module is in maintenance only mode, so no new features will be implemented. But patches are welcome, as always.
Comment #3
dman commentedFYI cross-reference as I see this (old) request come up in the tracker today.
http://drupal.org/project/bigmenu addresses the AJAXified, collapsible tree management for big menu structures. D6/7
Comment #4
dmitriy.trt commentedThanks, dman. Link to the Big Menu module is now on the project page.