refactor(events, idaa): standardize on String-only IDs and remove '_random' suffix
Aligned the Events Badges, Templates, and IDAA Bulletin Board modules with Aether UI/UX v3 standards by prioritizing semantic String IDs (e.g., event_id, badge_id) over legacy '_random' variants in API helpers, Dexie processors, and UI components. - Refactored badge and template loaders to use clean ID field names. - Updated search and LiveQuery logic in badge management views. - Cleaned up unused imports and legacy code in +layout and +page components. - Standardized ID mapping in generic object processors. - Improved IDAA post creation UX with autofocus and empty title defaults.
This commit is contained in:
@@ -4,16 +4,15 @@
|
||||
|
||||
## 📋 Active Task: Badge Rendering Fix
|
||||
- [x] **Step 1:** Investigate `event_badge_template` table for corrupted numeric IDs. (Confirmed Fine / Database Integrity OK)
|
||||
- [ ] **Step 2:** Verify Pydantic model alignment in backend for Badge types.
|
||||
- [ ] **Step 3:** Implement field editing for "Full Name", "Title", "Affiliations" using `Element_ae_crud_v2`.
|
||||
- [ ] **Step 4:** Coordination (Handshake with Backend regarding MariaDB schema integrity).
|
||||
- [ ] **Step 5:** Finalize & Commit.
|
||||
- [ ] **Step 2:** Refactor `badge_template` lookup in `+page.svelte` to use V3 Triple ID pattern (`id_random` or `event_badge_template_id_random`).
|
||||
- [ ] **Step 3:** Implement inline field editing using `Element_ae_crud_v2.svelte` for badge fields (Admin tool pattern).
|
||||
- [ ] **Step 4:** Finalize & Commit.
|
||||
|
||||
## 🚧 Upcoming High Priority
|
||||
- **CRUD v2 Refactor:** Implement V3 API alignment for `Element_ae_crud_v2.svelte`.
|
||||
- **Temp Cleanup:** Auto-removal of native `.tmp` files older than 24h.
|
||||
|
||||
## 📝 Session Notes (Feb 11, 2026)
|
||||
- **Resolved:** Launcher Session Selection Hang.
|
||||
- **Pattern:** Implemented "Navigation Shield" and "Side-Effect Purge" to stop reactivity loops.
|
||||
- **Linter:** Fixed missing Lucide icon imports.
|
||||
## ✅ Completed Recently
|
||||
- [x] **[IDAA]** Verify Bulletin Board functionality.
|
||||
- [x] **[IDAA]** Verify Recovery Meetings functionality.
|
||||
- [x] **[Journals]** Fix buttons missing `type="button"`.
|
||||
|
||||
Reference in New Issue
Block a user