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

Add +/- buttons to integer question type #6137

Closed
alyblenkin opened this issue May 10, 2024 · 2 comments · Fixed by #6306
Closed

Add +/- buttons to integer question type #6137

alyblenkin opened this issue May 10, 2024 · 2 comments · Fixed by #6306
Assignees
Milestone

Comments

@alyblenkin
Copy link
Collaborator

alyblenkin commented May 10, 2024

Problem

We've heard a lot of feedback around making it easier and more intuitive to count things. For example, if you want to count turtle eggs, trash, or plants it would be efficient to use a +/- button than to manually enter the number.

Solution

  • For integer questions, we want simple buttons on the right and left of the screen so it's easy to access
  • Large enough hit target without taking up too much vertical space
  • It will only increase by one for now, and we are not allowing negative numbers

Figma

Future considerations

  • Allow negative numbers
  • Consider how a user might reset
  • How this might work for adding a range
  • Long press to increase by increments of 10 or something
  • Haptic feedback would be an interesting next step
@alyblenkin alyblenkin converted this from a draft issue May 10, 2024
@alyblenkin alyblenkin added this to the v2024.3 milestone May 10, 2024
@alyblenkin alyblenkin changed the title Adding buttons to count things Add +/- buttons to integer question type May 22, 2024
@alyblenkin alyblenkin moved this from not ready to ready in ODK Collect Jul 18, 2024
@grzesiek2010
Copy link
Member

Should this change the default integer question or add a new appearance like counter for example which would display that question type in the described way? I thought that it would be a new appearance but now I'm not sure reading the issue.

@grzesiek2010 grzesiek2010 moved this from ready to not ready in ODK Collect Jul 25, 2024
@lognaturel
Copy link
Member

It should be a new appearance! I agree that counter feels like it's non-controversial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: done
Development

Successfully merging a pull request may close this issue.

4 participants