Fix 500 error, add Address/Contact placeholders, and enhance Person activity view

- Fixed broken import path in /core dashboard
- Simplified core layout data requirements to prevent crashes
- Implemented V3 CRUD and Dexie tables for Addresses and Contacts
- Created placeholder management pages for /core/addresses and /core/contacts
- Added 'Linked Activity & Content' section to Person detail page to show related events and posts
This commit is contained in:
Scott Idem
2026-01-06 16:16:31 -05:00
parent 076ac1e662
commit d2084de4d8
8 changed files with 460 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { ae_loc, ae_sess, ae_api, slct } from '$lib/stores/ae_stores';
import { Building, Globe, Users, ShieldCheck, List, LayoutDashboard } from 'lucide-svelte';
import { Building, Globe, Users, ShieldCheck, List, LayoutDashboard, MapPin, Phone } from 'lucide-svelte';
interface Props {
data: any;
@@ -31,6 +31,12 @@
<a href="/core/people" class="btn btn-sm variant-soft-warning">
<Users size={14} class="mr-1" /> People
</a>
<a href="/core/addresses" class="btn btn-sm variant-soft-surface">
<MapPin size={14} class="mr-1" /> Addresses
</a>
<a href="/core/contacts" class="btn btn-sm variant-soft-surface">
<Phone size={14} class="mr-1" /> Contacts
</a>
<a href="/core/lookups" class="btn btn-sm variant-soft-surface">
<List size={14} class="mr-1" /> Lookups
</a>