Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull Request Overview
This PR adds extension functionality to the Dashboard page, allowing developers to customize widgets by adding to existing ones or completely overriding them with custom implementations. The changes introduce a hook-based system for widget management and provide comprehensive documentation for the new functionality.
- Refactored widget loading to use a hook-based system with
CallsHookstrait - Split default widgets into categorized methods (overview, charts, tables) for granular customization
- Added comprehensive documentation with examples showing how to extend the dashboard
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/admin/src/Filament/Pages/Dashboard.php | Implements hook-based widget system with categorized widget methods |
| docs/admin/extending/dashboard.md | Provides complete documentation and examples for dashboard extension |
| docs/.vitepress/config.js | Adds navigation link for the new dashboard extension documentation |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This PR looks to add extending functionality to the Dashboard page so that developers can add to the existing widgets on the Dashboard, or, completely override them and build a custom dashboard to their needs.