Have annotations work with domain objects that have dots (#7065)

* migrating to new structure - wip

* notebooks work, now to plots and images

* resolve conflicts

* fix search

* add to readme

* spelling

* fix unit test

* add search by view for big search speedup

* spelling

* fix out of order search

* improve reliability of plot tagging tests
This commit is contained in:
Scott Bell
2023-09-21 22:50:08 +02:00
committed by GitHub
parent 05c7a81630
commit 482f1f68dd
19 changed files with 257 additions and 140 deletions

View File

@@ -66,13 +66,14 @@ export function selectEntry({
onAnnotationChange,
notebookAnnotations
}) {
const targetDetails = {};
const keyString = openmct.objects.makeKeyString(domainObject.identifier);
targetDetails[keyString] = {
entryId
};
const targetDomainObjects = {};
targetDomainObjects[keyString] = domainObject;
const targetDetails = [
{
entryId,
keyString
}
];
const targetDomainObjects = [domainObject];
openmct.selection.select(
[
{