-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Improve media displayed in widgets [BarcodeWidget + ArbitraryFileWidget + ExArbitraryFileWidget] #6964
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
Conversation
1a7aeac to
c4d4e48
Compare
seadowg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some general comments on the structure before going any deeper!
collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/IntentGroupTest.kt
Outdated
Show resolved
Hide resolved
collect_app/src/main/java/org/odk/collect/android/widgets/barcode/BarcodeWidgetContent.kt
Outdated
Show resolved
Hide resolved
...ain/java/org/odk/collect/android/widgets/arbitraryfile/ArbitraryFileWidgetAnswerViewModel.kt
Outdated
Show resolved
Hide resolved
seadowg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seadowg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just one small tweak in the comments.
collect_app/src/main/java/org/odk/collect/android/widgets/TextWidgetAnswer.kt
Outdated
Show resolved
Hide resolved
0dce671 to
d90c896
Compare
|
Tested with success Verified on Android 10, 16 Verified cases:
|
|
Tested with success Verified on Android 10, 12 and 14 |
Work towards #6234
Blocked by #6925Why is this the best possible solution? Were any other approaches considered?
It's the continuation of #6925
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?
Please perform full regression testing on the three updated widgets:
BarcodeWidget,ArbitraryFileWidget, andExArbitraryFileWidget. They have been reworked, so they need to be tested thoroughly.Do we need any specific form for testing your changes? If so, please attach one.
No.
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:
./gradlew connectedAndroidTest(or./gradlew testLab) and confirmed all checks still passDateFormatsTest