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

Make location display component form-ready #590

Merged
merged 2 commits into from
Jul 20, 2020
Merged

Make location display component form-ready #590

merged 2 commits into from
Jul 20, 2020

Conversation

attwad
Copy link
Contributor

@attwad attwad commented Jul 20, 2020

image

This is paving the way to making the fields editable in case mapbox doesn't have the full data or no data at all. Cf #572 #426

Plans for future PRs are to add an always-present suggestion to the places autocomplete that says "add my own geocode" that will populate an empty Location and make these fields editable.

We did lose the formatting of N/A when no data is present for some admin levels but it feels cleaner considering we want to allow curators to enter those manually now.

Also not rounding the lat/lng numbers anymore because they are used as input fields (they are still rounded in the display case component)

@attwad attwad requested a review from allysonjp715 July 20, 2020 13:57
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.

None yet

2 participants