From e1338b1a7236950ef64fad90da8fc3e9c4796885 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 24 Mar 2026 12:18:27 -0400 Subject: [PATCH] Other areas of the AE SvelteKit primary routes. --- src/routes/health/+server.ts | 21 +- src/routes/hosted_files/+layout.svelte | 75 +- src/routes/hosted_files/+layout.ts | 4 +- src/routes/hosted_files/+page.svelte | 155 +-- .../hosted_files/video_util/+page.svelte | 243 ++--- .../video_util/hold_video_util.svelte | 114 +- src/routes/manifest.webmanifest/+server.ts | 159 ++- src/routes/testing/+page.svelte | 996 ++++++++++++------ .../testing/ae_obj_field_editor/+page.svelte | 247 +++-- src/routes/testing/data_store/+page.svelte | 201 ++-- src/routes/testing/editor_test/+page.svelte | 43 +- src/routes/testing/fix-sw/+page.svelte | 103 +- src/routes/testing/hosted_files/+page.svelte | 272 +++-- 13 files changed, 1607 insertions(+), 1026 deletions(-) diff --git a/src/routes/health/+server.ts b/src/routes/health/+server.ts index 36f425ac..d98cf10d 100644 --- a/src/routes/health/+server.ts +++ b/src/routes/health/+server.ts @@ -6,14 +6,17 @@ import type { RequestHandler } from './$types'; * Used by Docker and Nginx to verify the service is running. */ export const GET: RequestHandler = async () => { - return json({ - status: 'healthy', - timestamp: new Date().toISOString(), - service: 'aether-app-sveltekit', - node_env: process.env.NODE_ENV || 'development' - }, { - headers: { - 'Cache-Control': 'no-cache' + return json( + { + status: 'healthy', + timestamp: new Date().toISOString(), + service: 'aether-app-sveltekit', + node_env: process.env.NODE_ENV || 'development' + }, + { + headers: { + 'Cache-Control': 'no-cache' + } } - }); + ); }; diff --git a/src/routes/hosted_files/+layout.svelte b/src/routes/hosted_files/+layout.svelte index 7efea64b..705147d1 100644 --- a/src/routes/hosted_files/+layout.svelte +++ b/src/routes/hosted_files/+layout.svelte @@ -1,34 +1,34 @@ @@ -40,11 +40,10 @@ class:iframe={$ae_loc?.iframe} class=" ae_hosted_files - h-full max-h-full max-w-6xl overflow-auto - flex flex-col gap-1 - m-auto - " -> + m-auto flex h-full max-h-full + max-w-6xl flex-col gap-1 + overflow-auto + "> -
+
{@render children?.()}
diff --git a/src/routes/hosted_files/+layout.ts b/src/routes/hosted_files/+layout.ts index 28753a0e..1d18c3d6 100644 --- a/src/routes/hosted_files/+layout.ts +++ b/src/routes/hosted_files/+layout.ts @@ -27,7 +27,9 @@ export async function load({ params, parent, url }) { const qry_limit = parseInt(url.searchParams.get('limit') ?? '19'); if (!qry_limit) { - console.log(`qry_limit +page.ts: The qry_limit was not found in the params!!!`); + console.log( + `qry_limit +page.ts: The qry_limit was not found in the params!!!` + ); } ae_acct.slct.qry_limit = qry_limit; diff --git a/src/routes/hosted_files/+page.svelte b/src/routes/hosted_files/+page.svelte index ad2d522d..e20756ae 100644 --- a/src/routes/hosted_files/+page.svelte +++ b/src/routes/hosted_files/+page.svelte @@ -1,90 +1,96 @@ diff --git a/src/routes/hosted_files/video_util/+page.svelte b/src/routes/hosted_files/video_util/+page.svelte index 5b33e04a..ce21fc72 100644 --- a/src/routes/hosted_files/video_util/+page.svelte +++ b/src/routes/hosted_files/video_util/+page.svelte @@ -1,123 +1,129 @@ -
-
-
+
+
+

System Testing

-

Validation dashboard for Aether Platform V3

+

+ Validation dashboard for Aether Platform V3 +

-
+
{db_counts.user ?? 0} - Users + Users +
+
-
{db_counts.person ?? 0} - People + People
-
-
-
+
- -
-
-
+
+
+
-

Environment & Bridge Diagnostics

+

+ Environment & Bridge Diagnostics +

- + Runtime: {is_native ? 'Electron' : 'Web Browser'}
-
-
- App Mode - {app_mode} +
+
+ App Mode + {app_mode}
-
- Bridge Detected +
+ Bridge Detected
-
- {is_native ? 'Active' : 'Missing / Inactive'} +
+
+ {is_native + ? 'Active' + : 'Missing / Inactive'}
-
- Bootstrap Host - {$ae_loc.hostname || '--'} +
+ Bootstrap Host + {$ae_loc.hostname || '--'}
-
-
-
+
+
+
-

Live V3 Header Inspection

+

+ Live V3 Header Inspection +

- Real-time API Store View + Real-time API Store View
-
+
{#each Object.entries(active_headers) as [key, value] (key)} -
- {key} - - {key.includes('key') || key.includes('token') || key.includes('account') ? '********' : value} +
+ {key} + + {key.includes('key') || + key.includes('token') || + key.includes('account') + ? '********' + : value}
{/each} @@ -318,46 +453,81 @@
-
-
-
+
+
+

Active Session Context

- + Level: {$ae_loc.access_type || 'anonymous'}
-
-
- Username - {$ae_loc.user?.username || '--'} +
+
+ Username + {$ae_loc.user?.username || '--'}
-
- Full Name - {$ae_loc.person?.full_name || '--'} +
+ Full Name + {$ae_loc.person?.full_name || '--'}
-
- Trusted -
+
+ Trusted +
{#if $ae_loc.trusted_access} - - YES + + YES {:else} - NO + NO {/if}
-
- Authenticated -
+
+ Authenticated +
{#if $ae_loc.authenticated_access} - - YES + + YES {:else} - NO + NO {/if}
@@ -365,102 +535,207 @@
-
-
-
+
+
+

API Security Controls

-
-
+