Laravel-Backpack / activity-log

MIT License
23 stars 6 forks source link

[Feature Request] Revert or Undo operation #13

Open tabacitu opened 1 year ago

tabacitu commented 1 year ago

Feature Request

Not urgent. This is a SHOULD-DO/COULD-DO.

What I am trying to achieve

I am a superadmin. I have a list of changes that my users or admins have made to models. That is GREAT. I can see those changes. But I cannot UNDO changes. If I don't like something they've done, I have to go and manually undo those changes. Right now, I don't even have a link to go to the admin panel for that entry to quickly edit it:

CleanShot 2023-08-29 at 11 11 02@2x

How I see it implemented

Not sure:

What we have to take into account is that... ActivityLog isn't just used for tracking model changes. It's also used to log various other activities right? Custom ones. So we'd need to differentiate between the two, and only allow the Undo/Revert when it makes sense.