chanzuckerberg / galago

Interpretation aids for genomic epidemiology
https://chanzuckerberg.github.io/galago/
MIT License
8 stars 2 forks source link

Fix overlapping UI elements & sample name inputs #205

Closed sidneymbell closed 1 year ago

sidneymbell commented 1 year ago

Fixes two bugs:

  1. @efahsbender1 noted that on smaller laptop screens, the legend for the scatterplot and the tree was making it hard to see the visualization, and the toggle buttons and legend were overlapping on the epi curve. Liz, would you please take a look at https://galago-labs.czgenepi.org/ and let me know if those are fixed? The legends should be collapsed by default on smaller screens.

  2. There was a bug where updating the samples of interest names wasn't updating the live preview of which clades were available to select (further explanation in [this PR]). I've fixed this, and added in autocomplete functionality. The way I've done this should still work whether the user types, copy/pastes in, or selects names directly from the list. @vincent-czi -- could you please do some quick testing on staging to make sure that this is working as-expected?

Thanks, both, for your help finding these bugs and reviewing changes!