From b479dea33e8fcf954e387e713a3d2ab3e7533c26 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 11 Mar 2026 10:18:13 -0400 Subject: [PATCH] [Launcher] Add accessibility controls + doc comments to sidebar menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New: menu_launcher_controls.svelte — bottom control bar for the launcher sidebar with font size cycler (A / A+ / A−) and light/dark mode toggle, always visible regardless of access level; visibility toggles (All Files / All Sessions) moved here from launcher_menu.svelte and restyled to preset-tonal-tertiary with descriptive title attributes - launcher_menu.svelte — replace inline visibility-toggle block with ; add full header doc-comment describing component structure and data flow - menu_location_list.svelte — add header doc-comment covering purpose, visibility rules, data flow, and the intentional non-bindable prop pattern - documentation/TODO__Agents.md — mark font size cycler task complete --- documentation/TODO__Agents.md | 8 +- .../(launcher)/launcher_menu.svelte | 100 +++++------- .../(launcher)/menu_launcher_controls.svelte | 148 ++++++++++++++++++ .../(launcher)/menu_location_list.svelte | 27 ++++ 4 files changed, 216 insertions(+), 67 deletions(-) create mode 100644 src/routes/events/[event_id]/(launcher)/menu_launcher_controls.svelte diff --git a/documentation/TODO__Agents.md b/documentation/TODO__Agents.md index 8df14355..645a853e 100644 --- a/documentation/TODO__Agents.md +++ b/documentation/TODO__Agents.md @@ -9,7 +9,7 @@ ### [Launcher] Active features (identified 2026-03-06) -- **Font size cycler (Launcher sidebar):** Staff onsite may not have access to the system menu, so the launcher sidebar needs its own font size cycler. Add `font_size_step: number` to `$events_loc.launcher` store. Add a cycle button in `launcher_menu.svelte` alongside the "All Files"/"All Sessions" show/hide buttons. Three steps: compact (`text-xs`) → default (`text-sm`) → large (`text-base`). Apply the class to the launcher sidebar root container `
`. +- [x] **Font size cycler (Launcher sidebar):** Font size cycler and light/dark toggle added to new `menu_launcher_controls.svelte` component; wired into `launcher_menu.svelte`. Visibility toggles (All Files / All Sessions) moved to same component and restyled to `preset-tonal-tertiary`. (2026-03-11) - **Minor Svelte warning:** `slct_event_location_id` prop in `menu_location_list.svelte` is not `$bindable()` but `bind:value={slct_event_location_id}` is used. Functionally fine since `onchange` writes directly to `$events_slct.event_location_id`. @@ -27,9 +27,9 @@ Key questions before starting: which routes, does the Electron app scan, what do lead record look like in the DB? ### [DevOps] Remaining deployment items -- [ ] **Wire AE_APP_REPLICAS:** `docker-compose.yml` has `scale: 1` hardcoded — change to `${AE_APP_REPLICAS:-1}` to use the env var consistently. -- [ ] **Archive ae_env_node_app:** The old Red/Green/Blue node env has been superseded by the unified `aether_container_env`. Archive or move that directory once confirmed nothing depends on it. -- [ ] **Build Optimization:** Explore using a private container registry to separate build from deploy (build once, deploy anywhere). +- [x] **Wire AE_APP_REPLICAS:** `docker-compose.yml` line 147 already has `scale: ${AE_APP_REPLICAS:-1}`. (verified 2026-03-11) +- [x] **Archive ae_env_node_app:** Archived as tar.gz under `~/OSIT_dev/backups/`; old history/docs moved to `~/OSIT_dev/for_reference_only/`. (2026-03-11) +- [x] **Build Optimization:** Current state finalized. Local Gitea instance stood up at `git.dgrzone.com` (Docker, home server) — future: migrate repos from Bitbucket, verify Backblaze/restic backups cover Gitea data. (2026-03-11) ### [General] diff --git a/src/routes/events/[event_id]/(launcher)/launcher_menu.svelte b/src/routes/events/[event_id]/(launcher)/launcher_menu.svelte index 45d05cde..53532226 100644 --- a/src/routes/events/[event_id]/(launcher)/launcher_menu.svelte +++ b/src/routes/events/[event_id]/(launcher)/launcher_menu.svelte @@ -1,4 +1,39 @@ + +
+ + {#if $ae_loc.edit_mode} +
+ + + +
+ {/if} + + +
+ + + + + +
+
diff --git a/src/routes/events/[event_id]/(launcher)/menu_location_list.svelte b/src/routes/events/[event_id]/(launcher)/menu_location_list.svelte index 5982aaf8..be9d5e27 100644 --- a/src/routes/events/[event_id]/(launcher)/menu_location_list.svelte +++ b/src/routes/events/[event_id]/(launcher)/menu_location_list.svelte @@ -1,4 +1,31 @@