docs: normalize Pres Mgmt cleanup formatting
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
# Project: Pres Mgmt Config Cleanup & Config UI
|
# Project: Pres Mgmt Config Cleanup & Config UI
|
||||||
|
|
||||||
**Status:** Planning / Ready to Execute
|
**Status:** Planning / Ready to Execute
|
||||||
**Priority:** High (BGH conference in ~2 weeks; only one active event using pres_mgmt)
|
**Priority:** High (BGH conference in ~2 weeks; only one active event using pres_mgmt)
|
||||||
**Created:** 2026-04-02
|
**Created:** 2026-04-02
|
||||||
**Last Updated:** 2026-06-12
|
**Last Updated:** 2026-06-12
|
||||||
**Related:** `TODO__Agents.md`, `PROJECT__Stores_Svelte5_Migration.md`
|
**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`)
|
- Duplicate keys with different names (`file_purpose_option_kv` = `file_purpose_option_li`)
|
||||||
- Dead config (`HOLD__*` prefix)
|
- Dead config (`HOLD__*` prefix)
|
||||||
- Type inconsistency (`label__person_external_id: false` vs `"LCI member ID"` string)
|
- 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)
|
- 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)
|
- `hide_launcher_link` / `hide_launcher_link_legacy` missing the `__` separator (inconsistent)
|
||||||
- `show_content__presentation_description` uses a third naming convention
|
- `show_content__presentation_description` uses a third naming convention
|
||||||
@@ -136,7 +136,7 @@ interface PressMgmtRemoteCfg {
|
|||||||
|
|
||||||
## New Svelte 5 Local Store
|
## 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.
|
Instead, create a standalone store for pres_mgmt local config.
|
||||||
|
|
||||||
**File:** `src/lib/stores/ae_events_stores__pres_mgmt.svelte.ts`
|
**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
|
## Config UI Page
|
||||||
|
|
||||||
**Route:** `/events/[event_id]/(pres_mgmt)/pres_mgmt/config/`
|
**Route:** `/events/[event_id]/(pres_mgmt)/pres_mgmt/config/`
|
||||||
**Access:** `$ae_loc.manager_access` only
|
**Access:** `$ae_loc.manager_access` only
|
||||||
**Button visibility:** Edit mode only (`$ae_loc.edit_mode`)
|
**Button visibility:** Edit mode only (`$ae_loc.edit_mode`)
|
||||||
|
|
||||||
### Page behavior
|
### Page behavior
|
||||||
- Loads `event.mod_pres_mgmt_json` fresh from API on page open
|
- Loads `event.mod_pres_mgmt_json` fresh from API on page open
|
||||||
|
|||||||
Reference in New Issue
Block a user