From 09a5178b8904c410b56c20f403618dcb3178b9e0 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 6 May 2026 14:44:00 -0400 Subject: [PATCH] Add Jitsi reports staff link Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../CLIENT__IDAA_and_customized_mods.md | 4 ++++ .../(idaa)/video_conferences/+page.svelte | 20 +++++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/documentation/CLIENT__IDAA_and_customized_mods.md b/documentation/CLIENT__IDAA_and_customized_mods.md index 398601a3..45914676 100644 --- a/documentation/CLIENT__IDAA_and_customized_mods.md +++ b/documentation/CLIENT__IDAA_and_customized_mods.md @@ -552,6 +552,10 @@ grouped room rows are also sorted newest session first within each room. Collapsible panel, visible to `trusted_access` users only. Generates properly-formatted Jitsi meeting URLs for IDAA rooms. Component: `ae_idaa_comp__jitsi_url_builder.svelte`. +### Video Conferences → Reports Link + +Trusted Access users now get a footer link on the Video Conferences page that jumps back to the Jitsi Reports page. It preserves the current iframe context so the staff workflow stays inside the Novi embed. + ### Export CSV and JSON export buttons in the page header export the **currently filtered + exclusion-applied** data set. diff --git a/src/routes/idaa/(idaa)/video_conferences/+page.svelte b/src/routes/idaa/(idaa)/video_conferences/+page.svelte index 423c1a10..542d83d1 100644 --- a/src/routes/idaa/(idaa)/video_conferences/+page.svelte +++ b/src/routes/idaa/(idaa)/video_conferences/+page.svelte @@ -64,6 +64,13 @@ function copy_meeting_link() { }); } +function build_jitsi_reports_href() { + const url = new URL($page.url); + url.pathname = '/idaa/jitsi_reports'; + url.searchParams.delete('room'); + return `${url.pathname}${url.search}${url.hash}`; +} + /** * Creates a new activity log entry for a discrete event (e.g., raise hand). */ @@ -1238,15 +1245,24 @@ async function init_jitsi() { already in a full tab. WHY: Novi iframes squish the layout and scrolling is unreliable. Members need a way to escape to a proper full-tab context. --> {#if $ae_loc.iframe || $ae_loc.edit_mode} -
+
+ {#if $ae_loc.trusted_access} + + + Jitsi Reports + + {/if}
{/if}