hackforla / hackforla/311-data
ER: Long term fix for the new year data not in yet
- Dominant language
- JavaScript
- Stars
- 73
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
### Overview
We need to add logic to check for the previous year's data if the current year's data is not in yet to keep the map from not loading.
### More Info
At the beginning of the year, we have a lack of data. The application looks for data from the database, but it isn't there yet, so it loads forever.
### Relevant Tickets
- #1891
- #1892
- https://github.com/hackforla/311-data/issues/1895
### Proposed Action Items
- [ ] Add a check to see if current year data exists.
- [ ] If not, request the previous year's data, so the map can continue to load.
- [ ] Change the date picker to show the last week of December.
- [ ] Limit user to previous year via date picker.
Contributor guide
Assessment
This issue has not been assessed yet.