Add bokshorn-it/filament-activity-timeline package for enhanced audit logging functionality. Update README to reflect new key package and improve localization for audit-related terms. Remove deprecated ActivityLogResource and related pages, integrating activity timeline features into existing resources. Update models to implement ProvidesActivityTitle for better activity tracking.

This commit is contained in:
Mekan1206
2026-08-02 22:37:59 +05:00
parent 0237c2b9ef
commit 3504e39646
46 changed files with 472 additions and 314 deletions

View File

@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace App\Filament\ActivityTimeline;
use App\Filament\Concerns\HasHrResourceLabels;
use BokshornIt\FilamentActivityTimeline\Resources\ActivityResource;
class AuditLogResource extends ActivityResource
{
use HasHrResourceLabels;
protected static ?string $slug = 'activity-logs';
protected static function hrLabelKeys(): array
{
return [
'model' => 'activity_log',
'plural' => 'activity_logs',
'navigation' => 'audit_log',
];
}
}