Voyager: [Feature Request] Use views for menu builder

Created on 6 Nov 2016  路  7Comments  路  Source: the-control-group/voyager

Would it be possible in future to use views for the menu builder.

That makes it way more customizable.

__EDIT__: If approved, then I do not mind making it into a pull request.

Most helpful comment

I will try to make a pull request this weekend to show what I mean.

It's like Laravel's Pagination template moved to using views.
Read how it works now.

All 7 comments

What do you mean by "use views"?

@marktopper I think what @fletch3555 asked means what did you mean by "use views for the menu builder". How do you want to use views in the menu builder? Can you please explain your question to us?

I will try to make a pull request this weekend to show what I mean.

It's like Laravel's Pagination template moved to using views.
Read how it works now.

I also just noticed another small issue with the current way that the menus are builded.

There are no eager loading, so it could take a while to load for sites having many menus with many sub menus.

First implement have been done at #154.
Currently only for the menu of admin_menu-type.
What do you think?

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

Was this page helpful?
0 / 5 - 0 ratings