From 587b81544630053813eb5bf61c7b89afe142e9af Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Fri, 22 May 2026 15:58:38 -0400 Subject: [PATCH] docs(todo): mark composable flow + slide scripts done; add event_file cfg_json backend task Co-Authored-By: Claude Sonnet 4.6 --- documentation/TODO__Agents.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/documentation/TODO__Agents.md b/documentation/TODO__Agents.md index d5f36cea..ee7691d8 100644 --- a/documentation/TODO__Agents.md +++ b/documentation/TODO__Agents.md @@ -5,11 +5,10 @@ ## 🔴 CMSC Charlotte — May 27 (Presentation Management) **Drive down:** May 25 | **Setup:** May 26 morning | **Show:** May 27+ -- [ ] **[Launcher] Composable open flow** — refactor `handle_open_file()` to use - `copy_from_cache_to_temp` + `run_osascript` / `run_cmd` directly instead of the all-in-one - `launch_from_cache`. Finer error handling at each step. -- [ ] **[Launcher] Slide control scripts in Svelte config** — Move AppleScript one-liners from - Electron to device config or Svelte constants. +- [x] **[Launcher] Composable open flow** — `handle_open_file()` uses `copy_from_cache_to_temp` + + `run_osascript` / `run_cmd` directly with per-step error handling. Complete. +- [x] **[Launcher] Slide control scripts in Svelte config** — AppleScript post_scripts live in + `ae_launcher__default_launch_profiles.ts`. VLC focus-stealing fix applied. Complete. - [ ] **[Launcher] `kill_processes` target list in config** — Implement UI for manual "Kill Apps" button and auto-cleanup on file open. - [ ] **[Launcher] End-to-end test on macOS** — test pptx and key opens on a real podium Mac. @@ -79,6 +78,12 @@ The app uses `svelte-persisted-store` (coarse reactivity). Migration target: rep ## ⚙️ DevOps & Backend +- [ ] **[Backend] `event_file` — add `cfg_json` column (post-CMSC)** — The per-file display + override currently uses a localStorage workaround (`$events_loc.launcher.file_display_overrides`) + because `event_file` has no JSON blob column. Proper fix: add `cfg_json` to the `event_file` DB + table, expose it through the FastAPI model, then migrate the frontend back to reading/writing the + backend field (restoring global/cross-device persistence). Frontend code is in + `launcher_file_cont.svelte` — search for `file_display_overrides`. - [ ] **[Backend] Re-add `Access-Control-Allow-Private-Network: true` CORS header.** - [ ] **[DevOps] Nginx caching** — Investigate `index.html` cache-pickup issues. - [ ] **[DevOps] Simplify Dockerfile env file selection** — Use plain `.env` instead of `BUILD_MODE`.