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:
Galindo97
2026-02-10 14:21:00 -06:00
parent f90e20469a
commit 4b7a3a8f4a
4 changed files with 11 additions and 4 deletions

View File

@@ -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: [],
},

View File

@@ -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