From 73597cb8b48d35a74af41311398c081e2d2b54f0 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Thu, 5 Mar 2026 20:05:35 -0500 Subject: [PATCH] =?UTF-8?q?chore:=20svelte-check=20cleanup=20=E2=80=94=20f?= =?UTF-8?q?ix=20Svelte=205=20patterns=20in=20events/pres=5Fmgmt,=20badges,?= =?UTF-8?q?=20launcher,=20and=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Source changes (0 errors, 175 warnings after): - api_post__crud_obj_v3: add backward-compat migration aliases (for_obj_type/id, obj_type/id) to nested CRUD funcs - ae_events__event_device/presenter/session: make event_id/presentation_id optional; fall back to store value - element_ae_obj_field_editor_v3: import type Snippet properly; mark current_value as $bindable() - ae_comp__badge_obj_view: fix $derived(() => false) → $derived(false) for show_receipt/show_tickets - badge templates: pass explicit event_id param to delete/update calls - launcher/+page: capture URL params as stable consts; pass event_id to update_ae_obj__event_device - ae_comp__event_device_obj_li: wrap setInterval in $effect; onDestroy cleanup always registered - ae_comp__event_device_obj_li_wrapper: move console.log to $effect; fix self-closing tag - presenter form/menu/view/list: add missing event_presentation_id to all update/delete calls - reports/locations/presenter/+page: move store assignments into $effect + untrack; ae_acct → $derived - session/+page: add Comp_event_presenter_form_agree import; cast for type compat - session_view: wrap in - + {:else} + {#if !$lq__event_location_obj.enable && !$ae_loc.trusted_access} +
+

+ + Location Disabled +

+

This location is currently disabled. Please contact the event organizer for more information.

+
+ {:else} +
+ +
- {@html $lq__event_location_obj?.name ?? ae_snip.html__not_set} - - +
+

Sessions at this Location

+ +
- {#if !$events_loc.pres_mgmt.show_content__location_view || $events_loc.pres_mgmt.show_content__location_view == 'default'} - - - - -
- {#if $lq__event_session_obj_li && $lq__event_session_obj_li?.length > 0 && event_session_id_random_li && event_session_id_random_li?.length > 0} - - {:else if $lq__event_session_obj_li && $lq__event_session_obj_li?.length == 0} -
-

- - No Sessions Found -

-

There are no sessions found for this location.

-
- {:else if event_session_id_random_li?.length > 0} -
- - Loading session list... -
- {/if} -
- {:else if $events_loc.pres_mgmt.show_content__location_view == 'manage_files' && $ae_loc.trusted_access} -
-

- - - Manage and Upload Location Files: -

- - - {#snippet label()} - -
- - Upload location (room) specific files only! -
-
- Location (room) files only
- Recommended: PowerPoint (pptx) or Keynote (key)
- Media: Audio and videos files should be directly embedded - in PowerPoint (PPTX) files
- Supplemental files: mp4, PDF, Word Doc, Excel, txt, - etc -
-
- {/snippet} -
- -
+ {#if $ae_loc.trusted_access} +
+

Location Files

+
-
+ {/if} {/if} - {:else} -
-

- - Location Disabled -

-

- This location is currently disabled. Please contact the event - organizer for more information. -

-
{/if} diff --git a/src/routes/events/[event_id]/(pres_mgmt)/location/[event_location_id]/location_page_menu.svelte b/src/routes/events/[event_id]/(pres_mgmt)/location/[event_location_id]/location_page_menu.svelte index 3f97fdc4..b243def7 100644 --- a/src/routes/events/[event_id]/(pres_mgmt)/location/[event_location_id]/location_page_menu.svelte +++ b/src/routes/events/[event_id]/(pres_mgmt)/location/[event_location_id]/location_page_menu.svelte @@ -1,6 +1,6 @@