Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting a file resets the folder position #5790

Open
gerroon opened this issue Jan 21, 2019 · 3 comments
Open

Deleting a file resets the folder position #5790

gerroon opened this issue Jan 21, 2019 · 3 comments
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/enhancement An improvement of existing functionality

Comments

@gerroon
Copy link

gerroon commented Jan 21, 2019

It seems like after deleting a file in the ui, Gitea sends the user back to the root of the repository instead of the folder where ther file is. Given that the deleted file is in a folder and the user gets to the file via that folder, it would make sense that Gitea will go back to the file's folder instead of the repository's root.

This is an issue if the deleted file is deep in somewhere and the user needs to delete multiple files, it takes a while to achieve this vbia the ui since the user needs to restart the folder travel.

Debian Buster,Gitea Version: 1.7.0-rc3

thanks

@lafriks lafriks added the type/enhancement An improvement of existing functionality label Jan 21, 2019
@stale
Copy link

stale bot commented Mar 22, 2019

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

@stale stale bot added the issue/stale label Mar 22, 2019
@lunny lunny added issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented and removed issue/stale labels Mar 22, 2019
@zeripath
Copy link
Contributor

Hmm, An empty directory doesn't exist in git.

So if you delete the last file in a directory where do you redirect to?

@gerroon
Copy link
Author

gerroon commented Mar 24, 2019

one up instead of the root of the repo? Also this is not necessarily about the last file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

4 participants