This seems like a good pause point. The new Jitsi reports page is functional. The meetings log various activities and events.

This commit is contained in:
Scott Idem
2025-12-16 15:07:27 -05:00
parent ae49fa7b39
commit a9d1e30fc4
4 changed files with 249 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
import type { PageLoad } from './$types';
import { ae_api, ae_loc } from '$lib/stores/ae_stores';
import { load_jitsi_report } from '$lib/ae_reports/reports_functions';
import { get } from 'svelte/store';
export const load: PageLoad = async ({ fetch }) => {
console.log('*** /idaa/jitsi_reports/+page.ts ***');
const api_cfg = get(ae_api);
const account_id = get(ae_loc)?.account_id;
if (!api_cfg || !account_id) {
console.error('API config or Account ID not available for loading Jitsi reports.');
return {
meetings: []
};
}
const meetings = await load_jitsi_report({
api_cfg,
account_id,
log_lvl: 1
});
return {
meetings
};
};