Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💄 Add empty state for menu panels #8

Merged
merged 1 commit into from
Aug 9, 2024
Merged

💄 Add empty state for menu panels #8

merged 1 commit into from
Aug 9, 2024

Conversation

Log1x
Copy link
Contributor

@Log1x Log1x commented Aug 8, 2024

This replaces the current behavior of hiding empty menu panels with an empty state component. This provides a bit better UX and lets us avoid the forceful ->getItems() query in the admin provider when registering model menu panels which can be pesky, especially with CI. Under the hood, it is utilizing Filament's empty state table component.

Screenshot

Copy link
Owner

@datlechin datlechin left a comment

Choose a reason for hiding this comment

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

Look great, thanks!

@datlechin datlechin merged commit 0704855 into datlechin:main Aug 9, 2024
1 check passed
@Log1x Log1x deleted the enhance/empty-state branch August 9, 2024 02:42
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