Hardening: Restore V3 Search legacy compatibility and fix Hosted File specialized delete logic
- Restored legacy query aliases (qry_ae_obj_li__event, qry__event_file, etc.) across Event modules to fix build errors.
- Fixed Hosted File deletion logic in core__hosted_files.ts to use specialized /hosted_file/{id} endpoint with fake_delete support.
- Standardized ID field usage (hosted_file_id vs hosted_file_id_random) in Archive Content and Event File upload components.
- Updated TODO.md to reflect completed search restoration tasks.
This commit is contained in:
5
TODO.md
5
TODO.md
@@ -10,8 +10,8 @@ This is a list of tasks to be completed before the next event/show/conference.
|
||||
- [ ] Update `ae_comp__journal_entry_obj_qry.svelte` to use dynamic `$journals_loc` values for `enabled` and `hidden` parameters instead of hardcoded strings.
|
||||
- [ ] Verify that the search results correctly respect these filters.
|
||||
2. **Hardening V3 Search (Continued):**
|
||||
- [ ] **Event Presenter Search:** Restore specialized business logic.
|
||||
- [ ] **Event Badge Search:** Restore specialized business logic.
|
||||
- [x] **Event Presenter Search:** Restore specialized business logic. (Completed 2026-01-21)
|
||||
- [x] **Event Badge Search:** Restore specialized business logic. (Completed 2026-01-21)
|
||||
- [ ] **Exhibit Search:** Restore missing search function and logic.
|
||||
- [ ] **IDAA Result Limit:** Fix the over-fetching issue where the `limit` parameter is ignored after client-side filtering.
|
||||
|
||||
@@ -23,6 +23,7 @@ This is a list of tasks to be completed before the next event/show/conference.
|
||||
- [x] **Event Session Search:** Finalized and verified. Added `default_qry_str` to V3 body. (Completed 2026-01-21)
|
||||
- [x] **IDAA Recovery Meetings Search:** Restored functionality using V3 `search__event` with `default_qry_str`. (Completed 2026-01-21)
|
||||
- [x] **Journal Entry Search:** Fixed `match` operator error (switched to `like`) and resolved iteration crashes by unwrapping API envelopes. (Completed 2026-01-21)
|
||||
- [x] **Legacy Compatibility:** Restored `qry_ae_obj_li__event`, `qry__event_file`, `qry__event_session`, and `qry__event_badge` aliases to resolve build errors and support Reports. (Completed 2026-01-21)
|
||||
- [ ] **Global Rule:** Preserve `ft_qry`, `lk_qry`, and `and_qry` blocks as "sacred" business logic. Never put non-searchable fields in the POST body.
|
||||
2. **Service Worker Reliability (Mitigated):**
|
||||
- [x] **Disable Auto-Registration:** Temporarily disabled `serviceWorker.register` in `svelte.config.js` to stop `TypeError` loop.
|
||||
|
||||
Reference in New Issue
Block a user