ProjectSidewalk / SidewalkWebpage

Project Sidewalk web page
http://projectsidewalk.org
MIT License
83 stars 24 forks source link

Adds new Validate page to validate tags and severity #3573

Closed misaugstad closed 3 months ago

misaugstad commented 3 months ago

Working towards #2859

Adds a new Validate page (only visible by going to /newValidateBeta for now) that allows editing of tags and severity for labels, in addition to the usual features of Validate.

Also renames our Validate buttons everywhere from Agree / Disagree / Not Sure to Yes/No/Unsure!

First, let me list out a few things that I still need to do before this gets pushed to prod. Though I wanted to get what we have no on test so that people can try it out and give feedback!

  1. The mission complete screen styling is messed up
  2. Need to add more logging
  3. Need to add translations for a lot of things on the page
  4. I want to deprioritize sending validations to people if an Admin has already validated them. If an admin has spent the time to add/remove tags, I think it's best if (for the most part) we aren't sending out those labels to other users for them to overwrite our edits!

And some additional features I am already thinking about and want to make tickets for (unless anyone disagrees!):

  1. Ordering the list of tags by prevalence in the current city, making it easier to find the tags you're looking for
  2. Adding tooltips over the suggested Disagree rationale buttons w/ more explanation and an example screenshot
  3. Adding buttons to the Unsure section, similar to the Disagree section (things like "label is too far away" or "need another angle to be sure")
  4. Check if users are validating for awhile without ever changing the tags/severity, and pop something up to remind them that they should be doing that (maybe even offering to send them to the old version of Validate if they don't want to edit tags/sev?)
  5. Allow undoing more than a single label
Some screenshots!

Screenshot from 2024-06-20 13-49-45 Screenshot from 2024-06-20 13-50-04 Screenshot from 2024-06-20 13-50-17 Screenshot from 2024-06-20 13-50-41 Screenshot from 2024-06-20 13-50-48

Things to check before submitting the PR