Skip to content
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

v6.8.4 #2132

Merged
merged 75 commits into from
Jun 10, 2020
Merged

v6.8.4 #2132

merged 75 commits into from
Jun 10, 2020

Conversation

misaugstad
Copy link
Member

kumararoosh and others added 30 commits February 4, 2020 15:32
Changed the label from the amount of labels completed in the current mission to how labels completed in one stretch, by using svv.misisonsCompleted

TODO: change svv.missionsCompleted to store the amount of missions the user has completed in all time
Queried the database for the total completed validations for each user, and got the data to be available in Mission.js
Changed the label in validate to show the total number of validations performed by the current user
Made the label count correct for the first time the validation page loads
Fixed a bug that would change the value of the labels completed during the mission end screen
Changed countCompletedValidationMissionsByUserID in MisstionTable.scala
to count all of the validated labels instead of counting all of the
validated missions.
Edited all of the files responsible for displaying the amount of
validations performed by the user, to instead use the total number of
labels validated instead of total number of validation missions
completed.
The label is updated by taking the number being displayed to the user
and incrementing the number. Added a helper function in StatusField to
help with the incrementing.
Since the total completed validations is stored in
svv.validationsCompleted when loaded from the database, the labels now
just displays the value of svv.validationsCompleted and increments the
variable each time a validation is made.
Started storing the value of total completed validations in StatusField
by passing it in as a parameter, and changed updating to requiring the
increment and refresh methods be called in StatusField
Removed updateLabelCount and every use of the function. The new process
for updating the labels is to send the value to statusField as a
parameter and call refreshLabelCountsDisplay() or incrementLabelCounts()
… task end.

If the user is within 25 meters of the end of the task, the next task is immediately generated and the remaining portion of the task segment is marked as complete.
Added a text area for label comments and submitting data to the validation_task_comment table.
Sends data to table whenever user clicks on textfield or submits data from textfield.
The application can now distringuish when user is using a keyboard shortcut to validate labels and when the user is typing information into the text field.
Since the text area is not yet available on mobile, we should check if it exists before attaching an onpress function to it.
Style Fixes
misaugstad and others added 28 commits June 1, 2020 18:02
…-Visited-Early

1891 Update Pano When Near Task End Validate
…on-colonias-to-barrios

2112 colonias to barrios
…-naming-scheme

Adds a unique naming scheme for logs when app restarts
2122 Add Pano ID To GSV popop on admin page and labelmap
…licks

#2067 Log landing page clicks on city and mapathon
@misaugstad misaugstad self-assigned this Jun 10, 2020
@misaugstad misaugstad merged commit 7678526 into master Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants