Giter Club home page Giter Club logo

log-user-activity-for-backpack's Introduction

๐Ÿ’ซ About Me:

Hi there ๐Ÿ‘‹

Let me introduce myself ๐Ÿ˜

My name is Andreas Asatera Sandi Nofa. I currently live in Malang, Jawa Timur, Indonesia.

I am a full-stack developer with a passion for creating intuitive, dynamic web and mobile applications.

With experience in a variety of programming languages and frameworks, I am skilled at developing responsive, user-friendly interfaces and delivering high-quality code.

In my previous projects, I have excelled at collaborating with cross-functional teams to bring innovative ideas to life, and I am always looking for new challenges to tackle.

๐ŸŒ Socials:

Facebook Instagram LinkedIn Twitter

๐Ÿ’ป Tech Stack:

PHP JavaScript Firebase Google Cloud Laravel Vue.js NuxtJS React Nginx Apache MariaDB Redis SQLite Docker

๐Ÿ“Š GitHub Stats:



๐Ÿ† GitHub Trophies

Badges

@coziboy's Holopin board


log-user-activity-for-backpack's People

Contributors

coziboy avatar ryusuke005 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

log-user-activity-for-backpack's Issues

[Idea] Filters!

I think this package is useful as-is, if the admin is interesting in seeing all logs in a chronological order. But for the admin that is looking for something in particular, I think this package doesn't do a good enough job - they'd have to dig through the data using the pagination or search.

Which is a pity, because it should be pretty simple to add some Backpack filters to help the admin. Here's what I think would be useful, eager to see what other think:

  • a date_range filter
  • a select2_ajax filter for User (so that the admin can easily see all activity for one user; i'd use this in conjunction with the Fetch operation so that everything is coded inside the same Controller)
  • (maybe) a select filter for subject_type, so that the admin can filter by that (we can get a list of different subject types from the DB, then cache it so that the query is not run on every request)

Thoughts?

[Idea] Screenshot on readme

Hey @coziboy ,

Great job creating this! I think a lot of people are using (or would like to use) spatie/laravel-activitylog, and having an admin interface to use when we do... would be awesome.

I've made a few PRs and suggestions, hope you don't mind.
I've also started watching all activity for this package, to see how it evolves.

I'd love to promote this to all our community and include it as a recommended add-on, but would like to see that it's well-maintained before I do that. I see there hasn't been much activity on it this year, so please let me know if you're not interested in maintaining it and we'll see what we can do. We'll of course try to help anyway, but since you've already done the grunt of the work building this, we'd much rather you continue to maintain it, with our occasional help, when asked. Maintaining a Backpack addon is a great way to learn about Backpack internals, get to know more Backpack devs and get to learn OSS management. Since the scope is limited, once and addon gets to a certain point... it doesn't really need much attention at all.

Also, yeah. What this Issue is about - a screenshot with a few entries (or maybe a GIF) would GREATLY increase how many people use this package. I heavily recommend you add that. I'd submit a PR. Here's one that I will use for a PR, but I think you can do much better than this ๐Ÿ˜…

Screenshot 2021-10-10 at 11 49 37

Hope it helps. Feel free to mention me if you need my input on anything regarding this package.
Cheers!

Error After Clicking on Preview in Actions column.

Click on Preview in Action Columns causes error:
Undefined index: attributes (View: /resources/views/vendor/backpack/crud/columns/properties.blade.php)

Checking the $entry variable via dd() shows the changes array is empty and contains no data.

[Question] I have auth guard for normal user and backpack admin, how the causer link both

the user login at /login -> using the AuthenticationController Laravel provides
the admin login at /admin/login -> using the AuthenticationControllers Backpack provides

/config/activitylog.php:26

'default_auth_driver' => null,

I changed to

'default_auth_driver' => 'backpack',

then only admin user will log, but if I keep it null, then only normal user will log causer_id and causer_type, how do you accomplish both guard?

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.