docs: normalize Pres Mgmt cleanup formatting

This commit is contained in:
Scott Idem
2026-06-12 17:10:31 -04:00
parent 7831179970
commit fd7ccd7ecc

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)
**Created:** 2026-04-02
**Last Updated:** 2026-06-12
**Status:** Planning / Ready to Execute
**Priority:** High (BGH conference in ~2 weeks; only one active event using pres_mgmt)
**Created:** 2026-04-02
**Last Updated:** 2026-06-12
**Related:** `TODO__Agents.md`, `PROJECT__Stores_Svelte5_Migration.md`
---
@@ -18,7 +18,7 @@ The `event.mod_pres_mgmt_json` config grew organically across several conference
- Duplicate keys with different names (`file_purpose_option_kv` = `file_purpose_option_li`)
- Dead config (`HOLD__*` prefix)
- Type inconsistency (`label__person_external_id: false` vs `"LCI member ID"` string)
- Keys in the DB not consumed by `sync_config__event_pres_mgmt()`
- Keys in the DB not consumed by `sync_config__event_pres_mgmt()`
- Bug: `label__session_poc_name_short` is read then immediately overwritten (line 970-972 in ae_events__event.ts)
- `hide_launcher_link` / `hide_launcher_link_legacy` missing the `__` separator (inconsistent)
- `show_content__presentation_description` uses a third naming convention
@@ -136,7 +136,7 @@ interface PressMgmtRemoteCfg {
## New Svelte 5 Local Store
**Do NOT touch `events_loc` or the paused Svelte 5 migration.**
**Do NOT touch `events_loc` or the paused Svelte 5 migration.**
Instead, create a standalone store for pres_mgmt local config.
**File:** `src/lib/stores/ae_events_stores__pres_mgmt.svelte.ts`
@@ -163,9 +163,9 @@ AFTER: pres_mgmt_loc.current.hide__session_code
## Config UI Page
**Route:** `/events/[event_id]/(pres_mgmt)/pres_mgmt/config/`
**Access:** `$ae_loc.manager_access` only
**Button visibility:** Edit mode only (`$ae_loc.edit_mode`)
**Route:** `/events/[event_id]/(pres_mgmt)/pres_mgmt/config/`
**Access:** `$ae_loc.manager_access` only
**Button visibility:** Edit mode only (`$ae_loc.edit_mode`)
### Page behavior
- Loads `event.mod_pres_mgmt_json` fresh from API on page open