Skip to content

Display assigned user in Kanban board #18326

Closed
@bcallaghan-et

Description

@bcallaghan-et

Feature Description

The Kanban boards within Gitea should display the assigned user on each card. If an issue is unassigned, then this spot should be left blank or perhaps have some indicator that the issue is unassigned. Currently, the card displays the author of the issue, but not the developer working on the issue. My team uses Kanban boards as a task tracker, so it is much more useful to know who is working on the task, not who asked for the task to be done. Trello supports this feature by displaying the avatar (or initials) of the assigned user in the bottom-right corner of the card.

Screenshots

No response

Activity

zeripath

zeripath commented on Jan 18, 2022

@zeripath
Contributor

Hmm... I think it would be useful to see a mock-up of this.


diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl
index 1db52a3d7..c53b03662 100644
--- a/templates/repo/projects/view.tmpl
+++ b/templates/repo/projects/view.tmpl
@@ -228,6 +228,18 @@
 								</a>
 							</div>
 							{{- end }}
+							{{- if .Assignees}}
+							<div class="meta my-2">
+								<div class="text light grey">{{$.i18n.Tr "repo.issues.new.assignees"}}
+								<ul>
+									{{- range .Assignees}}
+										<li><a class="ui assignee tooltip tdn" href="{{.HomeLink}}" data-content="{{.GetDisplayName}}" data-position="left center">
+											{{avatar .}} {{.GetDisplayName}}
+										</a></li>
+									{{- end}}
+								</ul></div>
+							</div>
+							{{- end}}
 						</div>
 						{{if .Labels}}
 							<div class="extra content labels-list p-0 pt-2">

Screenshot from 2022-01-18 23-35-37

which doesn't quite work I think.

wxiaoguang

wxiaoguang commented on Jan 19, 2022

@wxiaoguang
Contributor

IIRC there was an old PR for this.

wxiaoguang

wxiaoguang commented on Jan 19, 2022

@wxiaoguang
Contributor
bcallaghan-et

bcallaghan-et commented on Jan 19, 2022

@bcallaghan-et
Author

That PR looks exactly like what I want. I'll close this issue as a duplicate of #15026

locked and limited conversation to collaborators on Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @zeripath@wxiaoguang@bcallaghan-et

      Issue actions

        Display assigned user in Kanban board · Issue #18326 · go-gitea/gitea