All of the changes from today (Wednesday February 25, 2026) need to be reviewed. We spent over 6 hours trying to fix the page loading when viewing a fresh Session ID and Presentation ID. OpenAI and Gemini failed hard!!! I am at a lost and frustrated. I will probably need to deal with this myself. :-/

This commit is contained in:
Scott Idem
2026-02-25 18:34:21 -05:00
parent 17620b6fbc
commit 7b5c7528b6
22 changed files with 1674 additions and 2828 deletions

View File

@@ -1,6 +1,5 @@
/** @type {import('./$types').PageLoad} */
import { error } from '@sveltejs/kit';
import { browser } from '$app/environment';
import { events_func } from '$lib/ae_events_functions';
@@ -13,32 +12,31 @@ export async function load({ parent }) {
const ae_acct = parent_data[account_id];
const event_id = ae_acct.slct.event_id; // From root +layout.ts
if (!event_id) {
if (log_lvl) {
console.log(`INFO: events +layout.ts: The event_id was not found in the parent_data.`);
}
// return false;
}
// const event_id = ae_acct.slct.event_id; // From root +layout.ts
// if (!event_id) {
// if (log_lvl) {
// console.log(`INFO: events +layout.ts: The event_id was not found in the parent_data.`);
// }
// }
if (browser) {
if (log_lvl) console.log(`ae_events +page.ts (Non-Blocking Refresh)`);
if (event_id) {
// Refresh the specific selected event
events_func.load_ae_obj_id__event({
api_cfg: ae_acct.api,
event_id: event_id,
log_lvl: log_lvl
});
}
// if (event_id) {
// // Refresh the specific selected event
// events_func.load_ae_obj_id__event({
// api_cfg: ae_acct.api,
// event_id: event_id,
// log_lvl: log_lvl
// });
// }
// Refresh the list of events for the account
events_func.load_ae_obj_li__event({
api_cfg: ae_acct.api,
for_obj_type: 'account',
for_obj_id: account_id,
inc_session_li: true,
// inc_session_li: false,
hidden: 'all', // 'not_hidden'
enabled: 'enabled',
limit: 25,