Comments (3)
Cool, thanks for these pointers @MorganLove. I don't think we should try to make all of our UUIDs human-readable. That will make them much longer than we strictly need them to be for the purposes of someone typing them in.
Agree that we'll need some work on the backend to store and retrieve the human-readable tokens to UUID correspondences.
from arlo.
@benadida If we are redirecting from a human readable url like /auditboard/blue-elephant-spring
to the actual url like /election/{uuid}/board/{uuid}
we need to store those correlations in the database. And so we'd need to either generate them on the front end and pass it back when creating audit boards, or have them generated on the back end and returned in the jurisdictions
array. And also we'll need to have an endpoint for getting the correlated /election/{uuid}/board/{uuid}
url from POSTing a blue-elephant-spring
type of token when someone navigates to /auditboard/{human_token}
.
(List in original issue updated.)
from arlo.
@benadida I found a library that could generate these sorts of human readable uuids: https://github.com/linus/greg
Here is a port of it for python: https://gist.github.com/prschmid/4447660
Ideally, in order to guarantee that we do not have duplicates issued, they should be generated on the server side and checked to make sure they are unique in the database before being sent to the front end, just in case.
from arlo.
Related Issues (20)
- Support tools: tighten up criteria for an active audit
- Arlo tally entry screen - add next batch button
- This may fall under just needing to redesign steps - but I was just uploading files for a batch comparison audit and could upload a manifest but not a contest totals by batch file b/c the jurisdiction hadn't been assigned to the audit yet
- Display the date an audit was created and/or completed somewhere in the audit admin screen
- Support tool button that allows the download of a list of audit admins/jurisdiction managers by org HOT 1
- When Iām monitoring on my phone, I have to flip my screen to get to audit setup
- Batch: generate contest totals by batch template
- Second round escalation in batch comparison needs review
- Audit progress: progress map on JM screens
- Ability to track valid reasons for discrepancies in audit progress screens
- Collect JM names and phone numbers upon Arlo login
- Ability to track or log upload failures to assist in future training
- Date(s) audit will be conducted in setup details, in addition to, election date
- multi-audit dashboard for audit admins monitoring multiple audits
- Upgrade Postgresql database version HOT 1
- Parse CVRs for all systems to create contest totals by batch files
- Contest totals by batch from ES&S CVR files (for RI and PA) HOT 1
- Batch: discrepancy analysis for contest totals by batch files
- Hart CVR parsing for WA county with two servers HOT 1
- Upgrade Poetry and remove buildpack stopgap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arlo.