If I open a file in one vocabulary, then go to another vocabulary and open a file there, term selector offers me terms from both vocabularies.
The problem is in twofold:
Reducer does not clear annotatorTerms on fetch of new ones
ResourceFileDetail uses stale redux state (state.selectedFile) to resolve text analysis records, resource detail and other critical data.
Severity
It is not a critical problem because annotator is able to load relevant terms eventually, but it does so by loading terms one by one, which is highly inefficient
Description
If I open a file in one vocabulary, then go to another vocabulary and open a file there, term selector offers me terms from both vocabularies.
The problem is in twofold:
annotatorTerms
on fetch of new onesResourceFileDetail
uses stale redux state (state.selectedFile
) to resolve text analysis records, resource detail and other critical data.Severity
It is not a critical problem because annotator is able to load relevant terms eventually, but it does so by loading terms one by one, which is highly inefficient