chore: minor updates across events, journals, elements, and shared components

Miscellaneous small changes to events (badges, launcher, leads, pres_mgmt,
settings), journals, reusable elements (crud, field editor), app components,
core components, and test README. Mostly 1-2 line changes per file.
This commit is contained in:
Scott Idem
2026-03-06 17:32:53 -05:00
parent 0c9b6a9f5b
commit dd5cf9b63b
51 changed files with 70 additions and 62 deletions

View File

@@ -118,7 +118,7 @@
<!-- Show devices for this LiveQuery -->
{#if $lq__event_device_obj_li?.length}
<ul class="space-y-4 p-4 m-2 bg-gray-100 rounded-md">
{#each $lq__event_device_obj_li as event_device_obj}
{#each $lq__event_device_obj_li as event_device_obj (event_device_obj.event_device_id)}
<!-- svelte-ignore a11y_click_events_have_key_events -->
<li
class="space-y-2 border border-gray-400 p-2 rounded-md"

View File

@@ -127,7 +127,7 @@
<!-- Show locations for this LiveQuery -->
{#if $lq__event_location_obj_li?.length}
<ul class="space-y-4 p-4 m-2 bg-gray-100 rounded-md">
{#each $lq__event_location_obj_li as event_location_obj}
{#each $lq__event_location_obj_li as event_location_obj (event_location_obj.event_location_id)}
<li
class="space-y-2 border border-gray-200 p-2 rounded-md"
class:dim={event_location_obj?.hide}

View File

@@ -460,7 +460,7 @@
>
{#if $lq__event_location_obj_li}
<option value="">Location / Room</option>
{#each $lq__event_location_obj_li as event_location_obj}
{#each $lq__event_location_obj_li as event_location_obj (event_location_obj.event_location_id)}
<option value={event_location_obj?.name}
>{event_location_obj.name}</option
>

View File

@@ -124,7 +124,7 @@
<!-- Show presenters for this LiveQuery -->
<ul class="space-y-1 px-4 m-2 bg-gray-100 rounded-md">
{#each $lq__event_presenter_obj_li ?? [] as event_presenter_obj}
{#each $lq__event_presenter_obj_li ?? [] as event_presenter_obj (event_presenter_obj.event_presenter_id)}
<!-- This is a hack. I can not get the LiveQuery to work with specific presentation IDs. It only works with the session ID. I need to figure out how to get the presenters for the specific presentation. -->
<!-- {#if event_presenter_obj.event_presentation_id == event_presentation_obj.event_presentation_id} -->
<li

View File

@@ -352,7 +352,7 @@
</tr>
</thead>
<tbody class="">
{#each $lq__event_presenter_obj_li as event_presenter_obj}
{#each $lq__event_presenter_obj_li as event_presenter_obj (event_presenter_obj.event_presenter_id)}
<tr class:dim={event_presenter_obj?.hide}>
<td class="px-4 py-2">
<span class="fas fa-user"></span>

View File

@@ -500,7 +500,7 @@
-- purpose not set --
</option>
{#if $events_loc.pres_mgmt?.file_purpose_option_kv}
{#each Object.entries($events_loc.pres_mgmt.file_purpose_option_kv) as [key, file_purpose_option]}
{#each Object.entries($events_loc.pres_mgmt.file_purpose_option_kv) as [key, file_purpose_option] (key)}
<option
value={key}
selected={$events_loc.pres_mgmt