Skip to content

feat(events): public /events listing page (#282) - #342

Merged
presidojay1 merged 2 commits into
StellarTickets:mainfrom
jakespepe:feat/282-public-events-page
Oct 16, 2026
Merged

presidojay1 merged 2 commits into
StellarTickets:mainfrom
jakespepe:feat/282-public-events-page

Conversation

@jakespepe

@jakespepe jakespepe commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Changes

New src/app/events/page.tsx (public, no sign-in required)

  • Calls the backend's public GET /events?page=&limit=20 (EventsController.findPublished), which returns only PUBLISHED events, excludes soft-deleted events and orgs, orders by startsAt, and includes organization { name, slug }.
  • Each event shows name, category, date (start, or a start–end range, in a <time dateTime> element), venue and organizer.
  • Loading, empty ("No events are published right now.") and error (FormError) states. Previous/Next pagination from the response's total/limit, with aria-busy while a page loads.

Supporting changes

  • src/lib/types.ts: new Paginated<T> (items, total, page, limit), matching the backend's PaginatedResponseInterceptor output.
  • src/lib/events.ts: EVENTS_PAGE_SIZE and formatEventDate. They live outside page.tsx because Next.js only allows page-specific exports there.
  • src/components/navbar.tsx: new Events link, visible to everyone.
  • src/app/sitemap.ts: /events added.

Testing

jakespepe and others added 2 commits October 16, 2026 09:06
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>
@drips-wave

drips-wave Bot commented Oct 16, 2026

Copy link
Copy Markdown

@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! 🚀

Learn more about application limits

@netlify

netlify Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for stellartickets failed.

Name Link
🔨 Latest commit ba61ebc
🔍 Latest deploy log https://app.netlify.com/projects/stellartickets/deploys/6ad1db38ca5a4a93be43e083

@presidojay1
presidojay1 merged commit 299a83e into StellarTickets:main Oct 16, 2026
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants