hubmapconsortium / hra-ui

HRA UIs Monorepo (includes HRA Portal, EUI, RUI, ASCT+B Reporter, and more)
https://hubmapconsortium.github.io/hra-ui/
MIT License
3 stars 2 forks source link

Changing cell type color only works one-way #415

Closed andreasbueckle closed 3 weeks ago

andreasbueckle commented 3 weeks ago

In the CDE, when changing the color of a cell type via the interactive legend in the histogram, the color scheme in the Cell Types pane on the left is not auto-updated:

Before: image

After changing color for CD68 to blue in interactive legend for histogram: image

Expected behavior: The color should be updated. It works the other way, i.e., when changing the color in the Cell Types pane:

Before: image

After changing color for CD68 to blue in Cell Types pane: image

axdanbol commented 3 weeks ago

I took a quick look at this and there seems to be some change detection bug. As soon as I hover over the cell types portion of the app the color updates to the correct one.

bhushankhope commented 3 weeks ago

fix in pr #426