hackforla / hackforla/311-data

ER: Long term fix for the new year data not in yet

Open
#1,884 5 comments 0 reactions 0 assignees View on GitHub
Complexity: Medium Emergent Request p-feature: Map Role: Frontend size: 0.25pt
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.