Audit log filters and search

Add search and filtering capabilities to the audit log in the Control Panel. Currently the log shows a flat chronological list; the improved version allows administrators to filter by user, action type, date range, or affected entity to quickly find specific events.

Why this matters

As a workspace grows and accumulates months of audit history, the flat log becomes unwieldy. Finding out "who changed this project's deadline last week" or "what did this user do yesterday" requires scrolling through hundreds of entries. Filters and search turn the audit log into a genuinely useful accountability tool.

How it works

A filter bar above the audit log provides controls for:

  • User: Filter events by the user who performed the action.
  • Action type: Filter by category (created, updated, deleted, login, etc.).
  • Date range: Show events from a specific period.
  • Entity: Filter by the type of record affected (project, employee, client, etc.).

A text search box filters by the content of the event description. Pagination is added to handle large result sets without loading the entire log at once. The filtered view can be exported.