ua-snap / alaska-wildfires

MIT License
0 stars 0 forks source link

Fixes several Github issues with the API call and formatting of the place selector #80

Closed BobTorgerson closed 3 months ago

BobTorgerson commented 3 months ago

This PR modifies the place selector code such that it waits until a community has been selected before setting the community name, which was resulting in the console errors identified in #65. It also changes the CSS for the mb-6 class such that in that scoped version of that class, it has a large z-index to always sit on top of the map for all of its search results as identified in #79.

Finally, the PR contains a change to the conditional formatting of the FireAPIOutput component that more explicitly shows what data has been returned. Three places to test for sure are Fairbanks, Afognak, and Baranof Warm Springs. In Fairbanks, the cdf and AQI forecasts are available, in Afognak, the AQI forecasts are only available, and in the Baranof Warm Springs, none of it is available and it will state that there is no data available for this location.

Closes #65 Closes #77 Closes #79