Cleaning up and removing old legacy code and files

This commit is contained in:
Scott Idem
2026-03-24 10:28:54 -04:00
parent 6e22639e6e
commit 0bc71391fc
19 changed files with 146 additions and 1326 deletions

View File

@@ -411,8 +411,6 @@
person={$lq__person_obj}
onSave={(updated) => {
is_editing = false;
// The liveQuery should pick up the changes after they are saved to IndexedDB
// inside update_ae_obj__person -> db_save_ae_obj_li__ae_obj
}}
onCancel={() => is_editing = false}
/>
@@ -420,12 +418,5 @@
{:else}
<Person_view person_id={$slct.person_id} />
{/if}
<!-- {:catch error}
<div class="text-red-800">
<span class="fas fa-exclamation-triangle text-xl"></span>
<span>Error: {error.message}</span>
</div>
{/await} -->
<!-- {$slct.person_id ?? 'Unknown ID'} -->
</section>

View File

@@ -17,13 +17,11 @@
console.log(`ae_events_pres_mgmt presenter_view.svelte`);
import { onMount } from 'svelte';
// import { liveQuery } from "dexie";
import { browser } from '$app/environment';
import { ae_util } from '$lib/ae_utils/ae_utils';
import { api } from '$lib/api/api';
import Element_ae_obj_field_editor_v3 from '$lib/elements/element_ae_obj_field_editor_v3.svelte';
// import Element_data_store from '$lib/element_data_store.svelte';
import MyClipboard from '$lib/app_components/e_app_clipboard.svelte';
import { core_func } from '$lib/ae_core/ae_core_functions';
@@ -53,14 +51,7 @@
let ae_promises: { [key: string]: any } = $state({});
let ae_tmp: { [key: string]: any } = $state({ show__file_li: true });
// console.log(`event_presenter_id:`, $lq__event_presenter_obj?.event_presenter_id);
// console.log(`event_presentation_id:`, $lq__event_presentation_obj?.event_presentation_id);
// ae_tmp.biography = '';
ae_tmp.biography = null;
// ae_tmp.biography = $lq__event_presenter_obj?.biography ?? '';
// console.log(`ae_tmp.biography:`, ae_tmp.biography);
$effect(() => {
if (
@@ -993,8 +984,6 @@
log_lvl: 0
})
.then(function (update_result: any) {
// console.log(update_result);
// return update_result;
});
}}
class:hidden={!ae_tmp.biography ||

View File

@@ -2,9 +2,9 @@
import { onMount } from 'svelte';
import { PUBLIC_AE_BOOTSTRAP_KEY } from '$env/static/public';
import { api } from '$lib/api/api';
// import { api } from '$lib/api/api';
import { ae_loc, ae_api, ae_sess } from '$lib/stores/ae_stores';
import { get_object } from '$lib/ae_api/api_get_object';
// import { get_object } from '$lib/ae_api/api_get_object';
import { post_object } from '$lib/ae_api/api_post_object';
import { patch_object } from '$lib/ae_api/api_patch_object';
import { ArrowRightLeft, Bug, Building2, CircleCheck, Code, Contact, Database, Eye, EyeOff, FlaskConical, Globe, Info, Key, MapPin, RefreshCcw, Satellite, Server, Settings2, ShieldAlert, ShieldCheck, Trash2, Unlock, User, UserCheck, Users, Zap } from '@lucide/svelte';