Working through bugs... Related to data stores and not using the for type and for id... They were locked.

This commit is contained in:
Scott Idem
2026-04-01 19:39:26 -04:00
parent 5e0f35d3df
commit 75d85bf904
2 changed files with 16 additions and 1 deletions

View File

@@ -147,6 +147,20 @@ $effect(() => {
});
});
// Context Change Guard: reset loading status when identity props change.
// WHY: ds_loading_status persists after the initial load cycle ('loaded', 'not found', etc.).
// When for_id/for_type/ds_code change after mount (e.g. for_id resolves from undefined
// to a real event_id), the trigger effect below won't re-fire unless we reset to 'starting'.
// untrack() prevents a circular dep — we write ds_loading_status but don't subscribe to it here.
$effect(() => {
void for_id;
void for_type;
void ds_code;
untrack(() => {
ds_loading_status = 'starting';
});
});
// Initial Trigger & Context Change Guard
$effect(() => {
const account_id = $slct.account_id;

View File

@@ -353,7 +353,7 @@ $effect(() => {
<span class="justify-self-start">
<!-- Be sure to explain what &AElig; (Aether) means in the title text or similar! -->
<Satellite size="1.5em" class="mx-1 inline-block text-gray-500" />
<abbr title="Aether - IDAA Module"> Æ IDAA </abbr>
<abbr title="Aether - IDAA Module">Æ IDAA </abbr>
</span>
<a
href="/"
@@ -375,6 +375,7 @@ $effect(() => {
{@render children?.()}
</section>
<!-- The footer for the IDAA section of the site -->
<section
class="module_footer footer_content lg:text-md xl:text-md flex min-h-7 px-1 py-0.5 text-sm text-slate-400 transition hover:text-slate-800 sm:text-sm 2xl:text-lg"
class:ae_debug={$ae_loc?.debug}>