Implement event registration logic for SCEvents#2073
Merged
steeevin88 merged 3 commits intodevfrom Apr 8, 2026
Merged
Conversation
steeevin88
reviewed
Apr 3, 2026
Collaborator
steeevin88
left a comment
There was a problem hiding this comment.
looks good! maybe we can discuss in the server more about the UI
a few things though:
- could we remove the blue line? seems like it gets messed up with longer titles
- can we also maybe just have the event name? instead of "Register for..."
- just my two cents but maybe could we make the title a bit smaller? ex. Google Forms' titles aren't super big + bold. obviously though the title should still be relatively big, maybe just less bold is good
Collaborator
|
can you add updated screenshots? and just to make sure this is properly gated, could you try going to everything else lgtm though, thanks |
steeevin88
approved these changes
Apr 3, 2026
Comment on lines
+207
to
+212
| { | ||
| Component: EventRegistration, | ||
| path: '/events/:id/register', | ||
| pageName: 'Event Registration', | ||
| hideFromShortcutSuggestions: true | ||
| }, |
Collaborator
There was a problem hiding this comment.
hmm, this suggests the existence of per-event pages, which doesn't exist yet but i think we definitely will have this in the future; nice proactive design 😄
| import config from '../../config/config.json'; | ||
| import { getEventByID } from '../../APIFunctions/SCEvents'; | ||
|
|
||
| function ArrowLeftIcon() { |
Collaborator
There was a problem hiding this comment.
i think we should probably add an icon library to Clark 😅 let's keep this for now but maybe we can open an issue for this to update all icons across Clark
trista-chen-29
approved these changes
Apr 8, 2026
miiiyyi
approved these changes
Apr 8, 2026
maernest04
pushed a commit
that referenced
this pull request
Apr 8, 2026
maernest04
pushed a commit
that referenced
this pull request
Apr 8, 2026
maernest04
added a commit
that referenced
this pull request
Apr 9, 2026
* Added SCEvents ability to create event * Fix indent issues * Modified the scevents api port * Simplified code, removed unnecessary functions * Implement event registration logic for SCEvents (#2073) * Added SCEvents ability to create event * Fixing rebase problems * Made changes to SCEvents.js with Steven's comments --------- Co-authored-by: Quoc Anh Khoa Nguyen <anhkhoa17092006@gmail.com>
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.
Issues 2071
Add New Registration Page
Features:
-Created a premium-styled registration form with glassmorphism effects.
-Dynamic Form Rendering: The page now automatically generates form fields based on the registration_form data from the event (supporting textboxes, dropdowns, radio buttons, and checkboxes).
-Mock Submission: When a user submits the form, it displays a detailed alert with a summary of their responses.
after change:

after change:

after change:

Sample Data:
[
{
"id": "alumni-talk-2026",
"name": "Alumni Industry Talk",
"date": "2026-04-15",
"time": "6:00 PM",
"location": "Room 123",
"description": "Hear from SCE alumni working in industry.",
"admins": [],
"registration_form": [],
"max_attendees": 80,
"created_at": "2026-03-31",
"status": "published"
},
{
"id": "company-tour-2026",
"name": "Company Tour",
"date": "2026-04-20",
"time": "2:00 PM",
"location": "San Jose Tech HQ",
"description": "Tour a real tech company office.",
"admins": [],
"registration_form": [],
"max_attendees": 40,
"created_at": "2026-03-31",
"status": "published"
},
{
"id": "resume-workshop-2026",
"name": "Resume Workshop",
"date": "2026-04-25",
"time": "4:30 PM",
"location": "ENG 285",
"description": "Get feedback on your resume and prepare for internship season.",
"admins": [],
"registration_form": [],
"max_attendees": 60,
"created_at": "2026-03-31",
"status": "published"
}
]