Trrack / trrackjs

A library for history/provenance tracking in web-based visualizations.
https://apps.vdl.sci.utah.edu/trrack
BSD 3-Clause "New" or "Revised" License
17 stars 7 forks source link

Add screenshot functionality for long-term provenance #63

Open NateLanza opened 3 months ago

NateLanza commented 3 months ago

This should be a function that takes a DOM node to screenshot and arguments related to when to screenshot. A config should be provided to choose which actions trigger screenshots. Either default include all or exclude all and provide a list of action keys which are exceptions to the overall rule. Once ephemeral nodes are added, they should not be included in the count before next screenshot.

NateLanza commented 3 months ago

To discuss: are we OK with only png screenshots or do we need jpeg and webp support? Png will work on all browsers for sure, jpeg and webp aren't guaranteed to have browser support. For now I'm going with only png.