Add an avatar for the card creator

* Add avatar to minicard
* Add field to card details
* Add show option in Board / Card Settings
This commit is contained in:
John R. Supplee 2021-04-01 23:40:07 +02:00
parent 926f39c96b
commit 5cc6a2f7d0
14 changed files with 87 additions and 9 deletions

View file

@ -488,6 +488,7 @@ function buildProjection(query) {
modifiedAt: 1,
labelIds: 1,
customFields: 1,
userId: 1,
},
sort: {
boardId: 1,
@ -658,6 +659,9 @@ function findCards(sessionId, query) {
if (card.boardId) boards.push(card.boardId);
if (card.swimlaneId) swimlanes.push(card.swimlaneId);
if (card.listId) lists.push(card.listId);
if (card.userId) {
users.push(card.userId);
}
if (card.members) {
card.members.forEach(userId => {
users.push(userId);