-
Notifications
You must be signed in to change notification settings - Fork 25
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
added source col, removed mobile column from label validation table #3380
Conversation
…Webpage into 3164-source-col overwriting
@@ -71,6 +71,7 @@ function Tracker() { | |||
timestamp: timestamp, | |||
zoom: pov ? pov.zoom : null, | |||
is_mobile: isMobile() | |||
// @mikey should this is_mobile be removed? |
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.
@misaugstad can you confirm if this is_mobile should not be removed? Thanks!
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.
Is it being used anywhere that you haven't removed? Is there a reason that you're not sure if this one should be removed?
Did you mark the previous mobile ones as |
Whoops! No, I did not but I just added to that latest commit.
If I am understanding this correctly are you saying we could also update the source column for certain existing rows as "ValidateDesktop" ? I would think so but just to make sure isn't that just based on the canvas height and width (height: 440, width: 720?). |
No I was thinking about the This was done because validations needed to be tied to missions, the Validate missions are set to 10 labels, but doing a validation through LabelMap, Gallery, etc. doesn't have a specific number of labels in the mission, so we just made a new mission type for them. I'm assuming we could use this to figure out which ones are from the Validate page. Though everything else hasn't been delineated in a way that we could use. |
@misaugstad ready for review! |
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.
Looking pretty good, just looking to fix a couple things and rename a few other things!
@misaugstad ready for review! |
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.
Looks great, thank you @dylanbun !!
Resolves #3164
Added a new column, source. Logs locations of where users did their validations. Possiblities are GalleryCard, GalleryExpanded, LabelMap, ValidateDesktop, ValidateMobile, AdminLabelMap, AdminLabelSearch, AdminUserDashboard, and AdminContributionPage. Since we now have a way to distinguish between ValidateDesktop and ValidateMobile, removed the is_mobile column from the label validation table.
Before/After screenshots (if applicable)
Before:
After:
Testing instructions
Things to check before submitting the PR