tooltips #7551
Replies: 3 comments 1 reply
-
Hi @alexhoffenreich ! Possibly. I want to make sure I understand properly, though. What do you mean by tooltips? Could you provide an image? Not sure if this is what you're looking for, but if you hold down the Screen.Recording.2024-03-07.at.2.31.29.PM.mov |
Beta Was this translation helpful? Give feedback.
-
@alexhoffenreich Currently for tree items we show the object path, as you saw above. This is setup here: https://github.com/nasa/openmct/blob/master/src/ui/components/ObjectLabel.vue#L164-L167 The only way to do the notes instead, would be to modify that code like so: showToolTip() {
const { BELOW } = this.openmct.tooltips.TOOLTIP_LOCATIONS;
if (this.domainObject.notes) {
this.buildToolTip(this.domainObject.notes, BELOW, 'objectLabel');
}
} We don't currently have a way to customize that, but if you're ok modifying the code, that's one way to do it. Tool times aren't very customizable at this point. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to add custom tooltips to telemetry point?
Beta Was this translation helpful? Give feedback.
All reactions