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:
@@ -5,7 +5,7 @@ declare(strict_types=1);
|
||||
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 navigation group labels at request time', functi
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user