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

Attendance fix #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Attendance fix #64

wants to merge 2 commits into from

Conversation

ChrisShobe
Copy link
Collaborator

A counter variable tracks the number of registered people for every new event. This reduces the runtime when loading attendance on the admin page. Currently, all old events without this variable display "Loading...", but for all future events, they will display the correct number faster than before.

Created a count variable for events & edited register page to update the variable every time someone scans the QR code
admin page now calls counter function in Firestore to track the number of events

previous events that do not have the counter variable will display "Loading..."
Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
acm-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 10:42pm
acm-website-test ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 10:42pm

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