diff --git a/GEMINI.md b/GEMINI.md index 52857bde..88c01ed7 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -68,6 +68,7 @@ This project is the frontend UI/UX for the Aether (AE) system, built with Svelte - **V3 API Hardening:** Updated `search_ae_obj_v3` to correctly serialize all object-type `params` into the URL, enabling complex filtering like `ft_qry`. - **Event Session Search:** Restored full business logic mapping for session search, including `ft_qry`, `lk_qry`, and `and_qry`. - **Service Worker:** Fixed 404 on `/manifest.json` path in `app.html` and restored `service-worker.js` to standard SvelteKit state to resolve evaluation errors. +- **Service Worker Mitigation:** Disabled automatic service worker registration in `svelte.config.js` to resolve persistent `TypeError` during script evaluation. Moved debugging tool to `src/routes/testing/fix-sw/`. ### Hardening & V3 Stabilization (2026-01-20) - **IDAA Search Hardening:** Isolated IDAA Recovery Meetings to a specialized `qry_ae_obj_li__event_v2` function. Restored full 154-result capacity and implemented "Inclusive OR" location logic (Virtual/In-person). diff --git a/TODO.md b/TODO.md index 95e1d451..da61cf6f 100644 --- a/TODO.md +++ b/TODO.md @@ -12,7 +12,10 @@ This is a list of tasks to be completed before the next event/show/conference. - [ ] **Event Badge Search:** Restore specialized business logic. - [ ] **Exhibit Search:** Restore missing search function and logic. - [ ] **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:** Monitor for `TypeError` after manifest path fix and evaluation hardening. +2. **Service Worker Reliability (Mitigated):** + - [x] **Disable Auto-Registration:** Temporarily disabled `serviceWorker.register` in `svelte.config.js` to stop `TypeError` loop. + - [x] **Fix Tool:** Moved `fix-sw` utility to `/testing/fix-sw` for future debugging. + - [ ] **Root Cause Investigation:** Re-enable SW registration later and debug why the script evaluation fails (likely caching or build artifact issues). 3. **Aether Native V3:** Technical planning complete. Ready to scaffold the new Electron 33+ shell and implement the V3 "Zero-Config" bridge. 4. **Jitsi Module Updates:** Prepare for upcoming demo. Audit `video_conferences/+page.svelte` for UI/UX improvements and stability. diff --git a/src/lib/ae_events_functions.ts b/src/lib/ae_events_functions.ts index 6fe1b4bd..b6c5f81c 100644 --- a/src/lib/ae_events_functions.ts +++ b/src/lib/ae_events_functions.ts @@ -76,8 +76,7 @@ const export_obj = { // Event Files load_ae_obj_id__event_file: event_file.load_ae_obj_id__event_file, load_ae_obj_li__event_file: event_file.load_ae_obj_li__event_file, - create_event_file_obj_from_hosted_file_async: - event_file.create_event_file_obj_from_hosted_file_async, + create_event_file_obj_from_hosted_file_async: event_file.create_event_file_obj_from_hosted_file_async, delete_ae_obj_id__event_file: event_file.delete_ae_obj_id__event_file, update_ae_obj__event_file: event_file.update_ae_obj__event_file, qry__event_file: event_file.qry__event_file, diff --git a/src/routes/testing/fix-sw/+page.svelte b/src/routes/testing/fix-sw/+page.svelte new file mode 100644 index 00000000..9e4a3ffb --- /dev/null +++ b/src/routes/testing/fix-sw/+page.svelte @@ -0,0 +1,71 @@ + + +
Attempting to unregister all service workers and clear caches to fix the TypeError loop.
+ +