forgejo/services/convert
Bram Hagens 50f55f11c4
Show whether a PR is WIP inside popups (#28975)
Fixes https://codeberg.org/forgejo/forgejo/issues/2257

Draft status of a PR is currently not exposed by the API. This PR adds a
'draft' field to pull requests in the API, which is used to correctly
set the PR color/icon in a ContextPopup.

---

Before:

![image](https://github.com/go-gitea/gitea/assets/5541521/72cbd30e-1175-4338-aa97-ac99c46c5118)

After:

![image](https://github.com/go-gitea/gitea/assets/5541521/111c9eba-460e-4d57-bcca-23a151c3a4f1)
2024-02-04 22:37:45 +00:00
..
activity.go
attachment.go
convert.go Add branch protection setting for ignoring stale approvals (#28498) 2024-01-15 07:20:01 +00:00
git_commit.go
git_commit_test.go
issue.go Show whether a PR is WIP inside popups (#28975) 2024-02-04 22:37:45 +00:00
issue_comment.go
issue_test.go
main_test.go
mirror.go
notification.go
package.go
pull.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
pull_review.go Fix convert.ToTeams on empty input (#28426) 2024-01-11 22:12:08 +00:00
pull_test.go
release.go
release_test.go
repository.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
secret.go
status.go
user.go
user_test.go
utils.go
utils_test.go
wiki.go Fix an actions schedule bug (#28942) 2024-01-31 14:55:12 +00:00