nextstrain / auspice

Web app for visualizing pathogen evolution
https://docs.nextstrain.org/projects/auspice/
GNU Affero General Public License v3.0
290 stars 159 forks source link

Tree: Add ability to customize tip/branch hover panel entries #1729

Open victorlin opened 7 months ago

victorlin commented 7 months ago

from discussion forum

Context

Currently this is hardcoded, except for one entry that changes with the Color By:

https://github.com/nextstrain/auspice/blob/f1f3c1c61c90c116f1ae760de27dacedc9519290/src/components/tree/infoPanels/hover.js#L412-L418

Description

Allow customization of all entries in the dataset JSON.