Page: Audit Log¶
Chronological timeline of all admin actions with expandable details.
Overview¶
The Audit Log page displays a chronological timeline of every admin action taken through the panel. Data flows from the PanelAuditLog table via real-time SpacetimeDB subscription.
Timeline Entries¶
Each entry shows:
| Field | Source | Description |
|---|---|---|
| Timestamp | PanelAuditLog.timestamp |
When the action occurred |
| Actor | PanelAuditLog.actor_player_id |
Who performed the action (Steam ID) |
| Action | PanelAuditLog.action |
What was done (ban, kick, config change, etc.) |
| Details | PanelAuditLog.details |
Expandable JSON details (target, reason, values) |
Entries use framer-motion AnimatePresence for smooth enter/exit animations when new actions arrive.
Features¶
- Search filter — filter entries by action type, actor, or details text
- Expandable rows — click an entry to reveal full details JSON
- Real-time updates — new entries appear instantly via subscription
- Immutable trail — audit entries cannot be edited or deleted
Related Pages¶
- PanelAuditLog Table — data structure
- Admin Controls — actions that generate audit entries