Skip to content
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

libs/hmpb cleanup #4882

Merged
merged 8 commits into from
May 28, 2024
Merged

libs/hmpb cleanup #4882

merged 8 commits into from
May 28, 2024

Conversation

jonahkagan
Copy link
Collaborator

Overview

Task: #4559

Cleans up the unused code and code structure that resulted from implementing the new ballot rendering stack.

Notably, removes two features from VxDesign:

  • NH custom content
  • Ballot density/bubble position controls

These are better implemented in the future as template-specific parameters.

More details in commits!

Demo Video or Screenshot

N/A

Testing Plan

Relying on automated tests. Plus did a manual test of impacted VxDesign features.

Checklist

  • I have added logging where appropriate to any new user actions, system updates such as file reads or storage writes, or errors introduced.
  • I have added a screenshot and/or video to this PR to demo the change
  • I have added the "user_facing_change" label to this PR to automate an announcement in #machine-product-updates

Also create a `preview` dir for browser preview specific files
We don't support it in the VX ballot template, since we'll instead want
to build a separate NH ballot template. I'd like to come up with a more
general way to add custom parameters for ballot templates, so there's
not much value in keeping this feature around.
The new VX ballot template doesn't support these parameters. My guess is
that changing the bubble position will be state-specific and therefore
be better implemented in a different template (rather than trying to
have complex templates that support both bubble positions). Density may
be a feature we want to implement, but if we do decide to keep it, I'd
like to make it a template-specific parameter.
Most of these changes are rote, though I also updated the README and
accidentally snuck those changes into this commit.
@jonahkagan jonahkagan marked this pull request as ready for review May 28, 2024 17:46
@eventualbuddha
Copy link
Collaborator

I removed the old libraries from the required passing CI jobs. I'll add libs/hmpb when this merges.

@jonahkagan
Copy link
Collaborator Author

I removed the old libraries from the required passing CI jobs. I'll add libs/hmpb when this merges.

Thanks!

@jonahkagan jonahkagan enabled auto-merge (squash) May 28, 2024 18:36
@jonahkagan jonahkagan merged commit af03d2b into main May 28, 2024
61 checks passed
@jonahkagan jonahkagan deleted the jonah/hmpb-cleanup branch May 28, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants