diff --git a/documentation/TODO__Agents.md b/documentation/TODO__Agents.md index ecac4589..268b6e4f 100644 --- a/documentation/TODO__Agents.md +++ b/documentation/TODO__Agents.md @@ -98,6 +98,36 @@ suddenly jumps to 0 errors, verify it's not because a bad `.d.ts` replaced a pac (trashed to `~/tmp/gemini_trash/shadcn_components_ui_2026-03-27`). Removed from `package.json` and `package-lock.json` on 2026-04-02. +### [IDAA] Jitsi config editor + live site fix +- [ ] **Fix live site (id=17) `jitsi_token_endpoint` pointing to dev-api:** DB has + `https://dev-api.oneskyit.com/api/jitsi_token` for both site 10 and site 17 (IDAA live). + Need to update site 17 in **production** to `https://api.oneskyit.com/api/jitsi_token`. + SQL: `UPDATE site SET cfg_json = JSON_SET(cfg_json, '$.jitsi_token_endpoint', 'https://api.oneskyit.com/api/jitsi_token') WHERE id = 17;` + +- [ ] **Add IDAA Jitsi config editor UI** to the jitsi_reports page (administrator_access only), + alongside the existing Jitsi URL Builder section. Should allow editing key fields in + `site_cfg_json` without needing phpMyAdmin: + - `jitsi_token_endpoint` — the JWT signing endpoint (needs to point to prod) + - Jitsi domain default (currently hardcoded as `jitsi.dgrzone.com` fallback in the page) + - `novi_jitsi_mod_li` — list of Novi UUIDs who get moderator privileges + Read from `$ae_loc.site_cfg_json`, PATCH the site record via V3 CRUD + (`PATCH /v3/crud/site/{id}/`), reload `$ae_loc.site_cfg_json` on save so it takes + effect without re-login. + +### [PWA] Service worker ignoring `chrome-extension://` requests +Browser console shows repeated errors: +```text +TypeError: Failed to execute 'put' on 'Cache': Request scheme 'chrome-extension' is unsupported +``` +The service worker's fetch/install handler is trying to cache requests with `chrome-extension://` +URLs (injected by browser extensions), which the Cache API rejects. Fix: filter out non-`http`/`https` +requests before attempting to cache. In the service worker fetch handler, add a guard: +```js +if (!event.request.url.startsWith('http')) return; // skip chrome-extension:// etc. +``` +Locate in `static/service-worker.js` or the Vite PWA plugin config. Low severity — doesn't break +functionality, but pollutes the console and may cause unhandled promise rejections. + ### [Badges] Remaining badge work before first live event - **Badge print controls UX polish:** Scott has improvements in mind — TBD next session. File: `ae_comp__badge_print_controls.svelte`.