1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 05:09:43 +02:00

feat: Add board activity log

This commit is contained in:
Maksim Eltyshev 2025-05-22 23:14:46 +02:00
parent 777ff467f3
commit 86cfd155f2
72 changed files with 833 additions and 169 deletions

View file

@ -115,6 +115,7 @@ module.exports = {
const action = await Action.qm.createOne({
...values,
boardId: values.card.boardId,
cardId: values.card.id,
userId: values.user.id,
});
@ -149,10 +150,7 @@ module.exports = {
values: {
action,
type: action.type,
data: {
...action.data,
card: _.pick(values.card, ['name']),
},
data: action.data,
userId: action.data.user.id,
creatorUser: values.user,
card: values.card,
@ -182,10 +180,7 @@ module.exports = {
userId,
action,
type: action.type,
data: {
...action.data,
card: _.pick(values.card, ['name']),
},
data: action.data,
creatorUser: values.user,
card: values.card,
},