awcodes/recently
Recently adds a "Recently Viewed" menu to Filament 4 and 5 panels, tracking visits to EditRecord and ViewRecord pages. Install via Composer, add the plugin, and include the trait on resource pages so users can quickly reopen records they've interacted with.
Two new opt-in features. Every new option defaults to the current behavior, so nothing changes until you turn it on.
The recent_entries table no longer has to grow without limit.
max_stored_items keeps only each user's most recent entries.prune_after_days removes old entries through Laravel's model:prune.With track_records enabled, entries for records that have since been deleted are hidden from the menu and global search, so they no longer lead to a "not found" page. Set include_trashed_records to keep showing soft-deleted records.
[!IMPORTANT]
track_recordsneeds a new migration. If you're upgrading, publish and run it before turning the option on:php artisan vendor:publish --tag="recently-migrations" php artisan migrate
See Configuration for details.
Huge thanks to @MACscr, whose proposals in #39 and #40 shaped both features. 🙏
Full Changelog: https://github.com/awcodes/recently/compare/v3.1.0...v3.2.0
Full Changelog: https://github.com/awcodes/recently/compare/v3.0.2...v3.1.0
Full Changelog: https://github.com/awcodes/recently/compare/v3.0.1...v3.0.2
Full Changelog: https://github.com/awcodes/recently/compare/v3.0.1...v2.0.2
Full Changelog: https://github.com/awcodes/recently/compare/v3.0.0...v3.0.1
Full Changelog: https://github.com/awcodes/recently/compare/v2.0.0...v2.0.1
Full Changelog: https://github.com/awcodes/recently/compare/v2.0.0...v3.0.0
Full Changelog: https://github.com/awcodes/recently/compare/v1.0.6...v2.0.0
Full Changelog: https://github.com/awcodes/recently/compare/v1.0.6...v2.0.0-beta.1
Full Changelog: https://github.com/awcodes/recently/compare/v1.0.5...v1.0.6
Full Changelog: https://github.com/awcodes/recently/compare/v1.0.4...v1.0.5
Full Changelog: https://github.com/awcodes/recently/compare/v1.0.3...v1.0.4
MaxWidth enum by @dissto in https://github.com/awcodes/recently/pull/11Full Changelog: https://github.com/awcodes/recently/compare/v1.0.2...v1.0.3
Full Changelog: https://github.com/awcodes/recently/compare/v1.0.1...v1.0.2
Full Changelog: https://github.com/awcodes/recently/compare/v1.0.0...v1.0.1
Full Changelog: https://github.com/awcodes/recently/commits/v1.0.0
How can I help you explore Laravel packages today?