aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/comp/LabelEdit.ts
Commit message (Collapse)AuthorAgeFilesLines
* Improve project & label color picker and image scroll (#34971)wxiaoguang2025-07-061-1/+1
| | | | Fix #34609 Fix #34967
* Fix modal + form abuse (#34921)wxiaoguang2025-07-011-0/+1
| | | | | | | See the comment. And due to the abuse, there is a regression: when the modal is hidden, the form will be reset and it can't submit. This PR fixes all problems: keep the modal with form open, and add "loading" indicator.
* Fix various problems (#34708)wxiaoguang2025-06-121-1/+2
| | | | | * Fix #34707 * Fix dropdown filter handling * Fix #27014
* Validate hex colors when creating/editing labels (#34623)Kemal Zebari2025-06-071-1/+1
| | | | | | | | Resolves #34618. --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* feat: Add sorting by exclusive labels (issue priority) (#33206)Thomas E Lackey2025-04-101-0/+10
| | | | | | | | | | | | | Fix #2616 This PR adds a new sort option for exclusive labels. For exclusive labels, a new property is exposed called "order", while in the UI options are populated automatically in the `Sort` column (see screenshot below) for each exclusive label scope. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Refactor LabelEdit (#32752)wxiaoguang2024-12-081-76/+61
| | | | | | | | | | | And fix a regression: https://github.com/go-gitea/gitea/pull/30053#discussion_r1874405470 Major changes: * rewrite without jquery * remove the "delete modal", using "link-action" is good enough * merge "new modal" and "edit modal"
* Convert frontend code to typescript (#31559)silverwind2024-07-071-0/+96
None of the frontend js/ts files was touched besides these two commands (edit: no longer true, I touched one file in https://github.com/go-gitea/gitea/pull/31559/commits/61105d0618e285d97e95044bfb64415f364a4526 because of a deprecation that was not showing before the rename). `tsc` currently reports 778 errors, so I have disabled it in CI as planned. Everything appears to work fine.