feat: Stellar Wave — sales velocity chart, landing API, event detail, manage tabs#519
Merged
BigBen-7 merged 1 commit intoJun 30, 2026
Conversation
…ead-Studios#394, Lead-Studios#460 - Lead-Studios#460: add SalesVelocityChart (AreaChart, 7/30/90d window, peak highlight) and EventAnalyticsTab (useSWR, quick stats, ticket mix) - Lead-Studios#394: replace trendingEvents mock with useSWR + fetchEvents() on landing page; show 3 skeletons while loading, fill from recent if <3 featured; remove trendingEvents from mocks/landing.ts and TrendingEvent from types/landing.ts - Lead-Studios#372: extract EventHero, TicketSelector, PurchaseModal components; split page into server wrapper (generateMetadata) + EventDetailClient; use useEvent() hook instead of manual fetchEventById - Lead-Studios#367: create EventManagementTabs with Overview/Edit/TicketTypes/Attendees/Analytics tabs; rewrite manage/[eventId]/page.tsx to use it; status transitions respect backend lifecycle
|
@BashMan11 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! 🚀 |
BigBen-7
approved these changes
Jun 30, 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.
Summary
Resolves all four Stellar Wave issues assigned to BashMan11.
Closes #460 — Sales velocity chart
SalesVelocityChart(RechartsAreaChart, 7d/30d/90d toggle, peak-day dot + tooltip)EventAnalyticsTab(useSWR →fetchEventAnalytics, quick-stats grid, ticket-mix bars)Closes #394 — Landing page real API data
trendingEventsmock withuseSWR+fetchEvents()trendingEventsfrommocks/landing.tsandTrendingEventfromtypes/landing.tsCloses #372 — Complete event detail page
EventHero,TicketSelector,PurchaseModalas standalone componentsgenerateMetadatafor SEO title/description) +EventDetailClientfetchEventById+useEffectwithuseEvent()SWR hookPurchaseModalcallsPOST /api/ordersand showsStellarPaymentInstructionson successCloses #367 — Event management page with tabs
EventManagementTabswith five tabs: Overview · Edit · Ticket Types · Attendees · AnalyticsPATCH /api/events/:iduseEventInventoryAttendeesTabEventAnalyticsTab+SalesVelocityChartFiles changed
src/components/dashboard/charts/SalesVelocityChart.tsx(new)src/features/events/components/EventAnalyticsTab.tsx(new)src/features/events/components/EventHero.tsx(new)src/features/events/components/TicketSelector.tsx(new)src/features/events/components/PurchaseModal.tsx(new)src/features/events/components/EventManagementTabs.tsx(new)src/app/(public)/events/[eventId]/EventDetailClient.tsx(new)src/app/(public)/events/[eventId]/page.tsx(updated — server wrapper + generateMetadata)src/app/(public)/page.tsx(updated — useSWR, skeletons, real API)src/app/(protected)/events/manage/[eventId]/page.tsx(updated — uses EventManagementTabs)src/mocks/landing.ts(removed trendingEvents)src/types/landing.ts(removed TrendingEvent)