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

Support long press to add points #2976

Merged
merged 1 commit into from
Mar 29, 2019
Merged

Conversation

lognaturel
Copy link
Member

@lognaturel lognaturel commented Mar 29, 2019

Closes #2975

What has been done to verify that this works as intended?

Added points by long pressing and single-tapping.

Why is this the best possible solution? Were any other approaches considered?

This is such a small change that there is no other possible approach. There is a question about whether it's a good idea to do, though, so I've tagged as needs discussion.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

This should not change any existing behavior. It adds another way to add points. Since long press isn't used for anything else in the geo widgets, I don't think there's any danger.

Do we need any specific form for testing your changes? If so, please attach one.

Any form with geo widgets.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

Before submitting this PR, please make sure you have:

  • run ./gradlew checkAll and confirmed all checks still pass OR confirm CircleCI build passes and run ./gradlew connectedDebugAndroidTest locally.
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.
  • verified that any new UI elements use theme colors. UI Components Style guidelines

@lognaturel
Copy link
Member Author

I think it's very likely that this release will be pushed back by a day or two but if there's time, it would be good to have this go through QA so it can be merged immediately if everyone is on board. It's a tiny change so hopefully doesn't require much time at all!

@mmarciniak90
Copy link
Contributor

Tested with success

Verified on Android: 4.2, 4.4, 5.1, 6.0, 7.0, 8.1

Long press and tap can be used to adding locations. Both methods can be mixed.
Verified OSM and Google Maps.
Verified GeoShape, GeoTrace
Long press is available on Geopoint with placement-map appearance without changes.

@opendatakit-bot unlabel "needs testing"
@opendatakit-bot label "behavior verified"

@mmarciniak90
Copy link
Contributor

@opendatakit-bot label "behavior verified"

Copy link
Contributor

@zestyping zestyping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@lognaturel lognaturel merged commit 1375747 into getodk:master Mar 29, 2019
@lognaturel lognaturel deleted the issue-2975 branch March 29, 2019 21:59
@grzesiek2010 grzesiek2010 added this to the v1.21 milestone Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants