Nova Menu Advanced
Visit this package on GitHub

Unfiltered elements

You can disable the filter function for a menu element by invoking the notFilterable method when defining a menu element:

use NormanHuth\NovaMenu\MenuSection;
use NormanHuth\NovaMenu\MenuGroup;
use NormanHuth\NovaMenu\MenuItem;
use NormanHuth\NovaMenu\MenuCard;
 
Nova::mainMenu(function (Request $request) {
return [
//..
MenuSection::make(__('Customers'), [])
->notFilterable(),
MenuGroup::make(__('Licensing'), [])
->notFilterable(),
MenuItem::resource(User::class)
->notFilterable(),
MenuCard::make('info')
->notFilterable(),
// ..
];
});

You can create an additional menu over the filter by calling the UnfilteredMainMenu::over method.

use NormanHuth\NovaMenu\UnfilteredMainMenu;
 
class NovaServiceProvider extends NovaApplicationServiceProvider
{
protected function boot(): void
{
UnfilteredMainMenu::over(function (Request $request) {
return [
PerspektiveSelect::make(),
MenuItem::resource(Post::class),
];
});
}

You can create an additional menu under the filter by calling the UnfilteredMainMenu::under method.

use NormanHuth\NovaMenu\UnfilteredMainMenu;
 
class NovaServiceProvider extends NovaApplicationServiceProvider
{
protected function boot(): void
{
UnfilteredMainMenu::under(function (Request $request) {
return [
PerspektiveSelect::make(),
MenuItem::resource(Post::class),
];
});
}