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 committed 2026-08-02 22:37:59 +05:00
1 parent 0237c2b9ef
commit 3504e39646
46 files changed
+472 -314

No files matched your search

@@ -17,6 +17,14 @@
->assertSuccessful();
});
it('allows authenticated super admin users to access the audit log page', function (): void {
$admin = createAdminUser();
$this->actingAs($admin)
->get('/admin/activity-logs')
->assertSuccessful();
});
it('redirects authenticated non-admin users without panel access', function (): void {
seedRoles();
+3 -3
View File
@@ -5,7 +5,7 @@
use App\Enums\EmploymentStatus;
use App\Enums\Gender;
use App\Enums\NavigationGroup;
use App\Filament\Resources\ActivityLogs\ActivityLogResource;
use App\Filament\ActivityTimeline\AuditLogResource;
use App\Filament\Resources\Departments\DepartmentResource;
use App\Models\User;
use BezhanSalleh\LanguageSwitch\Events\LocaleChanged;
@@ -68,11 +68,11 @@
it('returns translated filament resource navigation labels', function (): void {
App::setLocale('tk');
expect(ActivityLogResource::getNavigationLabel())->toBe('Audit žurnaly');
expect(AuditLogResource::getNavigationLabel())->toBe('Audit žurnaly');
App::setLocale('ru');
expect(ActivityLogResource::getNavigationLabel())->toBe('Журнал аудита');
expect(AuditLogResource::getNavigationLabel())->toBe('Журнал аудита');
});
it('returns translated filament resource model labels', function (): void {