HackAtUCI / irvinehacks-site-2024

https://irvinehacks.com
1 stars 1 forks source link

[PMS] Display check-in status for each day of the event #344

Open taesungh opened 7 months ago

taesungh commented 7 months ago

Following from #341, to indicate who has checked into the event, we can have three columns, one for each day, based on the check-in entries provided by the API. To offload the work from the API, the actual computation of whether or not a participant has checked in on a given day can happen on the client. To avoid a full data refetch, we can Mutate Based on Current Data in the useParticipants hook where the /admin/checkin/{uid} endpoint returns the update data for the current participant.