Add additional label colours (from pull by JamesLavin), Add Assigned & Requested By text fields.

This commit is contained in:
RJevnikar 2018-06-05 20:23:29 +00:00
parent d6eff2a074
commit 3ce3fa74b3
49 changed files with 155 additions and 19829 deletions

View file

@ -66,6 +66,14 @@ Cards.attachSchema(new SimpleSchema({
type: String,
optional: true,
},
requestedBy: {
type: String,
optional: true
},
assignedBy: {
type: String,
optional: true
},
labelIds: {
type: [String],
optional: true,
@ -268,6 +276,14 @@ Cards.mutations({
return {$set: {description}};
},
setRequestedBy(requestedBy) {
return {$set: {requestedBy}};
},
setAssignedBy(assignedBy) {
return {$set: {assignedBy}};
},
move(swimlaneId, listId, sortIndex) {
const list = Lists.findOne(listId);
const mutatedFields = {