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

Form filling: Geopoint with map #257

Open
alyblenkin opened this issue Nov 14, 2024 · 0 comments
Open

Form filling: Geopoint with map #257

alyblenkin opened this issue Nov 14, 2024 · 0 comments

Comments

@alyblenkin
Copy link
Collaborator

alyblenkin commented Nov 14, 2024

User stories

As a data collector or someone doing self report
I want to get my location with a map
so that I can collaborate with my PM to ensure I have high accuracy

Given I'm answering a geo question with a map
When I go to the question
Then I will see a disabled map with a button that says "Find my location"
So I don’t want to accidentally interact/use my location if that's not my intent

Given I've allowed Web Forms to have my location
When I've select the button "find my location"
Then I see a dialog that says "Finding your location" with an accuracy message below

Happy path 🔵
Given I want to save the location
When I see I have "Good accuracy" message in blue
Then I will select the button "save location"

Given I've saved the location
When I'm looking at my form
Then I see the question with a blue highlighted accuracy message in the panel below the map
And I can select the button "remove" it if I want to try again and get higher accuracy

Sad path 🔴
Given I want to save the location despite having poor accuracy
When I see the "Poor accuracy" warning message in red
Then I will select the button "save location"

Given I've saved the location with poor accuracy
When I'm looking at my form
Then I see the question with a red highlighted accuracy message in the panel below the map
And I can select the button "remove" it if I want to try again and get higher accuracy

Designs

Figma

Image

@alyblenkin alyblenkin converted this from a draft issue Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant