Skip to content

add custom navigation group to role resource #578

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

Open
wants to merge 1 commit into
base: 3.x
Choose a base branch
from

Conversation

OthmanHaba
Copy link

No description provided.

Copy link

what-the-diff bot commented Jul 22, 2025

PR Summary

  • Introduction of new configuration option
    A new configuration option, custom_navigation_group, has been added to the configuration file config/filament-shield.php. This allows for more customization of the user interface.

  • Update in 'getNavigationGroup' method
    The method getNavigationGroup in the file RoleResource.php now uses the new method getCustomNavigationGroup from the utility file to retrieve the value of custom_navigation_group from the configuration. Therefore, it enhances the way the system retrieves and utilizes this configuration option.

  • New method in Utils
    A new method named getCustomNavigationGroup is introduced in Utils.php. Its purpose is to fetch the value of the newly added custom_navigation_group from the configuration. This small function is responsible for a significant part of this update.

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.

1 participant