refactor(events): harden V3 String-Only ID vision and fix Session Alert store error

- Standardized Event module logic files to strictly use random string IDs, ensuring frontend consistency and avoiding 'Integer Trap' 404s.
- Refactored 'ae_comp__event_session_alert.svelte' to accept a plain object instead of a store/observable, resolving the 'store_invalid_shape' error in list loops.
- Updated all callers of the alert component to pass unwrapped session objects.
- Cleaned up event-related UI components to remove redundant '_random' field lookups and align with V3 CRUD patterns.
- Updated project metadata (GEMINI.md, TODO.md) to reflect the new memory structure and latest hardened state.
This commit is contained in:
Scott Idem
2026-01-27 12:18:12 -05:00
parent a704779d1b
commit 30413e32d2
15 changed files with 589 additions and 473 deletions

View File

@@ -142,7 +142,7 @@
<td>
{#if session_obj?.alert && $ae_loc.trusted_access}
<Comp_event_session_alert
lq__event_session_obj={session_obj}
event_session_obj={session_obj}
{log_lvl}
/>
{/if}
@@ -191,7 +191,7 @@
</a>
{#if (show__session_presentations || show__session_files) && $ae_loc.manager_access}
<button
<button
class="btn btn-icon btn-sm variant-soft-surface"
onclick={() => toggle_details(session_obj.event_session_id)}
title="Toggle Presenters & Files"