diff --git a/documentation/PROJECT__AE_Events_PressMgmt_Config_Cleanup.md b/documentation/PROJECT__AE_Events_PressMgmt_Config_Cleanup.md index 2ff735a6..9fb781e9 100644 --- a/documentation/PROJECT__AE_Events_PressMgmt_Config_Cleanup.md +++ b/documentation/PROJECT__AE_Events_PressMgmt_Config_Cleanup.md @@ -179,15 +179,26 @@ AFTER: pres_mgmt_loc.current.hide__session_code No System section — there is no `lock_config` (removed 2026-06-16). 1. **Labels** — `label__*` fields (text inputs, nullable) -2. **Session Visibility** — `hide__session_*` toggles -3. **Presenter Visibility** — `hide__presenter_*` toggles -4. **Presentation Visibility** — `hide__presentation_*` toggles -5. **Code Visibility** — `hide__*_code` toggles -6. **Opt-in Features** — `show__*` toggles -7. **Requirements** — `require__presenter_agree`, `require__session_agree` -8. **Navigation Limits** — `limit__navigation` (`limit__options` removed — YAGNI) -9. **File Purpose Config** — `file_purpose_option_kv` (JSON editor or structured form) -10. **Report Visibility** — `hide__report_kv` (key-value toggles) +2. **Code Visibility** — `hide__*_code` toggles +3. **Session Display** — `hide__session_description/location/msg` (just the simple ones — + POC split out below 2026-06-16 for clarity) +4. **POC Settings** (Point of Contact) — `hide__session_poc` rendered as a visually distinct + master switch, with `show__session_li_poc_field` / `hide__session_poc_biography` / + `hide__session_poc_profile` / `hide__session_poc_profile_pic` indented and + auto-`disabled` underneath it when the master switch is on. Was previously flat in + "Session Field Visibility" with `hide__session_poc` and `show__session_li_poc_field` + sitting adjacent with opposite checked-state polarity ("Hide POC" checked = remove, + "Show POC Column" checked = add) — confusing, per direct user feedback. Splitting it + into its own section with explicit master/sub-setting hierarchy fixed it without + touching the underlying field semantics (still `hide__`/`show__` per the naming + convention — only the *presentation* changed). +5. **Presenter Visibility** — `hide__presenter_*` toggles +6. **Presentation Visibility** — `hide__presentation_*` toggles +7. **Opt-in Features** — `show__*` toggles +8. **Requirements** — `require__presenter_agree`, `require__session_agree` +9. **Navigation Limits** — `limit__navigation` (`limit__options` removed — YAGNI) +10. **File Purpose Config** — `file_purpose_option_kv` (JSON editor or structured form) +11. **Report Visibility** — `hide__report_kv` (key-value toggles) --- diff --git a/src/routes/events/[event_id]/(pres_mgmt)/pres_mgmt/config/+page.svelte b/src/routes/events/[event_id]/(pres_mgmt)/pres_mgmt/config/+page.svelte index 1f590372..1fb8305b 100644 --- a/src/routes/events/[event_id]/(pres_mgmt)/pres_mgmt/config/+page.svelte +++ b/src/routes/events/[event_id]/(pres_mgmt)/pres_mgmt/config/+page.svelte @@ -183,6 +183,7 @@ let sections: Record = $state({ labels: true, codes: true, session: true, + poc: true, presenter: true, presentation: true, opt_in: true, @@ -268,6 +269,7 @@ function toggle(key: string) { type="text" class="input" placeholder="External ID" + title="Overrides the label shown for a Person's external ID field across the app. Leave blank to use the default 'External ID'." bind:value={draft.label__person_external_id} /> @@ -293,6 +297,7 @@ function toggle(key: string) { type="text" class="input" placeholder="Point of Contact" + title="The display label shown to users for a session's Point of Contact (e.g. 'Champion', 'Host'). Leave blank to use the default 'Point of Contact'." bind:value={draft.label__session_poc_name} /> e.g. "Champion", "Point of Contact" @@ -314,12 +319,12 @@ function toggle(key: string) { {#if sections.codes}
{#each [ - { field: 'hide__session_code' as const, label: 'Hide Session Code' }, - { field: 'hide__location_code' as const, label: 'Hide Location Code' }, - { field: 'hide__presenter_code' as const, label: 'Hide Presenter Code' }, - { field: 'hide__presentation_code' as const, label: 'Hide Presentation Code' } + { field: 'hide__session_code' as const, label: 'Hide Session Code', title: "Hides the session's short code wherever sessions are listed or viewed." }, + { field: 'hide__location_code' as const, label: 'Hide Location Code', title: "Hides the location's short code wherever locations are listed or viewed." }, + { field: 'hide__presenter_code' as const, label: 'Hide Presenter Code', title: "Hides the presenter's short code. Not currently shown anywhere in the app — has no visible effect yet." }, + { field: 'hide__presentation_code' as const, label: 'Hide Presentation Code', title: "Hides the presentation's short code wherever presentations are listed or viewed." } ] as item (item.field)} -