From 231462e3ad40a98212c1474efe93b3d031a23d33 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 12 Aug 2025 17:59:37 -0400 Subject: [PATCH] Working to make the dark mode look better. Work on the help tech component. General clean up. --- src/app.css | 7 + src/lib/ae_stores.ts | 3 +- src/lib/e_app_help_tech.svelte | 227 +++++++++++++----- src/routes/idaa/(idaa)/archives/+page.svelte | 2 + .../(idaa)/archives/[archive_id]/+page.svelte | 2 + .../bb/ae_idaa_comp__post_options.svelte | 2 + .../recovery_meetings/[event_id]/+page.svelte | 2 + .../ae_idaa_comp__event_obj_qry.svelte | 2 + src/routes/journals/+layout.svelte | 19 +- src/routes/journals/+page.svelte | 6 +- .../journals/[journal_id]/+layout.svelte | 14 ++ src/routes/journals/[journal_id]/+page.svelte | 63 ++++- .../entry/[journal_entry_id]/+page.svelte | 67 +++++- .../ae_comp__journal_entry_obj_id_view.svelte | 4 +- .../ae_comp__journal_entry_obj_li.svelte | 6 +- .../ae_comp__journal_obj_id_view.svelte | 2 +- .../journals/ae_comp__journal_obj_li.svelte | 9 +- 17 files changed, 350 insertions(+), 87 deletions(-) diff --git a/src/app.css b/src/app.css index c3d7d8a7..702dcac0 100644 --- a/src/app.css +++ b/src/app.css @@ -885,6 +885,13 @@ img.qr_code:focus { } +.iframe .novi_m0 { + margin: 0; +} +.iframe .novi_p0 { + padding: 0; +} + .iframe .dark .novi_label { color: white; } diff --git a/src/lib/ae_stores.ts b/src/lib/ae_stores.ts index 6693f40b..717d5780 100644 --- a/src/lib/ae_stores.ts +++ b/src/lib/ae_stores.ts @@ -122,11 +122,12 @@ const ae_app_local_data_defaults: key_val = { // Added 2025-04-04 person_id: null, // The current person_id of the logged-in user (if any) person: { + // WARNING: We need to add some logic on sign in to only include needed fields. 2025-08-12 id: null, // The current person_id of the logged-in user // profile_id: null, // The current person_profile_id of the logged-in user // pronouns: null, // informal_name: null, - // given_name: null, + given_name: null, // family_name: null, // professional_title: null, full_name: null, // convenience diff --git a/src/lib/e_app_help_tech.svelte b/src/lib/e_app_help_tech.svelte index 4802cc6d..e411db42 100644 --- a/src/lib/e_app_help_tech.svelte +++ b/src/lib/e_app_help_tech.svelte @@ -7,6 +7,8 @@ interface Props { e_class?: string; e_title?: string; e_text?: string; + e_class_h1?: string; + e_class_h2?: string; e_class_form_hidden?: string; e_class_form_showing?: string; btn_text?: string; @@ -23,6 +25,8 @@ let { e_class = '', e_title = 'Technical Help', e_text = 'Request technical help for this application.', + e_class_h1 = $bindable(''), + e_class_h2 = $bindable(''), e_class_form_hidden = $bindable(''), e_class_form_showing = $bindable(''), btn_text = 'Technical Help', @@ -33,11 +37,13 @@ let { }: Props = $props(); // *** Import Svelte specific +import { goto } from '$app/navigation'; // *** Import other supporting libraries import { // ArrowBigRight, BadgeQuestionMark, + ChevronDown, ChevronRight, // CircleX, // Copy, // Eye, EyeOff, @@ -46,8 +52,9 @@ import { // LogIn, LogOut, LockKeyhole, // Mail, MailCheck, // Menu, - // RefreshCw, RefreshCcw, RefreshCcwDot, + RefreshCw, RefreshCcw, RefreshCcwDot, // ShieldEllipsis, ShieldMinus, ShieldPlus, ShieldUser, + SquareX, // User, UserCheck } from '@lucide/svelte'; @@ -130,13 +137,10 @@ function send_help_tech_email() {
-

{#if e_success} - + Help Requested {:else} - + Notify Technical Support @@ -192,16 +200,22 @@ function send_help_tech_email() { {/if} -

+
@@ -223,19 +237,31 @@ function send_help_tech_email() { alert('Notification sent to the IT team.'); })} > + +