Bug #104330
open
Epic #83669: Improve file list / file browser
Missing file replacement option in tiles context menu
Added by Henrik Elsner 5 months ago.
Updated 5 months ago.
Category:
Backend User Interface
Description
I don't know if this is a active decision or a bug, but in the tiles view of the filelist the option to replace a file is missing.
In the list view it does exist.
I could not properly find the place where this is handled, so maybe you can give me a hint and i'll try to patch it. (in case this is not on purpose and actual a bug)
Files
- Category set to Backend User Interface
I doubt it's by intent. I'll check where this happens and will either fix it if its easy, or tell you 😅
- Parent task set to #83669
- Status changed from New to Under Review
Good news: I found all the files this is performed in. I could also add a new menu item quite easily. I provided a patch for it.
Bad news: It's sadly not a bug, but a missing feature. The new context menu uses shiny web components and JavaScript inline modals. The "old" list view still uses a controller+fluid view (typo3/sysext/filelist/Classes/FileList.php
). Porting this "old style" to "new style" is a bit trickier; especially because a file upload needs to be handled.
It should all be possible, but is definitely some work, that I personally can't offer to take on for now. Maybe you'd be interested? I think it would be much appreciated to have this with a "new and shiny" interface, too. Maybe the patch can help you for that, I already created some stubs in the patch attached to this ticket.
Also available in: Atom
PDF