diff --git a/web/src/routes/console/admin/audit-log/+page.svelte b/web/src/routes/console/admin/audit-log/+page.svelte index df70e895..40fd55fd 100644 --- a/web/src/routes/console/admin/audit-log/+page.svelte +++ b/web/src/routes/console/admin/audit-log/+page.svelte @@ -1,21 +1,450 @@ -
-

📋

-

Audit Log

-

View authentication events, user actions, and administrative changes across the platform.

-

Coming soon

+ + +
+
+ + + +
+ + {#if loading} +
Loading audit log...
+ {:else if error} +
+

{error}

+ +
+ {:else if entries.length === 0} +
+

No audit log entries

+

No events match the selected filters.

+
+ {:else} +
+ + + + + + + + + + + + {#each entries as entry (entry.id)} + + + + + + + + {/each} + +
TimeUserActionDetailsIP Address
+ {relativeTime(entry.created_at)} + {displayUser(entry)} + + {formatAction(entry.action)} + + {formatMetadata(entry.metadata, entry.action)}{entry.ip_address || '\u2014'}
+
+ +
+ {#if hasMore} + + {:else} + No more entries + {/if} +
+ {/if}