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
Dan Harrin
Dan Harrin2y ago
you can check the filamentphp.com repository we have an approval system for plugins, tricks, blog posts etc
toodles
toodlesOP2y ago
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?
Dan Harrin
Dan Harrin2y ago
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.
toodles
toodlesOP2y ago
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?
Dan Harrin
Dan Harrin2y ago
probably record the changes somewhere in an observer? or the spatie activity log package?
toodles
toodlesOP2y ago
Being new to this landscape I will lookup into both what they are and if they will help. Thanks for the direction.
Dennis Koch
Dennis Koch2y ago
Maybe have a look at #pxlrbt-activity-log for the "highlight what changed with each edit" part as inspiration
toodles
toodlesOP2y ago
I will look in that as well thanks
Want results from more Discord servers?
Add your server