You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
parnic cdab46220d
Add commit status popup to issuelist (#19375)
This gets the necessary data to the issuelist for it to support a clickable commit status icon which pops up the full list of commit statuses related to the commit. It accomplishes this without any additional queries or fetching as the existing codepath was already doing the necessary work but only returning the "last" status. All methods were wrapped to call the least-filtered version of each function in order to maximize code reuse.

Note that I originally left `getLastCommitStatus()` in `pull.go` which called to the new function, but `make lint` complained that it was unused, so I removed it. I would have preferred to keep it, but alas.

The only thing I'd still like to do here is force these popups to happen to the right by default instead of the left. I see that the only other place this is popping up right is on view_list.tmpl, but I can't figure out how/why right now.

Fixes #18810
2 years ago
..
check.go Don't allow merging PR's which are being conflict checked (#19357) 2 years ago
check_test.go Add Goroutine stack inspector to admin/monitor (#19207) 2 years ago
commit_status.go format with gofumpt (#18184) 2 years ago
lfs.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
main_test.go Use a struct as test options (#19393) 2 years ago
merge.go Move milestone to models/issues/ (#19278) 2 years ago
patch.go Set correct PR status on 3way on conflict checking (#19457) 2 years ago
patch_unmerged.go Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
pull.go Add commit status popup to issuelist (#19375) 2 years ago
pull_test.go Append to existing trailers in generated squash commit message (#15980) 3 years ago
review.go Move milestone to models/issues/ (#19278) 2 years ago
temp_repo.go Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
update.go Add config option to disable "Update branch by rebase" (#18745) 2 years ago