-
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
Adds an admin version of Validate #3510
Conversation
…Webpage into 3496-admin-validate
This is awesome! Would it be possible to put the following in a information pop-up linked by an (i) icon or something? Just feels like it's a dump of information not relevant to key tasks (super helpful to know about but not necessary to burn screen real estate to show at all times? also clutters things) |
I agree that it looks bad, and that could definitely be done... I just don't think it's worth it to work on making it look nicer when this is already only for admins and we are about to completely redo the look of the Validate page! |
Resolves #3496
Adds Admin Validate, an admin version of the Validate page that shows additional information and lets admins filter for what labels they want to be validating. When an admin is signed in, they can find the page from the drop down menu in the navbar below the regular admin page.
Instead of the example images, the right sidebar will show who placed the label you're validating, who has validated this label in the past, and what the outcome of those validations were.
Using query parameters, you can choose which label type to validate, filter down to a list of users, and filter down to a list of neighborhoods to pull the labels you validate from. For each of these filters, you can specify either the ID number (labelTypeId, userId, regionId) or the actual name (e.g., "CurbRamp", "jonfroehlich", "Laurelhurst"). And all of them can be used in conjunction. I've added some instructions to the page for how to use the query parameters for the less technically savvy, and if any inputs don't match something in the database, I'm trying to return a reasonable error message!
Screenshots
A view of the navbar
A full view of the page where you can see the URL I used. I even mixed and matched one username and one userId! 😁
A closer look at the sidebar with the info
Things to check before submitting the PR