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

@@ -190,7 +190,7 @@
{Object.entries(hosted_file_obj_kv).length}× files uploaded
</h3>
{#each Object.entries(hosted_file_obj_kv) as [hosted_file_id, hosted_file_obj]}
{#each Object.entries(hosted_file_obj_kv) as [hosted_file_id, hosted_file_obj] (hosted_file_id)}
<div class="border border-surface-500/20 rounded-lg p-2 m-2 preset-tonal-surface">
<!-- Download Button (Standardized) -->
<div

View File

@@ -47,7 +47,7 @@
<h3 class="h3">{Object.entries(video_clip_file_kv).length}× files clipped</h3>
<div class="{class_li_default} {class_li} ">
{#each Object.entries(video_clip_file_kv) as [hosted_file_id, hosted_file_obj]}
{#each Object.entries(video_clip_file_kv) as [hosted_file_id, hosted_file_obj] (hosted_file_id)}
<AE_Comp_Hosted_Files_Download_Button
{hosted_file_id}
{hosted_file_obj}

View File

@@ -230,7 +230,7 @@
</button>
</header>
<div class="space-y-1">
{#each cfg_json[list.key] ?? [] as uuid, i}
{#each cfg_json[list.key] ?? [] as uuid, i (uuid)}
<div class="flex gap-1 items-center bg-surface-500/10 p-1 rounded font-mono text-[10px]">
<span class="grow truncate">{uuid}</span>
<button class="text-error-500 hover:scale-110 transition-transform" onclick={() => remove_from_list(list.key, i)}>

View File

@@ -330,7 +330,7 @@
{#if $events_loc.auth__kv.session}
Sessions:
<ul>
{#each Object.entries($events_loc.auth__kv.session) as [key, value]}
{#each Object.entries($events_loc.auth__kv.session) as [key, value] (key)}
<li><a href="/events/{event_id}/session/{key}">
{key}
</a></li>

View File

@@ -483,7 +483,7 @@ class:to-90%={$ae_sess.show_help_tech} -->
Component Info:
</h2>
<ul class="list-disc list-inside text-gray-800 text-sm">
{#each Object.entries(additional_kv) as [key, value]}
{#each Object.entries(additional_kv) as [key, value] (key)}
<li>
<span
class="text-sm text-gray-500 dark:text-gray-400"

View File

@@ -225,7 +225,7 @@
{#if select_option_li && Object.keys(select_option_li).length == 0}
<option value="">-- not set --</option>
{:else if select_option_li && Object.keys(select_option_li).length > 0}
{#each Object.keys(select_option_li) as option}
{#each Object.keys(select_option_li) as option (option)}
<option value={option}>{select_option_li[option]}</option>
{/each}
{:else}

View File

@@ -347,7 +347,7 @@
{#if select_option_kv && Object.keys(select_option_kv).length == 0}
<option value="">-- not set --</option>
{:else if select_option_kv && Object.keys(select_option_kv).length > 0}
{#each Object.keys(select_option_kv) as option}
{#each Object.keys(select_option_kv) as option (option)}
<option value={option}>{select_option_kv[option]} {option}</option>
{/each}
{:else}

View File

@@ -230,7 +230,7 @@
{#if allow_null}
<option value={null}>-- None --</option>
{/if}
{#each Object.entries(select_options) as [val, label]}
{#each Object.entries(select_options) as [val, label] (val)}
<option value={val}>{label}</option>
{/each}
</select>

View File

@@ -563,7 +563,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 any) as [key, file_purpose_option]}
{#each Object.entries($events_loc.pres_mgmt.file_purpose_option_kv as any) as [key, file_purpose_option] (key)}
<option
value={key}
selected={event_file_obj.file_purpose ===