feat: Events module (Spec 2) — multistage timetable, pricing & homepage coupling#1
Open
mrwind-up-bird wants to merge 30 commits into
Open
feat: Events module (Spec 2) — multistage timetable, pricing & homepage coupling#1mrwind-up-bird wants to merge 30 commits into
mrwind-up-bird wants to merge 30 commits into
Conversation
Multistage timetable, artist-or-free-text appearance slots (role-as-edge), display-only price tiers (category + early-bird windows), and homepage line-up coupled to the main event's appearances. Builds on Spec 1 (Artist). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rds) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…O meta inputs + soldout JSON-LD
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Replaces the ♪ placeholder on all 7 line-up artists with their official festival photos (hosted on e-ventschau.de, an allowed next/image host). Set in both upsert create+update so existing rows update on re-seed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
New tenant-scoped Events module for e-Ventschau, mirroring the shipped Artist module.
Event+ nestedStage/Appearance/PriceTier— role-as-edge timetable, artist-link XOR free-text slots, display-only price tiers (cascade deletes, scoped@@unique([tenantId, slug]))./eventslist +/events/[slug]detail with a responsive timetable (desktop Bühne×Zeit grid + mobile agenda), line-up, prices, andMusicEventJSON-LD. Artist "Auftritte" section wired up./programm-2026→ 308 redirect to the canonical event. Events added to the sitemap./admin/events): list with status-checked publish/feature toggles, create, and a full edit page (Plate description, Cloudinary hero picker, SEO meta, stage manager + timetable builder via granular sub-resource endpoints, price-tier editor).ADMIN/SUPER_ADMIN), fetch-then-tenant-check IDOR guards on every[id]/sub-resource, explicit PUT field-allowlists (no body spread), cross-tenant artist-link guard, price-tier replace-all in a single$transaction.Europe/Berlin. Idempotent seed of the e-Ventschau 2026 festival (2 stages, 10 appearances, 4 price tiers).src/lib/slug.ts(re-exported fromartist-validation.ts, zero breakage).Test Plan
npx tsc --noEmitcleannpm run buildsucceeds (54 pages)slug,event-validationviatsx, incl. umlaut/Nordic slug + XOR/time-order/currency invariants)/events,/events/e-ventschau-2026,/programm-2026(308→canonical), homepage line-up,/kuenstler/rovarAuftritte all rendernote, premature-save blanking) + admin load status-checks + SEO meta inputs🤖 Generated with Claude Code