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

VxAdmin: Only show card programming modal on smart cards screen #5417

Merged

Conversation

jonahkagan
Copy link
Collaborator

@jonahkagan jonahkagan commented Sep 18, 2024

Overview

Short term fix for #5388

Instead of showing the card programming modal on any screen when logged in as a sys admin, only show it on the smart cards screen. This will prevent users from accidentally resetting their system admin card PIN.

In addition, add the smart cards screen to the system admin left nav when unconfigured (to maintain the existing ability to program sys admin cards without configuring the machine). Note that currently the smart cards screen will have some misleading copy about creating election cards when unconfigured, but I'll be updating that screen in the next PR, so it's just a momentary issue.

Demo Video or Screenshot

Screen.Recording.2024-09-18.at.12.44.49.PM.mov

Testing Plan

Manual test and updated automated tests

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

In addition, add the smart cards screen to the system admin left nav
when unconfigured (to maintain the existing ability to program sys admin
cards without configuring the machine). Note that currently the smart
cards screen will have some misleading copy about creating election
cards when unconfigured, but I'll be updating that screen in the next
PR, so it's just a momentary issue.
@jonahkagan jonahkagan marked this pull request as ready for review September 18, 2024 21:50
@jonahkagan jonahkagan requested review from a team and eventualbuddha and removed request for a team September 18, 2024 21:51
@jonahkagan jonahkagan merged commit d11431c into main Sep 19, 2024
62 checks passed
@jonahkagan jonahkagan deleted the jonah/only-show-card-programming-modal-on-smartcard-screen branch September 19, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants