Skip to content

Allow Dashboard to be extended#2312

Merged
glennjacobs merged 2 commits into1.xfrom
add-dashboard-extending
Oct 14, 2025
Merged

Allow Dashboard to be extended#2312
glennjacobs merged 2 commits into1.xfrom
add-dashboard-extending

Conversation

@alecritson
Copy link
Collaborator

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.

@alecritson alecritson requested a review from Copilot October 14, 2025 07:06
@vercel
Copy link

vercel bot commented Oct 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
lunar-docs Ready Ready Preview Comment Oct 14, 2025 9:42am

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 CallsHooks trait
  • 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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@glennjacobs glennjacobs merged commit a1b9801 into 1.x Oct 14, 2025
47 checks passed
@glennjacobs glennjacobs deleted the add-dashboard-extending branch October 14, 2025 09:49
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