mirror of
1
Fork 0
forgejo/routers
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
2022-04-26 23:40:01 +01:00
..
api Improve dashboard's repo list performance (#18963) 2022-04-26 16:34:30 -04:00
common Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
install Skip frontend ROOT_URL check on installation page, remove unnecessary global var (#19291) 2022-04-01 16:00:26 +08:00
private Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2022-04-01 10:55:30 +08:00
utils A better go code formatter, and now `make fmt` can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web Add commit status popup to issuelist (#19375) 2022-04-26 23:40:01 +01:00
init.go Use queue instead of memory queue in webhook send service (#19390) 2022-04-25 20:03:01 +02:00