docs: archive Field Editor V3 project (complete), update Pres Mgmt status (~70% with regressions)

This commit is contained in:
Scott Idem
2026-06-12 17:54:38 -04:00
parent e89c982022
commit 03b3c84921
4 changed files with 37 additions and 17 deletions

View File

@@ -1,9 +1,9 @@
# Project: Pres Mgmt Config Cleanup & Config UI
**Status:** Planning / Ready to Execute
**Priority:** High (BGH conference in ~2 weeks; only one active event using pres_mgmt)
**Status:** 🟡 ~70% Complete — Core Working, Cleanup Pass Needed
**Priority:** Medium (core features functional; remaining work is deprecation + consistency)
**Created:** 2026-04-02
**Last Updated:** 2026-06-12
**Last Updated:** 2026-06-12 (regression audit)
**Related:** `TODO__Agents.md`, `PROJECT__Stores_Svelte5_Migration.md`
---
@@ -202,15 +202,27 @@ Safe and backward compatible — old DB records fall through to `?? false` defau
## Implementation Steps
- [ ] **Step 1** — Define `PressMgmtRemoteCfg` TypeScript interface (new file or in `ae_events__event.ts`)
- [ ] **Step 2** — New `ae_events_stores__pres_mgmt.svelte.ts` with `PersistedState`; add version gate to `store_versions.ts`
- [ ] **Step 3** — Rewrite `sync_config__event_pres_mgmt()` in `ae_events__event.ts` to use canonical keys and write to the new store
- [ ] **Step 4** — Build config UI page at `(pres_mgmt)/pres_mgmt/config/+page.svelte` (manager_access + edit_mode gated)
- [ ] **Step 5** — Strip `ae_comp__event_settings_pres_mgmt_form.svelte` from settings page (or replace with a link to new page)
- [ ] **Step 6** — Migrate all `$events_loc.pres_mgmt.*` references in pres_mgmt templates to `pres_mgmt_loc.current.*`
- [ ] **Step 7** — Update BGH (and any other active events) via new UI
- [x] **Step 1** — Define `PressMgmtRemoteCfg` TypeScript interface (new file or in `ae_events__event.ts`)
- [x] **Step 2** — New `ae_events_stores__pres_mgmt.svelte.ts` with `PersistedState` ⚠️ **Missing:** version gate in `store_versions.ts`
- [x] **Step 3** — Rewrite `sync_config__event_pres_mgmt()` in `ae_events__event.ts` to use canonical keys ⚠️ **Issue:** `show__launcher_link_legacy` hard-coded instead of synced from remote
- [x] **Step 4** — Build config UI page at `(pres_mgmt)/pres_mgmt/config/+page.svelte` (manager_access + edit_mode gated)
- [ ] **Step 5** — Strip `ae_comp__event_settings_pres_mgmt_form.svelte` from settings page (or replace with a link to new page) **BLOCKING**
- [x] **Step 6** — Migrate all `$events_loc.pres_mgmt.*` references in pres_mgmt templates to `pres_mgmt_loc.current.*`
- [ ] **Step 7** — Update BGH (and any other active events) via new UI (blocked on Step 5)
- [ ] **Step 8**`npx svelte-check` clean; commit
### Regression Fixes Needed (2026-06-12 Audit)
- [ ] **Add `show__launcher_link_legacy` to `PressMgmtRemoteCfg`** or remove entirely if deprecated
- Currently hard-coded to `true` in sync function (line 1054 `ae_events__event.ts`)
- Can't be controlled via config UI
- [ ] **Resolve `hide__launcher_link*` local/remote conflict**
- Menu toggles ([ae_comp__events_menu_opts.svelte](../src/routes/events/ae_comp__events_menu_opts.svelte) lines 462-494) use `hide__launcher_link` for LOCAL UI state
- Remote schema uses `show__launcher_link` (inverted)
- Decision: Keep separate? Document clearly? Unify?
- [ ] **Add `AE_PRES_MGMT_LOC_VERSION` to `store_versions.ts`** (Step 2 requirement)
- [ ] **Clean `hide__launcher_link*` from defaults** if truly deprecated (lines 154-155, 333-334 in `pres_mgmt_defaults.ts`)
### Step 6 scope (mechanical find-replace)
The `$events_loc.pres_mgmt` pattern appears across: