GithubHelp home page GithubHelp logo

alexjustesen / filament-spatie-laravel-activitylog Goto Github PK

View Code? Open in Web Editor NEW
82.0 82.0 22.0 99 KB

View your Spatie Laravel activity logs inside of Filament.

License: MIT License

PHP 100.00%
activity filamentphp hacktoberfest laravel log

filament-spatie-laravel-activitylog's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

filament-spatie-laravel-activitylog's Issues

Tests don't work

๐Ÿ˜… really need to fix the horrible status of testing...

To do

  • 100% coverage
  • Passing tests
  • Implement php-cs-fixer and psr-12 standards

Extend of ActivityRessource

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

Route slug vs Resource Name

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.

Screen Shot 2023-09-12 at 6 34 09 PM

RelationshipResource table row not clickable

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!

Dependency issues - Laravel 9

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

  • Root composer.json requires ryangjchandler/filament-spatie-laravel-activitylog ^0.0.2 -> satisfiable by ryangjchandler/filament-spatie-laravel-activitylog[v0.0.2].
  • ryangjchandler/filament-spatie-laravel-activitylog v0.0.2 requires illuminate/contracts ^8.73 -> found illuminate/contracts[v8.73.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.

Would you please share a workaround?

Thank you in advance,
Keep up the great work

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.