Hi there
I’m trying to sync my understanding for the following actions and their meaning/usecases in order to resolve some nasty edge cases within the powerup which I’m working on atm.
In short
-
moveCardToBoard
These actions are dispatched as webhook to boards who have a card moved in by given
boardSource
, right?we do have in our DB actions with dates earlier than the
moveCardToBoard
action itself which is a little bit confusing to me - how these actions happened within the board before the card has been moved to that board? -
moveCardFromBoard
These actions are dispatched as webhook to boards who have a card moved out to given
boardTarget
, right?we do have in our DB actions with dates later than the
moveCardFromBoard
action itself which is also confusing to my understanding so possibly I’m missing something essential here. How these actions after moveCardFromBoard happened within the board when the card hasn’t been in that board anymore?
What I’m trying to do?
Atm we want to be able to detect when a card has been moved out (or in) a board so that we can run computations within the given board. The problem is that our logic fails miserably because we assume that before (or after)
moveCardToBoard
and moveCardFromBoard
there won’t be other actions (but in reality there seems to be present).
Note that we fetch the actions and sort them by their date
property.
Note2: this works as expected but happens (lately more often) that we get actions with timestamps before (or after) the respective moveCardToBoard
and moveCardFromBoard
actions and it then gets confusing what to do with them :)))
It would be really helpful if you have any insights on the topic and if something isn’t clear I can provide more details & samples.
Thanks,
Boris