-
Notifications
You must be signed in to change notification settings - Fork 114
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
Integrate odk compatible surveys using enketo #832
Merged
shankari
merged 95 commits into
master
from
integrate_odk_compatible_surveys_using_enketo
May 27, 2022
Merged
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
15cb98e
Modify the consent text file
asiripanich 25e8795
Comment out the summary screen
asiripanich d77eeef
Email log to Amarin
asiripanich d2028a3
Use random token login and initial kobotoolbox survey
asiripanich 2ee8172
Merge pull request #40 from rciti/rciti-intro
asiripanich cdeaf45
Use an indirect link to open the user profile survey
asiripanich 5104cec
Add edit user profile and end survey buttons.
asiripanich ed2b9c2
Replace a missing function
asiripanich 26df155
Merge pull request #778 from rciti/rciti
shankari 2462619
Comment out the Label tab from the main screen
asiripanich 714018d
Increase text size in intro.css
asiripanich c1b2c6a
Modify the login screen to only accept token
asiripanich 9c90fd8
Use the defined css classes in consent-text.html
asiripanich 34980a7
Remove some options from the control list
asiripanich 69d7f33
Merge pull request #782 from rciti/rciti
shankari 32f3b07
Comment out onCurentTrip
asiripanich 6f64f44
Comment out the heatmap screen
asiripanich 6467da5
Merge pull request #783 from rciti/rciti
shankari 8024fcb
Change consent text's text-align from 'justify' to 'left'
asiripanich 802d39a
Make styling changes to consent-text.html
asiripanich 1ab1002
Update the support line number
asiripanich 29b4fa6
Merge pull request #784 from rciti/rciti
shankari 75eb6db
Update the login instruction
asiripanich 26173fb
Modify trip confirm options
asiripanich 388fe8a
Modify share messages
asiripanich 5905856
Merge pull request #788 from rciti/rciti
shankari 7e6672e
Shorten trip confirm options with emojis 🙉
asiripanich 425d479
Merge pull request #789 from rciti/rciti
shankari 610fdab
patch(Tabs): hide Label and Heatmap tabs
atton16 fb338f1
feat(Enketo): Enketo survey support
atton16 a7f43d1
patch(Diary): Dynamic input confirm button sizing
atton16 e425caf
patch(Diary): use EnketoSurvey for trip confirmation
atton16 04eb99f
patch(Enketo): fix answers not restore correctly
atton16 32425b9
patch(Profile): add edit User Profile and End Survey buttons that lau…
atton16 5c84bf4
Merge branch 'rciti' into rciti
asiripanich b38e5a4
patch(Intro): update consent and intro pages to match RCITI profile
atton16 4b3cbab
patch(Login): login with anonymous token
atton16 2447ecb
patch(Settings): change domain to fourstep.dev
atton16 b1b8bfd
Merge branch 'rciti' of github.com:rciti/e-mission-phone into rciti
atton16 bb507ba
chore: add json files
atton16 b57742a
patch(Diary): optimize isAnalyzed call
atton16 69180be
patch(SurveyLaunch): startSurveyPrefilled support auto close
atton16 b8a7ab0
patch(Settings): refactor to use new startSurveyPrefilled options param
atton16 c82d60a
patch(Intro): use SurveyLaunch
atton16 9e6a2cd
patch(Diary): get rid of isAnalyzed and migrate to isDraft
atton16 c5ead07
patch(Diary): update tripgj label directly with the new answer
atton16 d825fc2
chore: remove unused json
atton16 59690cb
Merge pull request #798 from rciti/rciti
shankari fe9bedd
Merge branch 'master' of https://github.com/e-mission/e-mission-phone…
shankari 26a015f
Fixes to populateManualInputs from testing
shankari b328159
Comment out the dashboard screen
shankari 08d03f7
Move all the enketo code into a separate directory
shankari 2f34128
Rename some more to make names shorter and avoid verbosity
shankari b6ad175
Initial version of the enketo trip button works
shankari 8aa8900
Formatting fix
shankari 0636a90
Also ensure that the value that is read in is visible
shankari 4761d6b
Remove enketo dependency from multi-label UI
shankari 73bc4ab
Remove all references to the ConfirmHelper and the inputs from the ne…
shankari 9f3ac2e
Remove NOP if statement
shankari aec0051
Refactor the diary code to consistently call `processManualInputs` to…
shankari 1db4c98
Move the input matching code out of the DiaryHelper
shankari 97d748f
Inject the service for the directive that we are using
shankari 75e5507
Pull out the code to extract the results from the promise response
shankari d30ab76
Remove all references to the ConfirmHelper from the diary services
shankari 5a362c5
Revert unncessary changes introduced by the enketo code
shankari 7a8b99b
Remove all references to the UUID in the enketo wrappers
shankari 05fc212
Refactor the answer matching code for the survey
shankari 72ba468
Refactor the answer matching code for the survey
shankari d6475e4
Merge branch 'refactor_enketo' of https://github.com/e-mission/e-miss…
shankari 40e6b84
Make the data key to store the user input be configurable
shankari ed47530
Turn on the demographic survey from the control screen
shankari c987e3f
Introduce the onboarding survey as a slide in the intro
shankari eba0a57
Change `ngdone` to `ng-done` (ngDone in the controller) for better re…
shankari 61e138a
once the intro is done, remove the intro view
shankari ff7863d
Replace the content in the modal with the inline content
shankari df21f08
Get the onboarding inline survey to work with previous entries
shankari b3e6e3b
Add functionality to display a preview of the loaded survey
shankari 4d5efb4
Make the inline screen for the survey better
shankari 2308f0e
Add border to the buttons
shankari 9ae72b0
Store the survey result as JSON in addition to XML
shankari 56621ef
Revert "Store the survey result as JSON in addition to XML"
shankari 71dfd01
Revert "Revert "Store the survey result as JSON in addition to XML""
shankari 7d7ad7b
Add in the pulled out form base
shankari 2816d66
Change the enketo answer to be consistent with the server data model
shankari 269e199
Remove implementations of NOP functions
shankari 19f97a4
Fix path to enketo logo
shankari a4eb053
Merge pull request #830 from e-mission/refactor_enketo
shankari e8c1321
Revert unsw specific changes (#831)
shankari 0ccab07
Gracefully handle the case in which there are no user inputs
shankari fd27504
Fix the formatting of the enketo survey button
shankari fec362a
Remove "performance hack" for the user matching
shankari 7daeada
Fix the promises code to retrieve unprocessed labels
shankari d4d6759
Ensure that the entries from the diary are copied to the label screen…
shankari 99b15f4
Ensure that we can save the trip entries from the label view as well
shankari 136343f
Ensure that the filters work for the enketo buttons as well
shankari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
Note to self: extractResult is primarily for enketo where we check for version number matching.