Repository navigation
feat(events): public /events listing page (#282) - #342
Merged
presidojay1 merged 2 commits intoOct 16, 2026
Merged
Conversation
StellarTickets#110 was closed but /events never existed, so attendees could only find tickets through the marketplace. The new page calls the backend's public GET /events (published, non-deleted events, paginated) and lists each event's name, category, date range, venue and organizer, with loading, empty, error and prev/next pagination states. No sign-in required. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
StellarTickets#282) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@jakespepe Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
❌ Deploy Preview for stellartickets failed.
|
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.
Changes
New
src/app/events/page.tsx(public, no sign-in required)GET /events?page=&limit=20(EventsController.findPublished), which returns onlyPUBLISHEDevents, excludes soft-deleted events and orgs, orders bystartsAt, and includesorganization { name, slug }.<time dateTime>element), venue and organizer.FormError) states. Previous/Next pagination from the response'stotal/limit, witharia-busywhile a page loads.Supporting changes
src/lib/types.ts: newPaginated<T>(items,total,page,limit), matching the backend'sPaginatedResponseInterceptoroutput.src/lib/events.ts:EVENTS_PAGE_SIZEandformatEventDate. They live outsidepage.tsxbecause Next.js only allows page-specific exports there.src/components/navbar.tsx: new Events link, visible to everyone.src/app/sitemap.ts:/eventsadded.Testing
src/app/events/page.test.tsx(3 tests, all passing):dateTimefrom/events?page=1&limit=20vitest run src/components src/app/robots.test.tsstill passestsc --noEmitandeslintare clean for the touched filesCloses Add a public events listing page #282
Closes Organization page does not show the event start date #283
Closes Organization page event form defaults to CONCERTS #284
Closes Organization page event form cannot set the resale cap or royalty #285