You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snapshots are currently great for recording standard editing activity (creation modification etc) but it would be useful to be able to create a snapshot for an action that is more of a description rather than a log of events. This is often the case when a user action might trigger several edit/write actions. For example, re-ordering blocks can trigger a number of snapshot entries like Block x Edited but it would be more useful to have a single snapshot that captures the 're-order' action.
I can achieve something like this by creating a DataObject as a 'Log' and manually creating a snapshot with it eg:
Snapshots are currently great for recording standard editing activity (creation modification etc) but it would be useful to be able to create a snapshot for an action that is more of a description rather than a log of events. This is often the case when a user action might trigger several edit/write actions. For example, re-ordering blocks can trigger a number of snapshot entries like
Block x Edited
but it would be more useful to have a single snapshot that captures the 're-order' action.I can achieve something like this by creating a DataObject as a 'Log' and manually creating a snapshot with it eg:
then:
This creates a single snapshot with a message representing the action.
replacing multiple snapshots with a single one can also reduce the performance impact of writing multiple snapshots.
Putting this out there as there are probably other (better) ways to do this? But if it is useful I could make up a PR for the above.
The text was updated successfully, but these errors were encountered: