Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag and Drop #4

Open
serdargkaya opened this issue May 15, 2017 · 4 comments
Open

Drag and Drop #4

serdargkaya opened this issue May 15, 2017 · 4 comments

Comments

@serdargkaya
Copy link

Hi matt.
Do you consider to add drag-drop functionality for moving nodes ?

@matthiask
Copy link
Member

We could copy the code from feincms/django-mptt ( http://django-mptt.readthedocs.io/en/latest/admin.html#mptt-admin-draggablempttadmin ). It is certainly more fancy, but I'm not sure (anymore) it's more useable. What do you think?

@serdargkaya
Copy link
Author

i think it's nice feature to have. I don't think we need extra steps to move the pages.

@matthiask
Copy link
Member

Regarding #13 (comment)

I'd like to be convinced that there is a way to build a user friendly drag-drop solution for moving pages also with trees of hundreds of pages. The current way is admittedly cumbersome but I sort of like the obviousness of it all.

Not completely sure about jstree though -- does it work with the changelist table? Or would the reordering of pages be moved to a different page too?

@serdargkaya
Copy link
Author

Session aware collapsible(only query uncollapsed nodes) menu items and drag&drop seems good to me. Just collapse the node and move. This process can speed up the changelist i think. We don't have to use jstree or alike. we can use just vanilla js. And we should add this feature to django-tree-queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants