VEuPathDB / web-eda

Web browser code for EDA-based applications
Apache License 2.0
0 stars 0 forks source link

EDA map visualization gives a pink type error when there is no data in the viewport #1590

Closed bobular closed 1 year ago

bobular commented 1 year ago

Deployment: Rserve v5.1.8 Could go out for b62 if not too late.

Where: live and qa How:

  1. SCORE S. mansoni Cluster Randomized Trial (and presumably others)
  2. Add a geolocation map viz
  3. choose any variable
  4. move the map so there is no data on-screen

A pink error occurs

Unexpected backend type(s) encountered: Invalid value `null` supplied to value (type: number) of 1 (type: Partial<{ value: number, units: "day" | "week

Should be easy to fix (it's an io-ts issue presumably) But is also related to https://github.com/VEuPathDB/web-components/issues/396 because we want to make it easy for users to get back to where there is data.

Also affects standalone map

moontrip commented 1 year ago

@bobular Actually I found it strange because I could use qa site for the same example you used at our mtg. I also checked Live and qa again and they worked fine

moontrip commented 1 year ago

@bobular Ah I just saw your slack message and I could replicate it when zooming in several times 👍

SAK22 commented 1 year ago

Looks good!