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 default image answers #3579

Merged
merged 12 commits into from
Feb 12, 2020
Merged

Support default image answers #3579

merged 12 commits into from
Feb 12, 2020

Conversation

grzesiek2010
Copy link
Member

@grzesiek2010 grzesiek2010 commented Jan 10, 2020

Closes #84

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

I tested the implemented changes manually and added an espresso tests.

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

It's the only solution we agreed in #84 and https://forum.opendatakit.org/t/proposal-specify-a-fixed-image-to-be-annotated-or-signed/14954. I can't come up with anything simpler or better.

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 change is only related to Image widgets so we can test only those. It just allows to use default image values. I don't find this change very risky so testing the attached form should be enough.

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

defaultImage.zip

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

@kkrawczyk123
Copy link
Contributor

Tested with success:
Verified on Androids: 4.2, 4.4, 5.1, 6.0, 7.1, 8.1, 9.0 and 10.

When I was testing, I have recognized separate issues:
#3634
getodk/aggregate#482
getodk/central-backend#250

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

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.

Annotate Image widget with a fixed image instead of an image capture.
5 participants