Create Activity Page
Create a page in your pages folder app/Filament/Pages/
and extends the ListActivities
class.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
namespace App\Filament\Pages;
use Noxo\FilamentActivityLog\Pages\ListActivities;
class Activities extends ListActivities
{
// protected bool $isCollapsible = true;
// protected bool $isCollapsed = false;
// public function getTitle(): string
// {
// return __('filament-activity-log::activities.title');
// }
// public static function getNavigationLabel(): string
// {
// return __('filament-activity-log::activities.title');
// }
}
By extending the ListActivities
class, you are creating a new activity page that is ready to display the activity logs for your Filament application.