feat: Refactor event modules for Svelte 5 and new routing structure

- Moved legacy event modules (`events_badges`, `events_leads`) to `src/routes/legacy/` and renamed them to `events_badges_v2` and `events_leads_v2` respectively.
- Created new directory structures for Svelte 5 and SvelteKit-based event modules under `src/routes/events/[event_id]/`:
    - `(launcher)`
    - `(badges)`
    - `(leads)`
- Updated `src/routes/events_leads/README.md` (now `src/routes/legacy/events_leads_v2/README.md`) with comprehensive documentation for the legacy lead retrieval module, reflecting its features, data model, routing, components, and technical implementation details, incorporating project conventions.
This commit is contained in:
Scott Idem
2025-11-19 22:45:50 -05:00
parent bd4bd360f7
commit d1021e2822
37 changed files with 76 additions and 19 deletions

View File

@@ -0,0 +1,20 @@
# Events Badges Module (v3)
This module manages badge-related features for events.
# Event Badges Module (v3)
This directory contains the Svelte components and pages for the "v3" Badge Printing module for a specific event.
## Key Features
- **Search:** A reactive search page (`+page.svelte` and `ae_comp__badge_search.svelte`) for finding attendee badges.
- **Printing:** Functionality for printing individual and lists of badges.
- **CRUD Operations:** Components for creating, viewing, updating, and deleting badges.
- **Templates:** A system for managing different badge layouts and templates.
## Technical Notes
- This module is built using Svelte 5 (runes) and Flowbite-Svelte for UI components.
- It relies on the `events_func` and `ae_events__event_badge.ts` for its business logic and API communication.
- The search functionality was recently debugged to resolve a series of build and runtime errors related to CSS conflicts, Svelte 5 reactivity, and API query parameter issues.