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 no appearance #249

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

Form filling: Geopoint with no appearance #249

alyblenkin opened this issue Nov 11, 2024 · 0 comments

Comments

@alyblenkin
Copy link
Collaborator

alyblenkin commented Nov 11, 2024

User stories

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

Given I've allowed Web Forms to have my location
When I've select the button "get 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 with a required location question
Then I see the accuracy message displaying accuracy, long & lat (not altitude)
And I can select the button "try again" it if I want to try again and get higher accuracy

Given the question is not required
When I see "Good accuracy" or "Poor accuracy"
Then the button will say "Remove"

[TBD] Considering showing inline rather than a dialog

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"

[TBD] considering adding softer guidance if there is noway of getting better accuracy.

Given I have a required question
When I've saved the location with poor accuracy
Then I see the question with an accuracy message in red
And I can select the button "remove" it if I want to try again and get higher accuracy

Designs

Figma

Image

notes

  • Start with targeting mobile. Devices without location providers may not be able to get anywhere near high accuracy and may need a different flow / messaging
  • Any value to using a Vue wrapper like https://vueuse.org/core/useGeolocation/?

Need to decide on the button language for "field clearing" for both Collect and Web Forms

Options:

  • Clear location
  • Delete location
  • Remove or delete
  • Change location
  • Refresh
  • Just an icon (bin or X)
@alyblenkin alyblenkin converted this from a draft issue Nov 11, 2024
@alyblenkin alyblenkin modified the milestone: Next Nov 11, 2024
@lognaturel lognaturel mentioned this issue Jan 13, 2025
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