-
Notifications
You must be signed in to change notification settings - Fork 113
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
Bunch of fixes from the NREL branch #737
base: single_tenant_app_snapshot_unmaintained
Are you sure you want to change the base?
Bunch of fixes from the NREL branch #737
Commits on Feb 18, 2021
-
Simple changes for the NREL location history project
- Launch a survey - Autogenerate a random token - Change the text on the login page - Display the random token for the user to enter - Once we have the newer version of emTripLog, we can set this automatically
Configuration menu - View commit details
-
Copy full SHA for 5dffc71 - Browse repository at this point
Copy the full SHA 5dffc71View commit details -
Switch the login to an autogenerated token that is set directly
Finally we get to use the new `setPromptedAuthToken` method. This raises a bunch of new questions: - if the user switches phones or uninstalls + reinstalls, how do they enter their old token? - how do they write their old token down - should we give them a choice between autogenerated and human generated Fortunately, since this is going to collect data for 2-3 days, none of these need to be answered right now.
Configuration menu - View commit details
-
Copy full SHA for ce41917 - Browse repository at this point
Copy the full SHA ce41917View commit details -
Add a button to the profile to support the weekly survey
This allow users to answer the survey in-app even if they are not able to respond to the push notification in real time Testing done: - Launched the app - Clicked on the button - Confirmed that the weekly survey was launched
Configuration menu - View commit details
-
Copy full SHA for 2c89412 - Browse repository at this point
Copy the full SHA 2c89412View commit details -
Switch the kobotoolbox survey to use prefilled values as well
+ add a button to launch the survey from the profile so current users can fill it in Testing done: - launched survey during onboarding + from the profile screen - confirmed with Bingrong that the UUID was filled in This partially fixes e-mission/e-mission-docs#587 Full fix will involve updating the documentation
Configuration menu - View commit details
-
Copy full SHA for c77aca9 - Browse repository at this point
Copy the full SHA c77aca9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a39072 - Browse repository at this point
Copy the full SHA 4a39072View commit details -
Switch the trip confirm screen to also go to the diary directly
Avoids race conditions and confusion; highlights the diary We may want to merge this to master based on feedback from the CEO project
Configuration menu - View commit details
-
Copy full SHA for 9978e50 - Browse repository at this point
Copy the full SHA 9978e50View commit details -
Allow users to enter a prior token in the login screen
Can change this based on feedback from initial testers
Configuration menu - View commit details
-
Copy full SHA for 985745e - Browse repository at this point
Copy the full SHA 985745eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a88766 - Browse repository at this point
Copy the full SHA 5a88766View commit details -
Improve the matching of user inputs to cleaned trips
While matching user inputs on the server, found that user input matching was broken for some cleaned trips on the phone. e-mission/e-mission-docs#476 (comment) Expanded the user input end check to fix. e-mission/e-mission-docs#476 (comment) Will merge into master after additional testing on the branch. + bump up the allowed delta to 15 minutes since the time threshold default for the distance filter is 10 minutes.
Configuration menu - View commit details
-
Copy full SHA for 21ab3fa - Browse repository at this point
Copy the full SHA 21ab3faView commit details -
Fix regression in enhanced trip matching
The enhanced trip matching (75129db) caused a regression in which a spurious trip (not a trip) that occurred after the real trip fit the criteria for a match. And since it was confirmed after the real trip, as you would expect while going down the trip list, it was matched preferentially. e-mission/e-mission-docs#476 (comment) Fixed by checking the degree over overlap and rejecting too short matches
Configuration menu - View commit details
-
Copy full SHA for 6bd731a - Browse repository at this point
Copy the full SHA 6bd731aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d20f2cf - Browse repository at this point
Copy the full SHA d20f2cfView commit details