diff --git a/src/lib/ae_core/ae_comp__hosted_files_clip_video.svelte b/src/lib/ae_core/ae_comp__hosted_files_clip_video.svelte index bcc41891..4afbdd83 100644 --- a/src/lib/ae_core/ae_comp__hosted_files_clip_video.svelte +++ b/src/lib/ae_core/ae_comp__hosted_files_clip_video.svelte @@ -79,7 +79,7 @@ $ae_sess.files.obj = { }; -// Functions and Logic +// *** Functions and Logic function handle_clip_video(event) { console.log('*** handle_clip_video() ***'); diff --git a/src/lib/ae_core/ae_comp__hosted_files_clip_video_v1.svelte b/src/lib/ae_core/ae_comp__hosted_files_clip_video_v1.svelte index ec211b1e..0e7bde12 100644 --- a/src/lib/ae_core/ae_comp__hosted_files_clip_video_v1.svelte +++ b/src/lib/ae_core/ae_comp__hosted_files_clip_video_v1.svelte @@ -50,7 +50,7 @@ let form_kv: key_val = { let download_clip_src: string; let download_clip_filename: string; -// Functions and Logic +// *** Functions and Logic async function handle_submit_form_files(event) { console.log('*** handle_submit_form() ***'); diff --git a/src/lib/ae_core/ae_comp__hosted_files_upload.svelte b/src/lib/ae_core/ae_comp__hosted_files_upload.svelte index bc649ac4..c0658026 100644 --- a/src/lib/ae_core/ae_comp__hosted_files_upload.svelte +++ b/src/lib/ae_core/ae_comp__hosted_files_upload.svelte @@ -42,7 +42,7 @@ let ae_triggers: key_val = {}; let input_element_id = 'ae_comp__hosted_files_upload__input'; -// Functions and Logic +// *** Functions and Logic async function handle_submit_form_files(event: SubmitEvent) { console.log('*** handle_submit_form() ***'); diff --git a/src/routes/core/ae_comp__person_obj_tbl.svelte b/src/routes/core/ae_comp__person_obj_tbl.svelte index 0f195e67..48537e04 100644 --- a/src/routes/core/ae_comp__person_obj_tbl.svelte +++ b/src/routes/core/ae_comp__person_obj_tbl.svelte @@ -21,7 +21,7 @@ export let display_mode: string = 'default'; // 'default', 'compact', 'minimal', // Variables -// Functions and Logic +// *** Functions and Logic // let lq__person_obj = liveQuery( // () => db_core.person.get($events_slct.person_id) // ); diff --git a/src/routes/core/person/[person_id]/+page.svelte b/src/routes/core/person/[person_id]/+page.svelte index d3b368f6..0918bb50 100644 --- a/src/routes/core/person/[person_id]/+page.svelte +++ b/src/routes/core/person/[person_id]/+page.svelte @@ -48,7 +48,7 @@ if (!$ae_loc.person) { } $ae_loc.person.show_content__person_page_help = false; -// Functions and Logic +// *** Functions and Logic diff --git a/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte b/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte index 3cf443a3..58ed6730 100644 --- a/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte +++ b/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte @@ -2,10 +2,11 @@ let log_lvl: number = $state(1); // *** Import Svelte specific -import { run } from 'svelte/legacy'; import { onMount, tick } from 'svelte'; import { goto } from '$app/navigation'; import { sineIn } from 'svelte/easing'; + +// *** Import other supporting libraries import { liveQuery } from "dexie"; import { Drawer, Footer, Modal } from 'flowbite-svelte'; import { listen, idle, onIdle } from 'svelte-idle' @@ -81,7 +82,7 @@ if (log_lvl > 1) { console.log(`$events_slct.id_li__event_location:`, $events_slct.id_li__event_location); } -// Functions and Logic +// *** Functions and Logic // Event let lq__event_obj = $derived(liveQuery(async () => { @@ -552,7 +553,7 @@ function handle_idle_client() { } -run(() => { +$effect(() => { if ($idle) { log_lvl = 1; console.log(`User is idle after ${$events_loc.launcher?.idle_timer} milliseconds.`); diff --git a/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte b/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte index 87894e1e..15bad45b 100644 --- a/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte +++ b/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte @@ -146,7 +146,7 @@ let bi_trig__event_session: any = null; -// Functions and Logic +// *** Functions and Logic // if (browser) { // console.log(`Browser: ${browser}`); diff --git a/src/routes/events/[event_id]/(launcher)/menu_session_list.svelte b/src/routes/events/[event_id]/(launcher)/menu_session_list.svelte index 8ef02235..4d21673a 100644 --- a/src/routes/events/[event_id]/(launcher)/menu_session_list.svelte +++ b/src/routes/events/[event_id]/(launcher)/menu_session_list.svelte @@ -1,8 +1,21 @@ @@ -54,7 +65,7 @@ let hover_timer: any = null;