-
Notifications
You must be signed in to change notification settings - Fork 23
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
[2016] Submit forms offline #172
Open
viniciusboson
wants to merge
93
commits into
projectbuendia:dev
Choose a base branch
from
viniciusboson:feature/submit-form-offline
base: dev
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[2016] Submit forms offline #172
viniciusboson
wants to merge
93
commits into
projectbuendia:dev
from
viniciusboson:feature/submit-form-offline
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… error handler to stay next to it. No side effects
…. There is no intention of side effects
…comprehend. It was necessary to debug the entire method to know what it was doing. It is much more readable now. No side effects
…call to an already received successListener. So instead of create one, it has just to use the received one
…successfully sent to the server
…n inside validation methods
… error handler to stay next to it. No side effects
…. There is no intention of side effects
…comprehend. It was necessary to debug the entire method to know what it was doing. It is much more readable now. No side effects
…call to an already received successListener. So instead of create one, it has just to use the received one
…n inside validation methods
@dancunningham: I've raised the submission offline alert. Have you found any error else? |
Allow empty sections in ODK forms.
Fix test compilation
…ncellos-fix-required-fields Fix Required Fields
…ncellos-enable-patient-like-search Enable like search.
- The notes panel expanding no longer greys out the chart - The notes panel is fixed at 60% height - It's now possible to scroll to the bottom of the patient chart when the notes panel is open, thanks to some layout hackery.
Tweak notes panel to take up less space
…es-too-agressively Only refresh the patient chart if something changed after a sync.
…ture/submit-form-offline
- You can set the start date when you first create an order, but not when you edit it. - Fix the "stop after X days" logic to be a straightforward duration since start date, instead of being the duration from today. This makes a lot more sense now that we're actually displaying the start date.
…-tweaks Tweaks to View Observations dialog
…oast Temporarily disable the red network error toast
…t-size Use BigToast to display the "note submit failed" toast.
…orders UI support for setting custom start dates on Orders.
The timestamp for encounters entered with an Xform didn't include a seconds field previously. This meant that if the same form was filled out twice in one minute, there was no guarantee that the most recently set value would be the one displayed on the patient chart. This change makes the DateTimeWidget in Xforms use the seconds of the current time by default, and then clears the seconds if the value changes. This workaround gets us a lot closer to the behaviour that the user expects. Fixes projectbuendia#125.
Use dark, ancient magic to ensure that seconds are set for form entries.
…ture/submit-form-offline
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This feature allows users to save observation forms offline and synchronize them as soon as server connection gets available.
The app will show an alert message in Snackbar whenever it detects that there are unsent forms.
To test this feature, i've disabled the wifi to not be able to access dev.projectbuendia.org or i've simulated a local server always throwing exceptions.
There are three concurrent situations that the application will try to resent the forms:
For further informations, please refer to its documentation