fix(pres_mgmt): make POC list/table column a real per-event config
show__session_li_poc_field was local-browser-only and the session list prop computation ignored the admin's hide__session_poc master switch entirely, so disabling POC for an event didn't hide the column if a user's browser had it toggled on. - Add show__session_li_poc_field to PressMgmtRemoteCfg + Config page UI (Session Field Visibility) + sync_config__event_pres_mgmt() lock-synced block, so it's admin-configurable per event like the other display flags - Fix list/table column visibility to hide__session_poc || !show__session_li_poc_field in pres_mgmt/+page.svelte and locations/ae_comp__event_location_obj_li.svelte - Remove the now-redundant local "Show/Hide POC Column" toggle buttons from ae_comp__events_menu_opts.svelte and event_page_menu.svelte - Log the fix in PROJECT__AE_Events_PressMgmt_Config_Cleanup.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -96,6 +96,7 @@ interface PressMgmtRemoteCfg {
|
||||
show__email_access_link: boolean;
|
||||
show__launcher_link: boolean;
|
||||
show__launcher_link_legacy: boolean;
|
||||
show__session_li_poc_field: boolean; // POC column in session list/table; hide__session_poc still wins
|
||||
|
||||
// Requirements
|
||||
require__presenter_agree: boolean;
|
||||
@@ -222,6 +223,16 @@ Safe and backward compatible — old DB records fall through to `?? false` defau
|
||||
- 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`)
|
||||
- [x] **POC column local/remote conflict fixed (2026-06-16)** — `show__session_li_poc_field` was
|
||||
local-only (never synced) and the session-list-table prop computation ignored the admin's
|
||||
`hide__session_poc` master switch entirely. Fixed: added `show__session_li_poc_field` to
|
||||
`PressMgmtRemoteCfg` + Config UI (Session Field Visibility) + `sync_config__event_pres_mgmt()`
|
||||
lock-synced block; list/table column visibility is now
|
||||
`hide__session_poc || !show__session_li_poc_field` in `pres_mgmt/+page.svelte` and
|
||||
`locations/ae_comp__event_location_obj_li.svelte`. The local per-browser "Show/Hide POC
|
||||
Column" toggle buttons in `ae_comp__events_menu_opts.svelte` and `event_page_menu.svelte`
|
||||
were removed — the field is lock-synced from the per-event Config page now, same as the
|
||||
other session field visibility toggles.
|
||||
|
||||
### Step 6 scope (mechanical find-replace)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user