forgejo/web_src/js
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
..
components Show whether a PR is WIP inside popups (#28975) 2024-02-04 22:37:45 +00:00
features Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
markup Strip trailing newline in markdown code copy (#29019) 2024-02-01 15:01:48 -06:00
modules Polyfill SubmitEvent for PaleMoon (#28441) 2023-12-15 07:26:36 +08:00
render
standalone
test Avoid duplicate JS error messages on UI (#28873) 2024-01-21 14:23:08 +00:00
utils Polyfill SubmitEvent for PaleMoon (#28441) 2023-12-15 07:26:36 +08:00
vendor
webcomponents Polyfill SubmitEvent for PaleMoon (#28441) 2023-12-15 07:26:36 +08:00
bootstrap.js Avoid duplicate JS error messages on UI (#28873) 2024-01-21 14:23:08 +00:00
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) 2024-01-21 14:23:08 +00:00
htmx.js Introduce htmx and use it to avoid full page load on Subscribe and Follow (#28908) 2024-01-30 15:45:54 +01:00
index.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) 2023-10-17 16:10:45 +02:00
jquery.js
svg.js Show whether a PR is WIP inside popups (#28975) 2024-02-04 22:37:45 +00:00
svg.test.js
utils.js
utils.test.js