devinit / devinit/data-hub-spotlights
It is possible to add years to the URL that would not be possible to access in the drop down list
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 1
- Avg merge
- 40m
- Merged PRs (30d)
- 1
Description
This is first mentioned in issue #162
The example is this URL: http://157.245.39.153/spotlight/spotlight-kenya?t=kenya_district_public_resources&i=spotlight_on_kenya_2017.kenya_agri_percent&y=2013
2013 would not have been available in the drop down, but because a user selected it in the URL you now get a view of a whole map with no data.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how the spotlight URL query string and year dropdown are handled, using the Kenya URL in the issue to reproduce the problem. Compare years accepted from the URL with years available in the dropdown. Done means an unavailable year no longer renders an empty map, while valid selections still work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100