diff --git a/.prettierrc b/.prettierrc index ca372a3f..2363b8db 100644 --- a/.prettierrc +++ b/.prettierrc @@ -3,7 +3,7 @@ "tabWidth": 4, "singleQuote": true, "trailingComma": "none", - "printWidth": 100, + "printWidth": 80, "plugins": ["prettier-plugin-svelte"], "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] } diff --git a/src/lib/app_components/e_app_help_tech.svelte b/src/lib/app_components/e_app_help_tech.svelte index 21ecf9eb..8d430331 100644 --- a/src/lib/app_components/e_app_help_tech.svelte +++ b/src/lib/app_components/e_app_help_tech.svelte @@ -18,12 +18,12 @@ } let { - log_lvl = 0, + log_lvl = $bindable(0), additional_kv = $bindable({}), e_success = $bindable(false), e_class = '', - e_title = 'Technical Help', - e_text = 'Request technical help for this application.', + // 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(''), @@ -53,8 +53,8 @@ // Mail, MailCheck, // Menu, RefreshCw, - RefreshCcw, - RefreshCcwDot, + // RefreshCcw, + // RefreshCcwDot, // ShieldEllipsis, ShieldMinus, ShieldPlus, ShieldUser, SquareX // User, UserCheck @@ -81,7 +81,7 @@ let help_tech_text: string = $state(''); let hide_additional_info: boolean = $state(true); - function preventDefault(fn: (event: T) => void) { + function prevent_default(fn: (event: T) => void) { return function (event: T) { event.preventDefault(); fn(event); @@ -125,7 +125,9 @@ api.send_email({ api_cfg: $ae_api, - from_email: $ae_loc.site_cfg_json?.noreply_email ?? 'noreply+tech@oneskyit.com', + from_email: + $ae_loc.site_cfg_json?.noreply_email ?? + 'noreply+tech@oneskyit.com', from_name: $ae_loc.site_cfg_json?.noreply_name ?? 'IT NoReply', // to_email: $ae_loc.site_cfg_json?.admin_email ?? 'admin+tech@oneskyit.com', // 'scott+idaabb@oneskyit.com', to_email: 'it+tech@oneskyit.com', @@ -151,7 +153,7 @@ class:to-90%={$ae_sess.show_help_tech} --> flex flex-row items-center justify-center rounded-lg shadow-2xl - border-1 border-transparent + border border-transparent transition-all {e_class} {!$ae_sess.show_help_tech ? e_class_form_hidden : e_class_form_showing} @@ -198,12 +200,16 @@ class:to-90%={$ae_sess.show_help_tech} --> " > {#if e_success} - + Help Requested {:else} - + Notify Technical Support @@ -241,7 +247,7 @@ class:to-90%={$ae_sess.show_help_tech} --> items-center justify-center w-md max-w-lg " - onsubmit={preventDefault(() => { + onsubmit={prevent_default(() => { // Do stuff... send_help_tech_email(); @@ -298,8 +304,9 @@ class:to-90%={$ae_sess.show_help_tech} --> text-sm text-gray-700 dark:text-gray-300 text-center italic " > - This is intended for technical issues only. Please contact your organization's staff - if you have a question about your membership, recorded content, meetings, or posts. + This is intended for technical issues only. Please contact your + organization's staff if you have a question about your + membership, recorded content, meetings, or posts.
{e_class_h2} " > - + Additional Information Included @@ -335,7 +344,8 @@ class:to-90%={$ae_sess.show_help_tech} --> btn btn-sm preset-tonal-tertiary {btn_class} " - onclick={() => (hide_additional_info = !hide_additional_info)} + onclick={() => + (hide_additional_info = !hide_additional_info)} title="Toggle additional information" > @@ -356,19 +366,26 @@ class:to-90%={$ae_sess.show_help_tech} --> class:hidden={hide_additional_info} >
  • - Datetime = + Datetime = {new Date().toISOString()}
  • - URL = + URL = {window.location.href}
  • - Browser = + Browser = {navigator.userAgent}
  • - Viewport Size =Viewport Size = {window.innerWidth} x {window.innerHeight}
  • @@ -379,66 +396,97 @@ class:to-90%={$ae_sess.show_help_tech} --> {window.screen.width} x {window.screen.height}
  • - Dark mode = - {window?.matchMedia?.('(prefers-color-scheme:dark)')?.matches ?? false} + Dark mode = + {window?.matchMedia?.('(prefers-color-scheme:dark)') + ?.matches ?? false}
  • - In iframe = + In iframe = {$ae_loc?.iframe}
  • - Theme Mode = + Theme Mode = {$ae_loc?.theme_mode}
  • - Theme Name = + Theme Name = {$ae_loc?.theme_name}
  • - Account ID = + Account ID = {$slct.account_id}
  • - Access Type = + Access Type = {$ae_loc?.access_type}
  • {#if $ae_loc?.person_id}
  • - person_id =person_id = {$ae_loc?.person_id}
  • - full_name =full_name = {$ae_loc?.full_name}
  • {/if} {#if $ae_loc?.user_id}
  • - user_id = + user_id = {$ae_loc?.user_id}
  • - username = + username = {$ae_loc?.username}
  • - email = + email = {$ae_loc?.email}
  • {/if}
  • - API Base URL = + API Base URL = {$ae_api.base_url}
  • {#if additional_kv && Object.keys(additional_kv).length > 0} -

    Component Info:

    +

    + Component Info: +

      {#each Object.entries(additional_kv) as [key, value]}
    • - {key} = {value ?? '-- not set --'} @@ -447,9 +495,11 @@ class:to-90%={$ae_sess.show_help_tech} -->
    {/if} -
    - This information will be included in the help request to assist technical - support in diagnosing the issue. +
    + This information will be included in the help request to + assist technical support in diagnosing the issue.
    diff --git a/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte b/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte index 21a26022..f6b6a2f6 100644 --- a/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte +++ b/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte @@ -2,18 +2,18 @@ interface Props { log_lvl?: number; // export let lq__event_obj: any; - lq__event_presenter_obj: any; // This is the currently selected presenter. + // lq__event_presenter_obj: any; // This is the currently selected presenter. lq__event_session_obj: any; // ); - lq__auth__event_presenter_obj: any; + // lq__auth__event_presenter_obj: any; lq__event_presentation_obj_li: any; } let { log_lvl = $bindable(0), - lq__event_presenter_obj, + // lq__event_presenter_obj, lq__event_session_obj, - lq__auth__event_presenter_obj, + // lq__auth__event_presenter_obj, lq__event_presentation_obj_li }: Props = $props(); @@ -42,18 +42,18 @@ import { ae_snip, ae_loc, - ae_sess, + // ae_sess, ae_api, - ae_trig, + // ae_trig, slct, - slct_trigger + // slct_trigger } from '$lib/stores/ae_stores'; import { events_loc, events_sess, events_slct, - events_trigger, - events_trig_kv + // events_trigger, + // events_trig_kv } from '$lib/stores/ae_events_stores'; import { events_func } from '$lib/ae_events_functions';