Closed colincadams closed 3 years ago
Behavior should be as shown below! Suppress all components other than the header and description, and replace the description text with the following:
No data was publicly available for this state. If you are a representative of this state and would like to contribute your data to this site, please contact us.
@hobuobi it looks like the "Stay In Touch" page only allows you to subscribe. Probably fine as a placeholder for now, but eventually should we replace this link?
@Wmaileq I think we can proceed with the link as is for now, and look at replacing it in the future
Describe the bug
There are two states that we don't expect there to be data for at least in the near term, UT and WY. We should handle this case.
To Reproduce Steps to reproduce the behavior:
stateCode
to US_WYExpected behavior
@hobuobi to define.
Most of the components handle no data gracefully, but when there is no data at all for a state then we can't define the default time range (e.g. November 2020 -- compared to November 2019). The easiest thing is likely to come up with alternative text for each place that this is displayed.
Alternatively, we could have a separate treatment for the whole page, e.g. no public data sources were found for [state].
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.