Edit File button during PR review #10574

Closed
opened 2025-11-02 09:11:38 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @codetorex on GitHub (Mar 31, 2023).

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;

  • Convert file view in current page (Files Changed tab) to editable one similar to commenting and it will create a commit with changes upon save
  • Show a popup that has editable file in it and that will create a commit with file changes
  • Go to existing edit file page in the source branch of the PR where saving the file will create a commit

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

Originally created by @codetorex on GitHub (Mar 31, 2023). ### 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; * Convert file view in current page (Files Changed tab) to editable one similar to commenting and it will create a commit with changes upon save * Show a popup that has editable file in it and that will create a commit with file changes * Go to existing edit file page in the source branch of the PR where saving the file will create a commit 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_
GiteaMirror added the topic/prtype/proposaltype/feature labels 2025-11-02 09:11:38 -06:00
Author
Owner

@silverwind commented on GitHub (May 12, 2023):

I think there was some recent work on this.

@silverwind commented on GitHub (May 12, 2023): I think there was some recent work on this.
Author
Owner

@lunny commented on GitHub (May 12, 2023):

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.

@lunny commented on GitHub (May 12, 2023): 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.
Author
Owner

@silverwind commented on GitHub (May 12, 2023):

Actually I think I'm wrong, there was no recent work. I misread the request 😉

@silverwind commented on GitHub (May 12, 2023): Actually I think I'm wrong, there was no recent work. I misread the request 😉
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10574