Skip to content

Create event form#46

Open
exyw wants to merge 8 commits intomasterfrom
create-event-form
Open

Create event form#46
exyw wants to merge 8 commits intomasterfrom
create-event-form

Conversation

@exyw
Copy link
Collaborator

@exyw exyw commented Feb 17, 2026

Summary
This PR introduces the full Create Event flow for club profiles and wires it end‑to‑end with Supabase + the OpenAI events vector store. It also adds the Events card to club pages and enables owners to edit events directly.

Major changes

  • Create Event form built and styled to match the mock (poster preview, color theme, sections).
  • Add Event bottom sheet + edit mode (prefilled Create Event form).
  • Club Events card added to club profiles (draggable chunk), showing upcoming events.
  • Owner‑only expand/collapse list and edit flow.
  • Supabase persistence for events + location + pricing.
  • Vector store upload on create + sync on edit; delete endpoints included.
  • Thumbnail uploads to Supabase Storage (bucket: auto_instagram_cache).

Notes / TODO

  • Storage upload requires bucket policy (see TODO in storage.ts).
  • Event tags still placeholders (not persisted yet).

Testing

  • Create event and verify it appears in Events card.
  • Edit event and confirm data updates + vector store sync.
  • Thumbnail upload succeeds.
  • Owner “show all / show less” works; non‑owners still see modal view.

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