InetIntel / ioda-ui

Other
2 stars 0 forks source link

Update the UI to support the modified outages and entities API #37

Closed salcock closed 2 years ago

salcock commented 2 years ago

I've had to make some changes to the way that the outages/ and entities/ API methods work (specifically moving entityType and entityCode to be query parameters instead of in-path ones).

This PR updates any calls to these APIs in the UI code to use the new parameter structure.

It also includes a fix for a bug I found during testing where alert bands would not be drawn on the time series graphs if the outages/ query completed after the raw/signals/ query.