OOOC Fête Finder uses a stable event identity model so shared links continue working even when event content is edited or rows are reordered in the admin.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/KingPsychopath/oooc-fete-finder/llms.txt
Use this file to discover all available pages before exploring further.
Core model
Each event has three identity components:eventKey: Canonical immutable identity (e.g.,evt_ab12cd34ef56)- Event content: Editable fields (name, date, location, genre, etc.)
slug: Human-readable URL text (decorative, not used for lookup)
Only
eventKey is canonical for event lookup. The slug is purely decorative for SEO and user experience.URL contract
Public share links use this pattern:Redirect behavior
The/event/[eventKey]/[[...slug]]/ route:
- Sets OpenGraph metadata for social sharing
- Redirects to homepage with query parameters:
- Homepage modal state opens the event based on
eventparameter
If the slug is wrong or missing, the app still resolves the event correctly using only the
eventKey.Event key generation
Event keys are generated using deterministic hashing:Generation algorithm
- Normalize fields: Convert to lowercase, remove accents, trim whitespace
- Build fingerprint: Concatenate stable keys in order
- Hash with SHA-256: Generate cryptographic hash
- Truncate and prefix: Take first 16 characters, prefix with
evt_
View normalization implementation
View normalization implementation
Collision handling
If two events generate the same key, a salt is added:Key validation
Valid event keys must match this pattern:- Must start with
evt_prefix - Hash portion must be 12-20 lowercase alphanumeric characters
- No uppercase, spaces, or special characters
CSV and admin behavior
Import behavior
When importing CSV data:CSV imports accept
Event Key column (plus common aliases like eventKey, event_key). Missing or invalid keys are generated and persisted.Export behavior
CSV exports always include theEvent Key column:
Admin editor
In the admin event sheet editor:Event Keycolumn is read-only- Cannot be manually edited
- System-managed field
Slug generation
Slugs are generated from event names for user-friendly URLs:Determinism rules
Event key behavior is deterministic and predictable:- Existing valid keys are preserved across saves and imports
- Missing keys are generated from normalized row content
- Collisions are resolved with deterministic salt increment
- Same content produces same key (without salt)
What breaks existing links
Shared links will break if:- Manually changing an existing Event Key in CSV before import
- Removing Event Key column after keys were already established
- Intentionally assigning a new identity for what should be a different event
Operational note
After enabling event identity features or migrating data:- Load your current event data in admin
- Save once to generate and persist keys
- Export CSV to verify keys are included
- Future imports will preserve these keys
Share link flow
Complete flow from share link to event display:Client-side modal state
The homepage reads event identity from URL:The slug parameter is ignored for lookup. It’s only used to preserve user-friendly URLs in the address bar.
Database queries
Event key is indexed for fast lookups:Related documentation
Architecture overview
System architecture and data contracts
Data flow
Event processing and key hydration
Engagement tracking
How event keys enable per-event analytics
API endpoints
Event lookup and tracking endpoints