Bug #104330
openEpic #83669: Improve file list / file browser
Missing file replacement option in tiles context menu
0%
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
Updated by Garvin Hicking 5 months ago
- 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 😅
Updated by Gerrit Code Review 5 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85155
Updated by Garvin Hicking 5 months ago
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.