Add Jitsi reports staff link
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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}
|
||||
<div class="fixed bottom-0.5 left-8 z-20 print:hidden">
|
||||
<div class="fixed bottom-0.5 left-8 z-20 flex gap-2 print:hidden">
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => (show_breakout_modal = true)}
|
||||
class="flex items-center gap-2 rounded-lg border border-gray-300 bg-white/90 px-3 py-2 mb-2 text-sm shadow-md backdrop-blur-sm hover:bg-white"
|
||||
class="flex items-center gap-2 rounded-lg border border-gray-300 bg-white/90 px-3 py-2 text-sm shadow-md backdrop-blur-sm hover:bg-white"
|
||||
title="Open this meeting outside the Novi iframe">
|
||||
<span class="fas fa-external-link-alt" aria-hidden="true"></span>
|
||||
Open Externally
|
||||
</button>
|
||||
{#if $ae_loc.trusted_access}
|
||||
<a
|
||||
href={build_jitsi_reports_href()}
|
||||
class="flex items-center gap-2 rounded-lg border border-gray-300 bg-white/90 px-3 py-2 text-sm shadow-md backdrop-blur-sm hover:bg-white"
|
||||
title="Open Jitsi Reports">
|
||||
<span class="fas fa-chart-bar" aria-hidden="true"></span>
|
||||
Jitsi Reports
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user