feat: implement new audit logs page with filtering and infinite scroll, replacing the old 'Bitácora' page and updating sidebar navigation.
This commit is contained in:
@@ -91,6 +91,9 @@
|
||||
},
|
||||
"clients_and_providers": "Clients and Providers",
|
||||
"customs_brokers": "Customs Brokers",
|
||||
"audit_logs": "Audit Logs",
|
||||
"audit_logs_title": "Audit Logs",
|
||||
"audit_logs_description": "Detailed audit trail of system operations",
|
||||
"client_provider_type": {
|
||||
"client_indicator": "C",
|
||||
"provider_indicator": "P",
|
||||
|
||||
@@ -91,6 +91,9 @@
|
||||
},
|
||||
"clients_and_providers": "Clientes y Proveedores",
|
||||
"customs_brokers": "Agentes Aduanales",
|
||||
"audit_logs": "Bitácora",
|
||||
"audit_logs_title": "Bitácora de Movimientos",
|
||||
"audit_logs_description": "Auditoría detallada de operaciones del sistema",
|
||||
"client_provider_type": {
|
||||
"client_indicator": "C",
|
||||
"provider_indicator": "P",
|
||||
|
||||
@@ -78,8 +78,8 @@ export function getSidebarData(): SidebarData {
|
||||
items: [],
|
||||
},
|
||||
{
|
||||
title: "Bitácora",
|
||||
url: "/dashboard/bitacora",
|
||||
title: m["sidebar.audit_logs"](),
|
||||
url: "/dashboard/audit_logs",
|
||||
icon: Shield,
|
||||
items: [],
|
||||
},
|
||||
|
||||
@@ -157,13 +157,14 @@
|
||||
observer.disconnect();
|
||||
};
|
||||
});
|
||||
import * as m from '$lib/paraglide/messages.js';
|
||||
</script>
|
||||
|
||||
<div class="flex h-[calc(100vh-85px)] flex-col space-y-4 overflow-hidden">
|
||||
<div class="flex flex-none items-center justify-between">
|
||||
<div>
|
||||
<h1 class="text-3xl font-bold tracking-tight">Bitácora de Movimientos</h1>
|
||||
<p class="text-muted-foreground">Auditoría detallada de operaciones del sistema</p>
|
||||
<h1 class="text-3xl font-bold tracking-tight">{m['sidebar.audit_logs_title']()}</h1>
|
||||
<p class="text-muted-foreground">{m['sidebar.audit_logs_description']()}</p>
|
||||
</div>
|
||||
<div class="flex gap-2">
|
||||
<Button
|
||||
Reference in New Issue
Block a user