-
Notifications
You must be signed in to change notification settings - Fork 8
New sample ballot and associated tweaks #89
Conversation
Deploy preview for vw-bmd ready! Built with commit c27c604 |
with the tests heavily dependent on the simple Mickey Mouse / Minnie Mouse ballot, for now I'm leaving that file in there. It was in |
I think it'd be great to use a less mousey sample. I just made a bunch of changes to the |
Re: SVG - they are vectors and scale very well. To make them resizable:
|
Also, compress every SVG with this: https://jakearchibald.github.io/svgomg/ |
Also, SVG images can have "alt" text (or |
c4fd3bc
to
572822f
Compare
src/components/SeatContest.test.tsx
Outdated
const Q1Candidates = electionSample.contests[0]!.candidates | ||
const Q1Candidate1 = Q1Candidates[0]!.name | ||
const Q1Candidate2 = Q1Candidates[1]!.name | ||
const Q1Candidate3 = Q1Candidates[2]!.name |
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.
this introduces new work that needs to be done --> #100 |
@beausmith there is one issue I can't quite figure out, which is how to enforce that tests are typescript-checked. Appears to be a limitation with a workaround I can't quite find. Let me know if you're game to merge this before we figure it out, certainly happy to fix typescripting of tests once we can figure out how to make it part of the build process. I believe I addressed everything else, without trying to make |
I have been aware of If I run Please do the following:
|
…g run on old ballot.
0924fd2
to
c27c604
Compare
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.
LGTM
Resolves #114 |
started building up the new sample ballot.
@beausmith would love your thoughts on how best to size the SVG for the seal. It appears in two places on the ballot and needs different sizing, so seems like SVGs that have built-in width/height might be tricky, but then again I'm not an SVG expert.