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:
20
src/routes/events/[event_id]/(badges)/README.md
Normal file
20
src/routes/events/[event_id]/(badges)/README.md
Normal 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.
|
||||
Reference in New Issue
Block a user