Implement Activity Log management and Person activity integration
- Updated qry__activity_log to support filtering by person_id - Created /core/activity_logs standalone page for monitoring system actions - Enhanced Person detail page with 'Recent Activity' column showing real data - Added 'Activity Logs' card to the Core Management dashboard
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { Building, Globe, Users, ShieldCheck, List } from 'lucide-svelte';
|
||||
import { Building, Globe, Users, ShieldCheck, List, History } from 'lucide-svelte';
|
||||
import { ae_loc, slct } from '$lib/stores/ae_stores';
|
||||
|
||||
interface Props {
|
||||
@@ -70,6 +70,18 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Activity Log Card -->
|
||||
<div class="card p-4 space-y-4 variant-soft-success">
|
||||
<div class="flex items-center gap-2">
|
||||
<History size={20} />
|
||||
<h3 class="h4">Activity Logs</h3>
|
||||
</div>
|
||||
<p class="text-sm opacity-80 text-balance">Monitor system actions and historical changes for the account.</p>
|
||||
<a class="btn variant-filled-success w-full" href="/core/activity_logs">
|
||||
View Activity Logs
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Lookups Card -->
|
||||
<div class="card p-4 space-y-4 variant-soft-surface">
|
||||
<div class="flex items-center gap-2">
|
||||
|
||||
Reference in New Issue
Block a user