Commit 0780f47
feat: Add recents menu with pinnable pages
- Add "Recents" section in sidebar that tracks recently visited pages
- Allow pinning up to 5 pages (starred items stay at top)
- Show up to 5 pinned + 5 recent = 10 total items
- Display pinned pages on Dashboard with dedicated section
- Store recents/pins in JSON column per user+team
- Real-time sync via WebSocket (RecentsUpdated event)
- Rate limiting on pin toggle (10/minute server-side)
- Client-side expand/collapse state (localStorage, no backend calls)
- Automatic label/sublabel derivation from routes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 5699eaa commit 0780f47
File tree
11 files changed
+754
-3
lines changed- app
- Events
- Http
- Middleware
- Livewire
- Models
- database/migrations
- resources/views
- components
- livewire
- routes
11 files changed
+754
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments