The latest ballots #91
Replies: 9 comments 9 replies
-
t's Friday, that means it's time for a new generated ballot. Today's single-precinct ballot includes:
The enclosed ballot was generated with the command:
I'm pleased to say that all automated tests (pytest and linting on Python 3.8, 3.9 and 3.10 on Mac, Windows, and Linux) pass -- that's 9 total automated tests, all green PDF, 168KB: |
Beta Was this translation helpful? Give feedback.
-
@trustthevote some minor layout changes and the ballot now fits easily on two pages. |
Beta Was this translation helpful? Give feedback.
-
More improvements to the layout, including
All of these modifications will help to reduce total page count. |
Beta Was this translation helpful? Give feedback.
-
I'm posting a day early this week, because I'll be out of the office all day tomorrow. I believe this ballot sample addresses all five of the issues still open on 1. Generate flat PDFs from Jetsons EDF Milestone:
Feedback appreciated! |
Beta Was this translation helpful? Give feedback.
-
Ballot with clickable check boxes placed correctly in the candidate contest tables. As soon as I get the Sept data hooked in, I’ll add the actual candidate IDs; right now I’m using the Candidate Name. As a result, you can check or uncheck a Write In and they’ll all toggle because they share the same name. I set the checkmark to “checked” because you can’t see the location of the unchecked checkboxes in many PDF readers (like, say, Mac Preview). |
Beta Was this translation helpful? Give feedback.
-
Great to see the embedding here. But you do know it is not a checkbox to be embedded? And it is not for interactive use, at least not this iteration Not a checkbox but an oval, behind which is the item named with the ballot-selection-id. Cliff has worked example of output. FYI, the apps job is to find the named item of a ballot-selection-id of a selection that the user made; and then replace it with a graphic of the filled oval |
Beta Was this translation helpful? Give feedback.
-
@trustthevote @ion-oset @cwulfman Here's four (4) ballots generated directly from the September test data JSON file, including the invisible widgets, intended to fulfill the Phase 2 requirements. Please review. precinct_1_downtown_2022_09_16T204516.pdf |
Beta Was this translation helpful? Give feedback.
-
Here's the same set of ballots, but with the form widgets made visible. precinct_1_downtown_2022_09_16T204852.pdf |
Beta Was this translation helpful? Give feedback.
-
Lots of progress!b Maybe not done though I need @cwulfman to examine the internals of these 4 widgetized documents to make sure that they are widgetized in the same way as the placeholders that Cliff made for the app to use. If they are not widgetized the same way, then likely they won't work with the app. I suspect that they are not widgetized the same way, because they look different in both adobe and preview than the placeholders:
In phase one, we had some very basic ballots that proved methods for having a widgetized blank ballot with just an oval showing, and I believe that Cliff used the same techniques in his placeholders. This is important, because the app only deals with the widgets for a voter's selections, getting the location of the oval, deleting the widget, overlaying with a filled oval. For the non-selections, the widgets will still be there, hence must be obscured by the white oval. In the previous version I saw checkbox widgets that were invisible when unchecked, and they would be fine if the white oval was on top. I think that Cliff is going to need to look at the widgetization code, compare to his version, and maybe to the phase 1 versions, which Anne has somewhere. |
Beta Was this translation helpful? Give feedback.
-
Here's a place to put ballot PDFs as they roll off the production line. Comments welcome!
Beta Was this translation helpful? Give feedback.
All reactions