feat(sync): implement dedicated presentation and presenter refresh loops

- Added background API refresh loops for room-level presentation and presenter metadata.\n- Updated Sync Monitor UI to display all six loop intervals.\n- Added UI controls in Launcher Config for fine-tuning polling periods.\n- Staggered initial background fetches to prevent API connection flooding.\n- Corrected timer assignments to separate structural metadata from room content.
This commit is contained in:
Scott Idem
2026-02-10 18:15:34 -05:00
parent ddefd94f03
commit b91adfd8cf
2 changed files with 38 additions and 0 deletions

View File

@@ -79,6 +79,32 @@
class="input input-sm text-[10px] h-7 preset-tonal-surface"
/>
</div>
<div class="flex flex-col gap-1">
<span class="text-[8px] opacity-60"
>Presentation Loop</span
>
<input
type="number"
bind:value={
$ae_loc.native_device
.check_event_presentation_loop_period
}
class="input input-sm text-[10px] h-7 preset-tonal-surface"
/>
</div>
<div class="flex flex-col gap-1">
<span class="text-[8px] opacity-60"
>Presenter Loop</span
>
<input
type="number"
bind:value={
$ae_loc.native_device
.check_event_presenter_loop_period
}
class="input input-sm text-[10px] h-7 preset-tonal-surface"
/>
</div>
</div>
</div>

View File

@@ -449,6 +449,18 @@
>
<span>{loop_info.session / 1000}s</span>
</div>
<div class="flex justify-between items-center">
<span class:text-primary-500={timer__presentation}
>Pres Loop:</span
>
<span>{loop_info.presentation / 1000}s</span>
</div>
<div class="flex justify-between items-center">
<span class:text-primary-500={timer__presenter}
>Speaker Loop:</span
>
<span>{loop_info.presenter / 1000}s</span>
</div>
</div>
</div>
{/if}