alexjustesen / filament-spatie-laravel-activitylog Goto Github PK
View Code? Open in Web Editor NEWView your Spatie Laravel activity logs inside of Filament.
License: MIT License
View your Spatie Laravel activity logs inside of Filament.
License: MIT License
๐ really need to fix the horrible status of testing...
Dennis has done a much better job keeping up with his version of this plugin (https://github.com/pxlrbt/filament-activity-log) so in the coming weeks I'm going to deprecate this.
Hello,
To start, thanks for your bundle.
I followed the documentation and make an extend of default bundle ActivityRessource class, changed the config to use this new class but when i extends the form()
method for example, the parent class is always call.
I'v tried to copy past the full parent class but same problematic, the form() method in my class was never call, it's always the base method of your bundle.
Probably, i do something wrong ?
Bundle version: v0.6.3
Thanks
I just installed this plugin by following the readme and found that it didn't auto-register (maybe that's a bug itself, but not the topic at hand in this Issue).
... so I followed the next instruction to extend the base ActivityResource
class into my own project.
As long as I named my extended class as ActivityResource
, the plugin is correctly accessible at /activities
route.
However, if I name my extended class to ActivityLogResource
, the route changes to activity-logs
, and throws an error Route [filament.admin.resources.activities.view] not defined.
when calling \Filament\Resources\Resource::getUrl()
Same error happens when I name my extended class as ActivityResource
but set protected static ?string $slug='activity-logs';
.
In my present application, I use the term "Activity" to refer to something other than "site activity logs", so would prefer to name it differently.
Hi Alex! Thanks for hand package.
I have installed spatie/activity-log few times already. I run migrations and logged first event for User Model.
Then I installed filament-spatie-laravel-activitylog and added relationship manager
namespace App\Filament\Resources;
class UserResource extends Resource {
use AlexJustesen\FilamentSpatieLaravelActivitylog\RelationManagers\ActivitiesRelationManager;
public static function getRelations(): array
{
return [
ActivitiesRelationManager::class
];
}
The log showed up correctly in the UserResource in filamentphp.
The issue I have is that it displays no info about the changes made and it is not clickable - I can see there are views for displaying the details but they are not activated by default.
Thank you for your time!
Hi,
I've got this issue when trying to install on Laravel 9:
Your requirements could not be resolved to an installable set of packages.
Problem 1
Would you please share a workaround?
Thank you in advance,
Keep up the great work
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.