From ebcb20d4e5dfb88b94aa64f5bdfe64fb71a2037a Mon Sep 17 00:00:00 2001 From: Colin Diesh Date: Tue, 26 Nov 2024 22:57:27 -0500 Subject: [PATCH] Add mate.name to LGVSyntenyDisplay feature mouseovers (#4693) --- .../src/LGVSyntenyDisplay/configSchemaF.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/linear-comparative-view/src/LGVSyntenyDisplay/configSchemaF.ts b/plugins/linear-comparative-view/src/LGVSyntenyDisplay/configSchemaF.ts index d149574b0c..c9765946eb 100644 --- a/plugins/linear-comparative-view/src/LGVSyntenyDisplay/configSchemaF.ts +++ b/plugins/linear-comparative-view/src/LGVSyntenyDisplay/configSchemaF.ts @@ -11,7 +11,13 @@ import type PluginManager from '@jbrowse/core/PluginManager' function configSchemaF(pluginManager: PluginManager) { return ConfigurationSchema( 'LGVSyntenyDisplay', - {}, + { + mouseover: { + type: 'string', + defaultValue: + 'jexl:(get(feature,"name")||"")+ "
" + (get(feature,"mate").name||"")', + }, + }, { /** * #baseConfiguration