-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Edit File button during PR review #23848
Comments
I think there was some recent work on this. |
We should have a new mode for changed files review, that is `all changed files will be loaded in the left tree and the right place will only show the chosed file. So that only one file will be displayed in the right panel. Then when click edit button, we can replace the whole patch for this file as an edit box. |
Actually I think I'm wrong, there was no recent work. I misread the request 😉 |
Closes #1894. Gitea issue: go-gitea/gitea#23848
Closes #1894. Gitea issue: go-gitea/gitea#23848 (cherry picked from commit 79c7516) (cherry picked from commit 58c76aa) (cherry picked from commit 5bdb3c6) (cherry picked from commit 94e954c)
Closes go-gitea#1894. Gitea issue: go-gitea#23848 (cherry picked from commit 79c75164ca70937261b1d9a68420ebfdbdcfa4d4) (cherry picked from commit 58c76aad8f624d7701e3fa6c12264328962cdf58) (cherry picked from commit 5bdb3c6c53527da23ba76a8289ca6a81c6fcecdf) (cherry picked from commit 94e954ce2248f14082f0c3071cc076c118c4a791) (cherry picked from commit 1388e7c7bef7a34018b993c24b34e053849eb93a) (cherry picked from commit 6a234abff532bfc8806e0cccf8c2d1d8c3e90c24)
…ion (#29697) Resolve #23848 This PR put an edit file button on pull request files to allow a quick edit for a file. After the edit finished, it will return back to the viewed file position on pull request files tab. It also use a branch view file link instead of commit link when it's a non-commit pull request files view. <img width="1532" alt="image" src="https://github.com/go-gitea/gitea/assets/81045/3637ca4c-89d5-4621-847b-79702a44f617"> --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: silverwind <me@silverwind.io>
Feature Description
We love using Gitea and it would be great that if we could edit files during pull request reviews. As a reviewer I go to "Files Changed" tab on a pull request, and it would be great if there is a button called "Edit File" next to "View File" button. Upon clicking on it could be either;
This would save time on fixing small typos etc encountered rather than going back and forth between people or pulling the entire branch, changing and pushing :)
Screenshots
No response
The text was updated successfully, but these errors were encountered: