django-cms / django-filer

File and Image Management Application for django
https://django-filer.readthedocs.io/
Other
1.76k stars 577 forks source link

Dragging Folders into Folders in Admin does not work #1403

Closed alexgustafson closed 10 months ago

alexgustafson commented 1 year ago

When a user tries to move a folder into another folder the UI suggests that it would be possible but nothing happens after the drag event. No request is sent to the sever.

I am aware of the "Move files and/or folders" button in the admin, that is working fine. I think the drag and drop functionality should work for folder as well, or the UI should indicate that this is not possible.

Am I missing some configuration option? or is this a bug?

I am using the following:

Django==4.1.7 django-cms==3.11.3 django-filter==3.0.3

fsbraun commented 1 year ago

Potentially a bug...

jrief commented 1 year ago

I'm currently rewriting django-filer in order to get rid of all that legacy JavaScript code. Nobody is able to maintain that code without major headaches. I wrote a proposal some time ago.

Instead I use TypeScript with React using the DnD-Kit. The folder view then will behave more like we know it from Windows Explorer or Mac's Finder. Please wait a few weeks until I have a presentable prototype.

If you want to help, please provide icons in SVG. Filer currently uses small-n-flat icons. If you know of a more complete library, please let me know. Otherwise, I would need an icon for a non-empty folder. Maybe someone can create a folder icon using the provided folder and add some stuff to make it look filled.

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 10 months ago

This will now be closed due to inactivity, but feel free to reopen it.

jrief commented 10 months ago

@alexgustafson the working draft of the new django-filer implements this feature. Please check here for details: https://github.com/django-cms/django-filer/blob/poc-finder/README-Finder.md