There was an issue when loading new annotations from a pipeline or other that would cause it to not render properly. This would also then cause errors when modifying annotations by deleting or other actions.
This can be replicated by loading up dataset with multiple revisions and jumping between revisions in the web version and watching the console. After the errors some undefined behavior occurs like being unable to delete items as well as making it so jumping to other revisions doesn't always update data.
The root cause was the LayerManager.vue attempting to graph trackIds that didn't exist anymore.
The loop for watching the frame and getting the tracks that intersect with the current frame would be done outside of other loops and could cause an instance when data is reloaded that it would attempt to grab tracks that don't exists.
Swapping the trackStore.get to a trackStore.getPossible allows it to properly return undefined instead of throwing an error when a trackId isn't found
Noticed an issue with using the revision history and returning to the main data. I've updated it to use the same function with an undefined Revision Id that way it would properly reload the annotations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves #1542