Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to customize the presentation #26

Merged
merged 5 commits into from
Aug 15, 2024
Merged

Conversation

andreia
Copy link
Member

@andreia andreia commented Mar 14, 2024

Add the ability to customize the presentation:

  • custom audit old and new values
  • custom view content

Copy link

what-the-diff bot commented Mar 14, 2024

PR Summary

  • Added New Method
    The team incorporated a method called customViewParameters() that was absent in the AuditsRelationManager class.

  • New View File Created
    ‘custom-audit-content.blade.php’ is a fresh addition to the resources/views/tables folder.

  • Updated Configuration Options
    Three new config options were furnished to the config/filament-auditing.php file. Out of these, custom_audits_view is set to false, custom_old_and_new_values_column_view is turned true, and 'custom_view_parameters' is left as an empty array.

  • Instruction Enhancement
    Directions on personalizing the old and new values, and the entire view content, find their place in the README.md file.

  • Demonstration Update
    The README.md file got augmented with example code that illustrates how to personalize old and new values along with the entire view content.

@andreia andreia requested a review from swilla March 14, 2024 20:13
@intrepidws
Copy link
Contributor

This would be very helpful, any plans to release this?

@andreia andreia merged commit a953b7e into main Aug 15, 2024
@andreia
Copy link
Member Author

andreia commented Aug 15, 2024

This would be very helpful, any plans to release this?

@intrepidws Just released :)
https://github.com/TappNetwork/filament-auditing/releases/tag/v3.0.7

@intrepidws
Copy link
Contributor

@andreia Great news, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants