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

Implement badge barcode scanning #374

Merged
merged 4 commits into from
Jan 26, 2024
Merged

Implement badge barcode scanning #374

merged 4 commits into from
Jan 26, 2024

Conversation

taesungh
Copy link
Member

@taesungh taesungh commented Jan 26, 2024

As part of #360, still buggy, we need to ship now

  • Install html5-qrcode for scanning barcodes
  • Store and provide badge number for participants
    • Update check-in POST request to send badge number
    • Update check-in endpoint to store badge number
    • Update participants endpoint to provide badge numbers
  • Implement badge scanner with html5-qrcode
    • Still some weird useEffect issues with scanner opening twice

taesungh and others added 4 commits January 26, 2024 13:15
- Update check-in POST request to send badge number
- Update check-in endpoint to store badge number
- Update participants endpoint to provide badge numbers
- Still some weird `useEffect` issues with scanner opening twice
},
)
if not update_status:
raise RuntimeError(f"Could not update check-in record for {uid}.")

log.info(f"Applicant {uid} checked in by {associate.uid}")

log.info(f"Applicant {uid} ({badge_number}) checked in by {associate.uid}")

async def confirm_attendance_non_hacker(uid: str, director: User) -> None:
Copy link
Contributor

Choose a reason for hiding this comment

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

[black-format] reported by reviewdog 🐶

Suggested change
async def confirm_attendance_non_hacker(uid: str, director: User) -> None:
async def confirm_attendance_non_hacker(uid: str, director: User) -> None:

Copy link
Contributor

Deploy preview for irvinehacks-site-2024 ready!

Name IrvineHacks 2024 Site
Preview Visit Preview
Commit c72a97a

@taesungh taesungh merged commit 95eb46d into main Jan 26, 2024
4 checks passed
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.

1 participant