Skip to content

feat: advanced event configuration and professional ticketing system - #64

Merged
Satelink-Protocol merged 1 commit into
mainfrom
feature/advanced-event-config-and-ticketing
Nov 24, 2026
Merged

Satelink-Protocol merged 1 commit into
mainfrom
feature/advanced-event-config-and-ticketing

Conversation

@Satelink-Protocol

Copy link
Copy Markdown
Contributor

Summary

Implements the 4 independently optional modules transforming NIGHTLIFEZ's event creation into a flexible event configuration and professional ticketing platform:

  1. Event Facilities & Amenities:

    • Predefined facility categories (Parking, Food & Beverages, Accessibility, Medical & Safety, Other) + custom facilities.
    • Organiser multi-selection and custom additions with titles and descriptions.
    • Public event page rendering grouped by category with accessible indicators.
  2. Offers & Discount Engine:

    • Percentage (%) and fixed flat (₹) discounts.
    • Optional promo codes, minimum quantities, minimum order amounts, and per-event maximum discount caps.
    • Server-side authoritative integer paise calculations; safe zero-floor clamping.
    • Tracked offer redemptions and organiser performance analytics reporting.
  3. Interactive Venue Layout & Section-Based Ticketing:

    • Visual venue section configuration (Stage, VIP, Fanpit, Gold, General Standing, etc.).
    • Section-specific capacities, base pricing, and status states (active, sold_out, hidden).
    • Transactional PostgreSQL row-locking reservation guards preventing capacity overselling.
  4. Sales Timeline & Scheduled Pricing Phases:

    • Staged pricing phases (Early Access, Pre-Sale, General Sale, Final Release).
    • Authoritative server clock evaluation (active, upcoming, ended).
    • Phase price overrides, phase quotas, and private access codes.

Architecture & Non-Breaking Invariants

  • Database Migration 033: Fully verified clean run and idempotent re-run against PostgreSQL.
  • Direct UPI & Zero-Gateway: Direct attendee-to-organiser payments seamlessly respect unified pricing engine discounts and phase pricing. No gateway dependencies or live financial flags enabled.
  • Backwards Compatibility: Free events and simple social meetups require 0 configuration in these modules and continue to publish smoothly.

Verification Evidence

  • Lint: 237/237 files pass cleanly (node scripts/lint.js).
  • Unit & Integration: 1,245 tests pass, 0 fail across all 68 test files (test/*.test.js).
  • Dedicated Suite: 11/11 tests pass in test/advanced-event-ticketing.test.js.
  • E2E Playwright: Desktop and mobile (320px–430px) pass in e2e/wizard-tap-targets.spec.js.

@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
strangersmeetup Ready Ready Preview Nov 24, 2026 3:23pm UTC

@Satelink-Protocol
Satelink-Protocol changed the base branch from feature/direct-organiser-upi-payment to main November 24, 2026 15:18
- Migration 033: schema for event facilities, venue layouts & sections, sales phases, offers & discounts, and booking price snapshots
- Module 1: Predefined and custom event facilities & amenities with category grouping and public event page display
- Module 2: Offers & discount engine supporting percentage and flat discounts, promo codes, minimum quantities, caps, and organiser analytics
- Module 3: Visual interactive venue layout & section-based ticketing with stage/VIP/fanpit/gold presets, per-section pricing/capacity, and row-locking reservation guards
- Module 4: Sales timeline & scheduled pricing phases with server-clock authoritative state evaluation, phase price overrides, quotas, and access code unlocks
- Integrated unified pricing engine into direct UPI checkout flow, maintaining zero live gateway dependencies and preserving full backward compatibility for free events
- Organiser wizard extensions with dedicated configuration cards and responsive mobile tap-target guards
- Full test coverage with 11 new integration tests in advanced-event-ticketing.test.js and migration 033 verification
@Satelink-Protocol
Satelink-Protocol force-pushed the feature/advanced-event-config-and-ticketing branch from 5e50a56 to ff5773c Compare November 24, 2026 15:23
@Satelink-Protocol
Satelink-Protocol merged commit 9fe1bba into main Nov 24, 2026
3 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

Development

Successfully merging this pull request may close these issues.

1 participant