mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Feature: show issue assignee on project board (#15232)
* Show assignees in project boards.
This commit is contained in:
		| @@ -2,8 +2,16 @@ import $ from 'jquery'; | ||||
|  | ||||
| const {csrfToken} = window.config; | ||||
|  | ||||
| function updateIssueCount(cards) { | ||||
|   const parent = cards.parentElement; | ||||
|   const cnt = parent.getElementsByClassName('board-card').length; | ||||
|   parent.getElementsByClassName('board-card-cnt')[0].innerText = cnt; | ||||
| } | ||||
|  | ||||
| function moveIssue({item, from, to, oldIndex}) { | ||||
|   const columnCards = to.getElementsByClassName('board-card'); | ||||
|   updateIssueCount(from); | ||||
|   updateIssueCount(to); | ||||
|  | ||||
|   const columnSorting = { | ||||
|     issues: [...columnCards].map((card, i) => ({ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Roger Luo
					Roger Luo