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

Remove most kiosk APIs #171

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

eventualbuddha
Copy link
Collaborator

Pairs with votingworks/vxsuite#5637. Keeps the kiosk APIs that vxsuite still needs.

We no longer use these in `vxsuite`:
- `kiosk.saveAs`
- `kiosk.showSaveDialog`

Also fixes a couple small things:
- `kiosk.quit` does not take an exit code
- `kiosk.captureScreenshot` should return a `Uint8Array` and not a `Buffer`
They don't provide much value since they really only test `captureScreenshot`, and this whole project is (hopefully) not long for this world.
src/preload.ts Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you still think we should remove the integration tests since we're keeping kiosk-browser around for now?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good question. I couldn't even get them running locally, so I think their current value isn't awesome. That said, we probably shouldn't kill them.

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