fix(data_store): implement hierarchical priority logic in liveQuery; update project plans

This commit is contained in:
Scott Idem
2026-02-09 19:03:06 -05:00
parent fe4380f819
commit c1750dd04e
3 changed files with 108 additions and 46 deletions

52
TODO.md
View File

@@ -29,28 +29,33 @@ This is a list of tasks to be completed before the next event/show/conference.
- [x] **Session Search:** Modernized logic, fixed layout bugs and icon exports. (Completed 2026-01-27)
- [x] **Exhibit Search:** Standardized Exhibitor and Lead Tracking reactive search. (Completed 2026-01-28)
## Urgent Tasks (Feb 5, 2026)
## Urgent Tasks (Feb 9, 2026)
1. **IDAA Module Verification:**
- [ ] **Bulletin Board (BB):**
- [ ] **Bulletin Board (BB):** 90-95% Ready for Beta Test.
- [x] Verify Post/Comment create/edit (Resolved IntegrityErrors).
- [ ] **STALLED:** Verify email notifications for staff and original posters (Confirmed NOT working).
- [x] Loading Optimization: Simplified `+page.ts` fetches.
- [ ] Verify anonymous toggle and hide/priority admin flags.
- [ ] Test file attachments on Posts and optimize inline image display.
- [ ] **Loading Optimization:** Simplify `+page.ts` post loading context to eliminate redundant fetches.
- [ ] Test file attachments on Posts.
- [x] **Archives:** Tested and working well. (Completed 2026-02-09)
- [ ] **Recovery Meetings:**
- [ ] Verify all search filters.
- [ ] Audit full editing workflow (70% done).
- [ ] Verify special code/copy buttons for Zoom/Jitsi.
- [ ] **View and Edit:** View and Edit of an IDAA Recovery Meeting still needs to be fully tested.
2. **Events - Presentation Management:**
- [ ] **Basics:** Ensure all core presentation management features are fully functional.
- [ ] **Uploads:** Verify direct file uploads to Presenter, Session, Location, and Event.
3. **Events - Badges:**
2. **Events - Badges:** Partially editable; needs full field implementation.
- [ ] **Rendering:** Verify Badge Template pulling and correct rendering.
- [ ] **Editing:** Ensure basic fields (name, affiliations, badge type) are editable.
- [ ] **Editing:** Convert manual `editable_` fields and placeholders to `Element_ae_crud_v2` for robust field editing (Full Name, Title, Affiliations, etc.).
3. **Events - Leads/Tracking:** 80-90% done; ready for demo. (Pausing until later this week/next week)
4. **Framework - WebSockets:**
- [ ] **Migration:** Update `element_websocket_v2.svelte` to V3 standards (Svelte 5 Runes, robust reconnection, and V3 API alignment).
- [x] **Authentication:** Staff Passcode / Licensee Sign-in.
- [x] **Portal Management:** Admin Tools & Licensee sync.
- [x] **Sync Telemetry:** Refresh indicators.
- [ ] **Stripe Integration:** Payment flow verification.
- [ ] **Attendee Opt-in:** Verify logic.
## Urgent Tasks (Feb 4, 2026)
@@ -82,12 +87,13 @@ This is a list of tasks to be completed before the next event/show/conference.
---
## Current Priorities (Feb 3, 2026)
## Current Priorities (Feb 9, 2026)
1. **Codebase Hygiene:**
- [ ] **CRUD v2 Review:** Perform a comprehensive review/enhancement of 'Element_ae_crud_v2.svelte' (Mobile accessibility, 'Select' mode, workflow optimization).
- [ ] **Type Mismatch Resolution:** Resolve remaining simple type mismatches flagged by `svelte-check` (currently ~160).
- [ ] **Bite-Sized Refactoring:** Split large components (>800 lines) into modular sub-components (e.g., `ae_idaa_comp__event_obj_id_edit.svelte`).
1. **Framework Hardening:**
- [ ] **CRUD v2 Refactor:** Implement the refactor plan for `Element_ae_crud_v2.svelte` (V3 API alignment, Svelte 5 Runes, Mobile accessibility).
- [x] **Project Plan:** Created formal strategy in `documentation/PROJECT_AE_OBJECT_FIELD_EDITOR_V3_UPGRADE.md`.
- [ ] **Type Mismatch Resolution:** Resolve remaining simple type mismatches flagged by `svelte-check` (currently ~230).
- [ ] **Bite-Sized Refactoring:** Split large components (>800 lines) into modular sub-components.
2. **Reactivity & Performance:**
- [x] **Search Guard Pattern:** Deployed project-wide to eliminate infinite loops.
- [x] **Shared Observables:** Refactored lists to accept `liveQuery` props for flicker-free SWR transitions.
@@ -118,6 +124,18 @@ This is a list of tasks to be completed before the next event/show/conference.
- [x] **Compiler Error Resolution:** Fixed 40+ critical errors including duplicate attributes in multi-line tags and missing `untrack` imports in Svelte 5 effects.
- [x] **Hosted Files Modernization:** Standardized all download, link, and upload components across the platform.
## Recent Accomplishments (Feb 9, 2026)
- **IDAA Module Validation:**
- [x] **Archives:** Fully validated as working well; verified media loading, playback, and linked file management.
- [x] **Bulletin Board (BB):** Reached 95% readiness for beta testing; optimized data loading and verified core post/comment workflows.
- **Exhibitor Leads Module (V3):**
- [x] **Standardization:** Completed naming alignment across library and routes (e.g., `load_ae_obj_id__event_exhibit`).
- [x] **Rich Text Integration:** Implemented TipTap support for booth descriptions and exhibitor notes.
- [x] **Readiness:** Module verified at 80-90% completion and ready for demonstration.
- **Refactoring Tooling:**
- [x] **Strategic Planning:** Added DX task to evaluate and implement robust CLI symbol renaming tools to reduce refactoring toil.
## Recent Accomplishments (Feb 8, 2026)
- **Exhibitor Leads Module (V3 Completion):**