mirror of
https://github.com/filamentphp/filament.git
synced 2026-08-29 03:09:12 +08:00
11ef6c6a88fe448d3524c3d66b45c19e54f58f74
* feat: add deferred badge loading for relation manager tabs Extends the deferred tab badge loading introduced in PR #19336 to relation manager tabs, fixing two upstream issues: 1. `RelationManager::getTabComponent()` was evaluating `getBadge()` eagerly before the deferred mechanism could intercept it. 2. `HasRelationManagers::getRelationManagersContentComponent()` built `Tabs::make()` with no key, causing `callSchemaComponentMethod()` to receive null when the async badge fetch fired. Changes: - Add `protected static bool $deferBadge = false` to `RelationManager` with an overrideable `isBadgeDeferred()` method for per-record control - Add fluent `->deferBadge()` and `isBadgeDeferred()` to `RelationGroup` - Add `->key('relationManagerTabs')` to the `Tabs` built in `HasRelationManagers` - Add docs and tests Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * cleanup --------- Co-authored-by: buzkall <buzkall@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Dan Harrin <git@danharrin.com>
Build apps & admin panels fast, for your bright ideas.
With a solid Laravel foundation and a polished UI, you can focus on what makes your product unique. Filament gives you UI components that you won't outgrow — a cohesive set of well-considered building blocks that adapt as your application grows in complexity.
- Tables — Browse and filter large datasets with powerful columns, actions, and bulk operations.
- Forms — Build complex, reactive forms using a set of reusable, state-aware components.
- Infolists — Render read-only record views with structured layouts and custom formatting.
- Notifications — Trigger in-app feedback for actions, errors, and system events with minimal setup.
- Dashboard widgets — Surface key metrics and trends using live, data-driven widgets tailored to each user.
- Action modals — Handle confirmations and data entry with focused modal workflows tied to actions.
Get Started • Launch Demo • Join Discord
Special thanks to Warp for sponsoring Filament through GitHub Sponsors:
Warp, built for coding with multiple AI agents.
Contributing
Please see our contributing guide.
Need Help?
🐞 If you spot a bug, please submit a detailed issue, and wait for assistance.
🤔 If you have a question or feature request, please start a new discussion. We also have a Discord community. For quick help, ask questions in the appropriate channel.
🔐 If you discover a vulnerability, please review our security policy.
Description
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
Readme
692 MiB
Languages
PHP
89.1%
JavaScript
5.3%
Blade
3.6%
CSS
2%
