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:
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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)}>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 ===
|
||||
|
||||
Reference in New Issue
Block a user