Skip to content

Allow to select source and target branch *before* creating diff for the pull request #6900

Open
@otbutz

Description

  • Gitea version (or commit ref): 1.8.0
  • Git version: 2.21.0
  • Operating system: Ubuntu 18.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite

Description

The current behavior of the new pull request page is to immediately populate its content once the selection of either target or source branch is changed.

This is problematic for big repositories with long running support branches. Creating a pull request to fix a bug in our oldstable release would preselect master...master which is perfectly fine but as soon as i change either the target to our oldstable branch or the source to my bugfix branch, the page loads forever because our master and the oldstable branch differ by ~1k commits.

It would be nice if I could select both branches and start the diff only after pressing a button. If the URL in the address bar would change before trying to create the diff, that would also be a solution.

Metadata

Assignees

No one assigned

    Labels

    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