Closed simonv3 closed 8 years ago
I talked with Asheesh about the re-numbering. I concluded the same thing you did - it'd be great to reference an annotation and to be sure it remained the same. However, what with the ability to delete annotations, this means keeping track of what the most recent annotation was on an image (to avoid the "create two 7s" problem that this fixed). I'm going to have to think about how to best implement that. I'm not sure whether storing on an annotation will be enough - there might be a race condition if someone quickly adds or deletes two images while waiting for the DB to update, and then you'd still have the "two 7s" problem. Or it might require re-structuring the data in the app (annotations aren't embedded within images at the moment, for no real good reason).