Open Ana06 opened 6 years ago
I would make it so that one can double click on the package name column on the package show page. That would change the field to an input box and then a user can rename it.
The package view_file page would also be an option. But for some files, eg. archives, we currently provide such a view. We could change that of course but then we would have a pretty empty view file page for archives and alike. And using the view file page for file renaming would require much more clicks.
This probably needs first support in the backend, otherwise we have to do the same in the frontend "behind the scenes" (delete and recreate file). @mlschroe @adrianschroeter is this something we could support in the backend?
GitHub btw does it on the file edit page and I like this approach.
I think it is currently not possible to rename a file. You have to remove it and create it again with another name. It would be nice to be able to allow to rename the file instead.
I am not sure where this should be added, in the package/view_file page? :thinking: