Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@BryonLewis
Copy link
Collaborator

@BryonLewis BryonLewis commented Nov 18, 2025

resolves #1542

  • 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.

@BryonLewis BryonLewis requested a review from naglepuff November 18, 2025 14:01
@BryonLewis BryonLewis merged commit afeace2 into main Nov 18, 2025
4 checks passed
@BryonLewis BryonLewis deleted the issue-1542-reload-annotaitons branch November 18, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When Refreshing data new annotations don't appear

2 participants