[Feature] Moving around files in the webinterface #5271

Open
opened 2025-11-02 06:19:49 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @UnlimitedCookies on GitHub (Apr 20, 2020).

Hi! It would be awesome if we could move around files and folder from within the web interface. This would be even better with drag and drop support.

This is a good feature for people that are not familiar in working with git software and prefer to use the web interface for such operations.
Please let me know what you think about this request.

Originally created by @UnlimitedCookies on GitHub (Apr 20, 2020). Hi! It would be awesome if we could move around files and folder from within the web interface. This would be even better with drag and drop support. This is a good feature for people that are not familiar in working with git software and prefer to use the web interface for such operations. Please let me know what you think about this request.
GiteaMirror added the topic/uitype/featureissue/confirmed labels 2025-11-02 06:19:49 -06:00
Author
Owner

@zeripath commented on GitHub (Apr 20, 2020):

You already can move files around. Just edit the file and change its filename - press backspace at the start of the filename input field to remove subdirectories.

@zeripath commented on GitHub (Apr 20, 2020): You already can move files around. Just edit the file and change its filename - press backspace at the start of the filename input field to remove subdirectories.
Author
Owner

@zeripath commented on GitHub (Apr 20, 2020):

I'll keep this open in case I've misunderstood what you were asking for though and for the drag-n-drop feature

@zeripath commented on GitHub (Apr 20, 2020): I'll keep this open in case I've misunderstood what you were asking for though and for the drag-n-drop feature
Author
Owner

@UnlimitedCookies commented on GitHub (Apr 20, 2020):

@zeripath You're right about that. But unfortunately this only applies to text files that are editable with the web interface editor.
Binaries or images cannot be moved with the web interface.
And drag-n-drop would of course be a nice to have feature.

(And it's not that intuitive that you have to edit the file to move it somewhere else. Also, I think for gitea newbies it's also not apparent that you have to press backspace to move directory upwards. - We should discuss how to implement this in a better way.)

@UnlimitedCookies commented on GitHub (Apr 20, 2020): @zeripath You're right about that. But unfortunately this only applies to text files that are editable with the web interface editor. Binaries or images cannot be moved with the web interface. And drag-n-drop would of course be a nice to have feature. (And it's not that intuitive that you have to edit the file to move it somewhere else. Also, I think for gitea newbies it's also not apparent that you have to press backspace to move directory upwards. - We should discuss how to implement this in a better way.)
Author
Owner

@UnlimitedCookies commented on GitHub (Aug 29, 2020):

The following bullet points are still open (refer my answer above):

  • Only files that can be edited with the gitea text editor are moveable from within the web interface
  • Moving is done by pressing backspace (not apparent/beginner-friendly)
  • Drag and Drop would be pretty nice
@UnlimitedCookies commented on GitHub (Aug 29, 2020): The following bullet points are still open (refer my answer above): - Only files that can be edited with the gitea text editor are moveable from within the web interface - Moving is done by pressing backspace (not apparent/beginner-friendly) - Drag and Drop would be pretty nice
Author
Owner

@xuanswe commented on GitHub (Apr 27, 2023):

I write books, docs, blogs using markdown with the help of tools like Docusaurus.
For these repositories, I prefer to use gitea web ui to edit markdown files directly.
This way is so portable and convenient for the purpose above.
I don't need to work on my PC, don't need to open an IDE or text editor.
I can preview then the integrated CI tool can deploy the project immediately.

However, moving multiple files and folders is painful for this type of projects.
It would be nice to have a simple but user-friendly web ui to move multiple files and folders quickly.

Also, I think renaming a folder is also useful too. But I think, it's similar to moving all child files/folders to a new folder.

@xuanswe commented on GitHub (Apr 27, 2023): I write books, docs, blogs using markdown with the help of tools like Docusaurus. For these repositories, I prefer to use gitea web ui to edit markdown files directly. This way is so portable and convenient for the purpose above. I don't need to work on my PC, don't need to open an IDE or text editor. I can preview then the integrated CI tool can deploy the project immediately. However, moving multiple files and folders is painful for this type of projects. It would be nice to have a simple but user-friendly web ui to move multiple files and folders quickly. Also, I think renaming a folder is also useful too. But I think, it's similar to moving all child files/folders to a new folder.
Author
Owner

@davama commented on GitHub (Aug 16, 2023):

You already can move files around. Just edit the file and change its filename - press backspace at the start of the filename input field to remove subdirectories.

this is not the case for non-text files.

yes, drag and drop would be a nice have. or at least ability to edit the filename/path seperately

@davama commented on GitHub (Aug 16, 2023): > You already can move files around. Just edit the file and change its filename - press backspace at the start of the filename input field to remove subdirectories. this is not the case for non-text files. yes, drag and drop would be a nice have. or at least ability to edit the filename/path seperately
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5271