Making a Spatie Activity Log packages, want to display json in detail page. #1438
-
I want to display the activity logs in detail page in one field, tried JsonField, Preview, StackFields, Template fields with changeFill(), fill(), changePreview(), beforeRender() methods, the followings are the data format. Log for Created
Log for Updated
Any solutions better than below code? my solution is splited into two fields to display the old and new records.
I also tried Text with customView(), but not working...
did not lad the view blade. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Take a look at this package and component https://github.com/moonshine-software/changelog/blob/2.x/src/Components/ChangeLog.php |
Beta Was this translation helpful? Give feedback.
Take a look at this package and component https://github.com/moonshine-software/changelog/blob/2.x/src/Components/ChangeLog.php