Gitea: Store potential pull request numbers on issue

Created on 28 Jan 2020  路  3Comments  路  Source: go-gitea/gitea

Once a pull request claim it will fix some issues, then these issues could save them and display them on issues list and issue view page.

kinproposal

Most helpful comment

It's only a display thing, as the information is already there. To get the info, we just need to get the issues' comments whose RefAction is XRefActionCloses (or XRefActionReopen, eventually). We need to be careful as there might be more than one PR claiming to close an issue, but other than that the info is there.

All 3 comments

It's only a display thing, as the information is already there. To get the info, we just need to get the issues' comments whose RefAction is XRefActionCloses (or XRefActionReopen, eventually). We need to be careful as there might be more than one PR claiming to close an issue, but other than that the info is there.

Is this proposal somewhat similar to this GitHub feature (with maybe different UI, of course)?

image

That would be great!

@guillep2k We could chose the first open pull request as a beginning. Show more than 1 pull links on pull request list page is more complicated on UI.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lunny picture lunny  路  3Comments

ghost picture ghost  路  3Comments

kifirkin picture kifirkin  路  3Comments

lunny picture lunny  路  3Comments

thehowl picture thehowl  路  3Comments