nextstrain/auspice

Add modal display of measurements details on selection of a specific raw measurement

huddlej opened this issue · 1 comments

Description

When a user selects (clicks) an individual raw measurement in the measurements panel, the panel should display a modal window with the same details that get displayed in the tooltip on hover. This modal window should behave like the corresponding functionality in the tree panel when users click on a tip in the tree.

Once implemented, the hover panel should only display fields listed in the fields key of the collection config, if provided. All column values should be displayed in the full detail modal.

f7e944d should make it straightforward to display the same modal as if clicking on the node in the tree (<NodeClickedPanel>). If you want different information shown then it'll be a little more complicated and we should think about the interplay with this and the <Modal> component. Do you have a basic mock-up of the differences?