Skip to content

#776 USB Import Wizard#781

Merged
lprichar merged 16 commits intomainfrom
story/776-wizard
Sep 6, 2022
Merged

#776 USB Import Wizard#781
lprichar merged 16 commits intomainfrom
story/776-wizard

Conversation

@lprichar
Copy link
Copy Markdown
Contributor

@lprichar lprichar commented Sep 6, 2022

Issue

Fixes #776

Description

Adds an alternative screen for importing from USB devices. This screen only shows up when you're running locally from Python (e.g. make egui). It is cancellable by hitting the subtle "x" button in the top right which will return to the old ballot upload screen. On load it looks for a USB device with an artifacts directory. If it doesn't find one, it prompts the user to insert a drive and allows them to click "Scan Drives" to look again.

image

When it finds a candidate it displays information from the drive:

image

When the user clicks "Import" it shows a status description during upload:

image

On success it notifies if there were any warnings or issues and allows the user to import again or exit out:

image

Testing

Try using the wizard as described above.

Comment thread src/electionguard_gui/web/components/admin/upload-ballots-wizard-component.js Outdated
Copy link
Copy Markdown
Contributor

@SteveMaier-IRT SteveMaier-IRT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Copy Markdown
Contributor

@SteveMaier-IRT SteveMaier-IRT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good.

@lprichar lprichar merged commit 18f20a7 into main Sep 6, 2022
@lprichar lprichar deleted the story/776-wizard branch September 6, 2022 17:13
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.

✨ Ballot Import USB Wizard

2 participants