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 interim subevent check-in system #377

Merged
merged 3 commits into from
Jan 27, 2024

Conversation

taesungh
Copy link
Member

@taesungh taesungh commented Jan 27, 2024

All temporary, as part of #359, add endpoints and interface to check-in participants to subevents. Still has a bug where the old badge number is automatically reinserted into input.

Copy link
Contributor

github-actions bot commented Jan 27, 2024

Deploy preview for irvinehacks-site-2024 ready!

Name IrvineHacks 2024 Site
Preview Visit Preview
Commit ebfe028

@@ -117,3 +117,13 @@ async def confirm_attendance_non_hacker(uid: str, director: User) -> None:
raise RuntimeError(f"Could not update status to ATTENDING for {uid}.")

log.info(f"Non-hacker {uid} status updated to attending by {director.uid}")


async def subevent_checkin(event_id: str, uid: str, organizer: 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.

Docstring, but can leave it for later.



@router.post("/event-checkin/{event}")
async def subevent_checkin(
Copy link
Contributor

Choose a reason for hiding this comment

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

Docstring

apps/api/src/admin/participant_manager.py Show resolved Hide resolved
apps/site/src/app/admin/events/Events.tsx Show resolved Hide resolved
@samderanova samderanova merged commit 2263491 into main Jan 27, 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.

2 participants