Approvals
I am building an app that will require approval everytime data is added or edited to a resource. Is there something you would suggest I use to get a headstart on instead of building an approval mechanism from scratch.
8 Replies
you can check the filamentphp.com repository
we have an approval system for plugins, tricks, blog posts etc
thats super interesting to know the site itself is built on filament. Pls bear with a newbie question. I see the repo but I do not see the app folder which I am used to to dig in and read the code. What doler structure am I seeing in the repo?
GitHub
GitHub - filamentphp/filamentphp.com: Source code for the filamentp...
Source code for the filamentphp.com website. Contribute to filamentphp/filamentphp.com development by creating an account on GitHub.
thank you!
@danharrin The approach in this project worked for us. A nice to have is a similar approval mechanism for Edits of Resources too and highlight exactly what changed with each edit. Any suggestions on how to achieve something like that?
probably record the changes somewhere in an observer?
or the spatie activity log package?
Being new to this landscape I will lookup into both what they are and if they will help. Thanks for the direction.
Maybe have a look at #pxlrbt-activity-log for the "highlight what changed with each edit" part as inspiration
I will look in that as well thanks