Skip to content

repo.pulls.open_unmerged_pull_exists should provide a link to the related PR #33800

@jpcaruana

Description

@jpcaruana

Description

When testing gitea, we opened a first PR (#6) on a branch, closed the PR #6, opened a new PR (#8) on the same branch.

When we tried to reopen the previous PR #6, an helpful error message was displayed (related to translation key repo.pulls.open_unmerged_pull_exists:

You cannot perform a reopen operation because there is a pending pull request (#8) with identical properties.

It would be great if this message provides a link to the related PR (#8 in my case)

Screenshots

Image

Gitea Version

1.23.4

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

No response

Browser Version

All

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/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