Skip to content

feat: Add country selection#492

Merged
ElJocho merged 12 commits into
heal-at-scalefrom
feat/add-country-selector
Jul 10, 2026
Merged

feat: Add country selection#492
ElJocho merged 12 commits into
heal-at-scalefrom
feat/add-country-selector

Conversation

@MichaelsJP

Copy link
Copy Markdown
Member

This enables the new functionality to provide heal for more countries.

This enables the new functionality to provide heal for more countries.
const state = urlParams.get('state') || appConfig.defaultState
const city = urlParams.get('city') || appConfig.defaultCity
fetch(`/aois/${state}/${city}.geojson`)
fetch(`/aois/${country}/${state}/${city}.geojson`)
ElJocho added a commit that referenced this pull request Jul 6, 2026
soon to be overwritte to change writing it to country folder - PR #492
ElJocho added a commit that referenced this pull request Jul 6, 2026
soon to be overwritte to change writing it to country folder - PR #492
ElJocho added 9 commits July 6, 2026 11:48
previous bugs:
1. time selector did not reflect stored url value when opening link with active route
2. first request was not using correct default value but always 202_15
3. selecting other time without any route being active did nothing - next successful request used previous time
soon to be overwritte to change writing it to country folder - PR #492
soon to be overwritte to change writing it to country folder - PR #492
# Conflicts:
#	helper-img/heal-map-client-helper-geojson-import.sh
@ElJocho
ElJocho self-requested a review July 9, 2026 16:09
@ElJocho
ElJocho merged commit 8ed7ad9 into heal-at-scale Jul 10, 2026
1 of 2 checks passed
@ElJocho
ElJocho deleted the feat/add-country-selector branch July 10, 2026 16:39
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

💡 Need a hand with PR review? Try Gitar by Sonar!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants