feat: created admin capabilities to create events, these display on t… - #197
Merged
Conversation
axyc13
commented
Aug 5, 2026
- implemented admin ability to create events using the pre-existing table in supabase (get, put, delete functions added under events folder in /api) and also the ability to assign an event to multiple users
- added 2 fields on the events table on supabase for images (url and path)
- images display on the corresponding profile
- admin dashboard page now includes creation, deletion and editing of events (to access, search /admin and add NEXT_PUBLIC_ADMIN_ADDRESSES={your wallet address} in .env
…he associated user's profile
7 tasks
Replace the static gallery with a data-driven page that reads events from Supabase, splits them into upcoming and past, and adds a /pages/events/[id] detail route with a placeholder Register flow.
Group the dashboard into blue section cards on the site's standard panel shell, and extract SectionCard and AdminField primitives. Form is now always open, with Cancel replaced by Reset.
Their get-names endpoint can hang indefinitely, stalling whichever admin request is waiting on it. Abort after 10s with a clear message.
Each capability gets its own route (overview, events, claims, attendance) with a pill tab bar. Auth state moves into a layout context so it survives navigation between tabs.
# Conflicts: # src/components/events.tsx
rebeccafitzpatr
approved these changes
Aug 14, 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.