Display attendee counts on event cards#2104
Merged
maernest04 merged 2 commits intodevfrom Apr 27, 2026
Merged
Conversation
steeevin88
requested changes
Apr 26, 2026
Collaborator
steeevin88
left a comment
There was a problem hiding this comment.
can you rebase + add screenshots
- Fetch attendance summaries from SCEvents - Show attendee counts on event cards for admins - Submit event registration forms to SCEvents - Format event date and time for display - Only treat completed registrations as successful
ff6a3a6 to
f3517aa
Compare
steeevin88
approved these changes
Apr 26, 2026
Collaborator
steeevin88
left a comment
There was a problem hiding this comment.
thanks for adding the screenshot!
adarshm11
approved these changes
Apr 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR for #2098
Problem
Event cards did not show how many people were going, even though event platforms like Luma and Facebook Events commonly display a
{number} goingcount.This depends on backend support from
SCE-Development/SCEvents#95.Solution
{number} people going.Files Changed
Clark/src/APIFunctions/SCEvents.jsClark/src/Pages/Events/Events.jsClark/src/Pages/Events/EventsRegistation.jsOther Changes Made
Event Registration Now Submits To SCEvents
The event registration page previously showed a success message without creating a SCEvents registration.
Solution: added
registerForSCEventand wired the registration form toPOST /events/:id/register.Registration Success Message Is Stricter
Clark could show success even when SCEvents had not completed the registration.
Solution: only treat
201 Createdfrom SCEvents as a completed registration.Event Date And Time Are Easier To Read
Event cards previously displayed raw date/time values.
Solution: format dates as month/day/year text and times in 12-hour AM/PM format.
Possible Follow-Up Issues
Screenshots
Member view
Admin view