# Is Auspice hover-over information display configurable?

**URL:** <https://nextstrain.discourse.group/t/is-auspice-hover-over-information-display-configurable/1490>\
**Category:** General\
**Created:** [November 16, 2023, 1:12pm UTC](https://nextstrain.discourse.group/t/is-auspice-hover-over-information-display-configurable/1490 "2023-11-16T13:12:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![antongray](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@antongray](https://nextstrain.discourse.group/u/antongray)\
**Post date:** [November 16, 2023, 1:12pm UTC](https://nextstrain.discourse.group/t/is-auspice-hover-over-information-display-configurable/1490/1 "2023-11-16T13:12:41Z")

</div>

In using Auspice, it seems that the hover over information changes based on color (and maybe filter) selections. For example, if I color the leaves by an amino acid change, I no longer see the pango lineage or clade in the popup. Does this happen with other users, and is the behavior manageable / configurable?

---

<div class="post-metadata">

**Author:** ![joverlee](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@joverlee](https://nextstrain.discourse.group/u/joverlee)\
**Post date:** [November 16, 2023, 6:39pm UTC](https://nextstrain.discourse.group/t/is-auspice-hover-over-information-display-configurable/1490/2 "2023-11-16T18:39:54Z")

</div>

Hi @antongray,

This is currently the expected behavior for Auspice. The hover panel fields are hard-coded and one them points to the [current color-by](https://github.com/nextstrain/auspice/blob/bf417ec4b5b6beedec620697b32431ead610c164/src/components/tree/infoPanels/hover.js#L416).

The hover fields are currently not configurable, but I think that’s mostly due to us not having a use case for it. I think it can be added as a new feature, but maybe @james has more insight here.

---

<div class="post-metadata">

**Author:** ![james](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/james/32/11_2.png) [@james](https://nextstrain.discourse.group/u/james)\
**Post date:** [November 16, 2023, 7:42pm UTC](https://nextstrain.discourse.group/t/is-auspice-hover-over-information-display-configurable/1490/3 "2023-11-16T19:42:45Z")

</div>

If you click on the leaf you’ll see all the available information (shift-click for branches, otherwise you’ll zoom the tree!). We chose this behaviour to keep the node-hover boxes a manageable size.

---

<div class="post-metadata">

**Author:** ![corneliusroemer](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/corneliusroemer/32/175_2.png) [@corneliusroemer](https://nextstrain.discourse.group/u/corneliusroemer)\
**Post date:** [November 17, 2023, 7:03am UTC](https://nextstrain.discourse.group/t/is-auspice-hover-over-information-display-configurable/1490/4 "2023-11-17T07:03:55Z")

</div>

I’ve thought of wanting that feature in the past, so @antongray is not alone here 🙂

Would be great to be able to customize more than one hover over information!

---

<div class="post-metadata">

**Author:** ![victorlin](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/victorlin/32/306_2.png) [@victorlin](https://nextstrain.discourse.group/u/victorlin)\
**Post date:** [November 17, 2023, 6:27pm UTC](https://nextstrain.discourse.group/t/is-auspice-hover-over-information-display-configurable/1490/5 "2023-11-17T18:27:48Z")

</div>

I’ve created a GitHub issue for this feature request. [Tree: Add ability to customize tip/branch hover panel entries #1729](https://github.com/nextstrain/auspice/issues/1729)

---

<div class="post-metadata">

**Author:** ![james](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/james/32/11_2.png) [@james](https://nextstrain.discourse.group/u/james)\
**Post date:** [November 19, 2023, 8:09pm UTC](https://nextstrain.discourse.group/t/is-auspice-hover-over-information-display-configurable/1490/6 "2023-11-19T20:09:43Z")

</div>

What exact functionality are people looking for?

Currently we aim to show a small subset of information on node hover, and all available information in the node (shift-)click modal. Do people want to use the auspice-config to define a hardcoded list of attributes to always show on node hover? Is this in addition to, or instead of, the current data shown?

It would be really helpful to provide an example of the auspice config JSON (assuming that is where it’s defined), and / or describe what’s expected to be shown in the on-hover info box.
