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
..
setting Use a struct as test options (#19393) 2 years ago
avatar.go Move user related model into models/user (#17781) 3 years ago
home.go Add commit status popup to issuelist (#19375) 2 years ago
home_test.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
main_test.go Use a struct as test options (#19393) 2 years ago
notification.go Never use /api/v1 from Gitea UI Pages (#19318) 2 years ago
package.go Allow package linking to private repository (#19348) 2 years ago
profile.go Fix global packages enabled avaiable (#19276) 2 years ago
search.go Never use /api/v1 from Gitea UI Pages (#19318) 2 years ago
stop_watch.go Never use /api/v1 from Gitea UI Pages (#19318) 2 years ago
task.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago