Improve saving and validating answers for GeoTrace and GeoShape questions#7016
Improve saving and validating answers for GeoTrace and GeoShape questions#7016grzesiek2010 merged 19 commits intogetodk:masterfrom
Conversation
f593e13 to
c491f88
Compare
eaaf4bf to
705ae77
Compare
705ae77 to
7a1cbdd
Compare
collect_app/src/main/java/org/odk/collect/android/activities/FormFillingActivity.java
Outdated
Show resolved
Hide resolved
collect_app/src/main/java/org/odk/collect/android/activities/FormFillingActivity.java
Show resolved
Hide resolved
collect_app/src/main/java/org/odk/collect/android/utilities/Appearances.kt
Show resolved
Hide resolved
collect_app/src/main/java/org/odk/collect/android/widgets/utilities/GeoPolyDialogFragment.kt
Show resolved
Hide resolved
collect_app/src/main/java/org/odk/collect/android/formentry/FormIndexAnimationHandler.kt
Outdated
Show resolved
Hide resolved
collect_app/src/main/java/org/odk/collect/android/widgets/utilities/GeoPolyDialogFragment.kt
Outdated
Show resolved
Hide resolved
collect_app/src/main/java/org/odk/collect/android/widgets/utilities/GeoPolyDialogFragment.kt
Outdated
Show resolved
Hide resolved
collect_app/src/main/java/org/odk/collect/android/activities/FormFillingActivity.java
Outdated
Show resolved
Hide resolved
collect_app/src/main/java/org/odk/collect/android/formentry/FormIndexAnimationHandler.kt
Outdated
Show resolved
Hide resolved
bb650d0 to
9527e8c
Compare
534e5c1 to
9d14e78
Compare
06c1eef to
62d9287
Compare
72664f1 to
839513c
Compare
seadowg
left a comment
There was a problem hiding this comment.
Looks good! Just one change I'd like to see.
collect_app/src/main/java/org/odk/collect/android/javarosawrapper/JavaRosaFormController.java
Outdated
Show resolved
Hide resolved
661f444 to
8c266c0
Compare
|
Could you send us the apk with all map tokens? |
|
Re-rendering answers on a field-list seems to take too much time. I can even try to tap a different question before an answer is shown. What do you think- is it too long (and I should file an issue) or it's a tradeoff? XRecorder_15012026_080231.mp4 |
Here you go: |
Re-rendering is the process of rebuilding the form view and showing or hiding questions based on the new answer. The re-rendering itself happens immediately, without any delay. It’s not perfect, but if we want to file an issue, it should be a general one covering all cases where scrolling is used. |
|
Tested with Success! Verified on device with Android 16, 10 Verified cases:
|
|
Tested with Success! Verified on device with Android 12, 10 |
Closes #6984
Closes #7015
Closes #6993
Closes #7004
Closes #7012
Why is this the best possible solution? Were any other approaches considered?
I'm going to add comments below with some explanations.
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 PR addresses five issues, but I believe this one is the most risky: #6984
We need to verify that scrolling to the updated question works correctly across different devices.
Do we need any specific form for testing your changes? If so, please attach one.
Forms are linked in the issues.
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