tighten / nova-package-development

A forum for talking about the process of Nova Package Development
52 stars 2 forks source link

[WIP] Menu package #5

Closed tomhatzer closed 5 years ago

tomhatzer commented 6 years ago

I'm currently working on a nova menu package, that has spatie/menu (spatie/laravel-menu) integration. So you basically just have to do a Menu::build(NovaMenu::getTree(), 'NovaMenu::buildMenu') in the frontend and everything will be done by the NovaMenu and the spatie Package.

Creating menus is already working, I'm currently working on the menu items (using an already existing vue component that I'm customizing) - with drag and drop support.

Demo of adding new menus: nova-menu-animation

If anyone has any recommendations based on the gif, please go ahead and tell me 😀

monaye commented 6 years ago

Looking great! Maybe instead of showing the menu list in select, why don't you just use the regular list => detail UI/UX? So, in the future, you can easily add an action button to each menu, where you can hide menu, sort, delete.
Just an idea 😄 sample

tomhatzer commented 6 years ago

I had the wordpress menu style in mind, where you select the menu from above and then customize the menu items below it. So you can have multiple separate menus on the website, wherever you like 😃 Hiding menu items is already on the list, as this is a functionality that the vue component already offers, deleting menu items will be added to this too.

willmkt commented 6 years ago

Any updates on this package?

dillingham commented 5 years ago

abandoned