Skip to content

Conversation

@lschvn
Copy link

@lschvn lschvn commented Dec 5, 2025

Changes

  • Added a "Recents" section to the sidebar that tracks and displays recently visited pages
  • Created user_recent_visits database table to persist visit history per user
  • Created UserRecentVisit model with helper methods for recording/retrieving visits
  • Created TrackRecentVisits middleware that automatically tracks visits to projects, servers, applications, databases, and services
  • Created RecentlyVisited Livewire component with collapsible UI
  • Updated navbar.blade.php to include the new component
  • Updated Kernel.php to register the new middleware

New Files:

  • database/migrations/2025_12_05_163600_create_user_recent_visits_table.php
  • app/Models/UserRecentVisit.php
  • app/Http/Middleware/TrackRecentVisits.php
  • app/Livewire/RecentlyVisited.php
  • resources/views/livewire/recently-visited.blade.php

Modified Files:

  • app/Http/Kernel.php
  • resources/views/components/navbar.blade.php

@Cinzya
Copy link
Member

Cinzya commented Dec 5, 2025

@lschvn Some screenshots of the UI elements you are adding would be nice to have.

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.

2 participants