Issue Task Under Review Orphaned

#107918New Widget: Activity Stream for Admins

Regis TEDONE 10/29/25, 18:14 updated 04/21/26, 11:25

Description

Overview

Create a new dashboard widget that displays system activity logs specifically designed for administrator monitoring and oversight.

Purpose

This widget provides administrators with real-time visibility into system activities by displaying the latest entries from the `sys_log` table. It enables admins to monitor what’s happening in their TYPO3 installation, track user actions, identify errors, and maintain system oversight.

Access Control

**Admin-Only Widget**
- The widget must be visible ONLY to administrator users (`admin = 1`)
- Non-admin users should NOT see this widget in the widget selector at all

Configuration Options

The widget must provide the following configurable settings accessible through the configuration cog icon:

Setting 1: Number of Entries to Display
- **Type:
Dropdown/Select
- Options: 5, 10, 20, 50, 100
- Default: 10
- Label: “Number of entries to display“
- Behavior: Dynamically adjusts how many sys_log entries are fetched and displayed

Setting 2: Show Only Admin Users
- **Type:
Checkbox
- Default: Unchecked (show all users)
- Label: “Show only admin users“
- Behavior: When enabled, filters the activity stream to show only actions performed by administrator users

Setting 3: Show Only Errors and Warnings
- **Type:
Checkbox
- Default: Unchecked (show all statuses)
- Label: “Show only errors and warnings“
- Behavior: When enabled, filters to show only entries with error levels 1, 2, or 3 (warnings, errors, system errors), hiding successful operations

Setting 4: Compact View
- **Type:
Checkbox
- Default: Unchecked (normal view)
- Label: “Compact view (hide avatars, smaller text)“
- Behavior:
– When enabled: Hides user avatars, uses smaller table styling (`table-sm`), reduces padding
– When disabled: Shows full avatars, normal font sizes and spacing

Reviews 1

History 318