Closed owais-vd closed 2 years ago
Hi @ekigamba i saw your comments you have more concerns about the status like how we manage the status of when we submit the survey.
Let me try to explain how we manage the status and when to show the cloud icon.
Previously we need to show the cloud icon on all those records that have been submitted by the ODK app. Therefore, i have created a new status called SUBMITTED
and created a class DataSubmissionResultHandler
in the steps app which was responsible to find all those records that have submitted
status and then updating the household
and the participant
status to SUBMITTED
.
Now, according to the new requirement, we need to show the cloud icon on all those households
that have been uploaded to the steps
server either the status DONE
or NOT_REACHABLE
or whatever. Therefore, in that case, we don't have to confirm the status from the ODK app that's why i have updated the implementation. check the @akahure comment here https://github.com/onaio/steps-app/issues/136#issuecomment-1017497397
Fixed #136
This PR will be covered point number 1, 3 and 5 based on this comment https://github.com/onaio/steps-app/issues/136#issuecomment-1015371823.
Point number 6 is already covered in this PR https://github.com/onaio/steps-app/pull/131