Skip to content

Edit File button during PR review #23848

Closed
@codetorex

Description

@codetorex

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/prIssues related to pull requeststype/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions