Open bmblb opened 1 year ago
Listening to taskStore
's update
event + checking if (project.isWritingData)
should catch indirect changes
@emilschutte you implemented something similar for versions feature, do you have any suggestions?
@bmblb the versions feature builds around the STM transactions and it listens directly to those. You could definitely extract the modified fields that way, though I'm not sure whether there's a better way for this use case.
I don't fully understand the problem about "only last action." Would just extracting fields from the latest STM transaction (or some change event) not work? That would include all fields from the most recent user action and all follow-on effects (I think?).
In Gantt, when you modify one task its dependent tasks may also change (move further in time, change duration or percent complete). We need a feature which would temporarily (or until next project recalculation, could be configurable) highlight background for cells corresponding to the changed fields.
We could listen to
update
event which is triggered afterdataReady
. Or we can grab changed records from the samedataReady
events. Only problem is that we need to highlight only fields modified by the last action.