Closed wmcclin closed 1 year ago
This is a tricky one. SeaSketch needs to send an accurate updatedAt date when requesting new reports so that the stale caches are avoided. This means keeping the collection metadata up to date when child sketches are modified. I've handled this correctly when a user edits a sketch that is part of a collection, but there are a whole lot of other cases to handle.
That's a lot to cover. Working on this now.
This needs more testing but this morning I created a network with 5 shapes, ran a report, then added another shape and re-ran the report. The size report didn't appear to update with the additional shape. I then changed the name of the collection (adding "v2) and the size report updated.
Collection added to Admin forum.