Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: location select #363

Merged
merged 4 commits into from
Feb 27, 2025
Merged

Feat: location select #363

merged 4 commits into from
Feb 27, 2025

Conversation

chrismclarke
Copy link
Collaborator

@chrismclarke chrismclarke commented Feb 27, 2025

Description

  • Add a location-select component to allow easy selection of province/district
  • Add support for storing multiple levels of location data in profile (e.g. Malawi District, Zambia Province + District)
  • Add data for all Malawi districts, Zambia provinces and Zambia districts

Discussion

Once selected, location preferences will be saved for use across the app
This will be integrated in upcoming forecasts page, and then later retroactively included in other tools

All provinces/districts are presented by default even if no location-specific data is available as country-wide data should still be useful and avoids confusion if some locations appear missing

Preview

Link to app preview if relevant

Screenshots / Videos

Example - Malawi Mobile
A single dropdown is presented for all districts in Malawi

Example - Zambia Tablet
In Zambia multiple dropdowns are presented to first filter by province and then district
image

Copy link

nx-cloud bot commented Feb 27, 2025

View your CI Pipeline Execution ↗ for commit d1e3008.

Command Status Duration Result
nx build ✅ Succeeded 4m 54s View ↗
nx run-many --target=lint ✅ Succeeded 4s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-27 01:23:30 UTC

@github-actions github-actions bot added feature and removed feature labels Feb 27, 2025
@github-actions github-actions bot added feature Tool: Climate Updates related to Climate tool and removed feature labels Feb 27, 2025
@chrismclarke chrismclarke merged commit a4c08de into main Feb 27, 2025
5 checks passed
@chrismclarke chrismclarke deleted the feat/location-select branch February 27, 2025 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feedback Discussion Tool: Climate Updates related to Climate tool
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant