Repository navigation
Build My Events with upcoming/past registrations and cancellation - #44
Merged
Merged
Conversation
Collaborator
Author
|
@saitunguturu ready |
saitunguturu
force-pushed
the
codex/my-events-38
branch
from
November 17, 2026 01:57
61585a2 to
53afc9d
Compare
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.
👍 What's new in this PR
Closes #38.
Adds
/my-eventswith the signed-in participant's registrations joined to workshop details, split into Upcoming and Past. Users can open each event and cancel an upcoming registration with an inline confirmation.attendance_status = 'cancelled'. Failed or zero-row updates retain the event and show an error. Repeat clicks are blocked while saving./my-workshopsto the new page. Adds My Events navigation and links workshop names to their participant detail pages.No database migrations or dependency changes.
Screenshots
Live hosted Supabase data using clearly labeled fictional test workshops.
Two active registrations:
After cancelling Resume Workshop, only Networking Workshop remains:
Mobile and Past section
👍 How to review
Review
lib/my-events.tsandtests/my-events.test.mjsfirst, then the new page/styles and navigation changes.Validation completed
git diff --check, andnext build --webpackpass.Reviewer walkthrough: sign in, open a workshop and register, then follow My Events. Cancel and reload. Try Keep registration, re-register, and use Refresh events. With a past registration, confirm it is listed without a cancel action.
👍 Next steps
Uses the existing
/workshopsroutes on main and does not require open #41. When #41 lands, participant browsing can use its/eventsroutes. Reconcile the small profile/detail navigation additions when merging overlapping #33 and #41.👍 Relevant links