mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 22:52:43 +01:00
50f55f11c4
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) |
||
---|---|---|
.. | ||
activity.go | ||
attachment.go | ||
convert.go | ||
git_commit.go | ||
git_commit_test.go | ||
issue.go | ||
issue_comment.go | ||
issue_test.go | ||
main_test.go | ||
mirror.go | ||
notification.go | ||
package.go | ||
pull.go | ||
pull_review.go | ||
pull_test.go | ||
release.go | ||
release_test.go | ||
repository.go | ||
secret.go | ||
status.go | ||
user.go | ||
user_test.go | ||
utils.go | ||
utils_test.go | ||
wiki.go |