Comments (4)
hi @ajcastro, Good catch but unfortunately voyager doesn't fire any events for menu (CRUD) so it is not possible to fix this issue currently.
https://github.com/the-control-group/voyager/blob/1.2/src/Http/Controllers/VoyagerMenuController.php
from voyager-deployment-orchestrator.
What if we add a command something like php artisan voyager-deployment-orchestrator:save_menu_items_order
that will create a seeder where it updates the menu_items order base from current database state of menu_items
from voyager-deployment-orchestrator.
Hi @ajcastro, I like the idea. PR's welcome :)
from voyager-deployment-orchestrator.
I'm wondering if it might be better to add full blown support to sync the menus (not only the items order). If we have multiple instances of an app we usually want the menus to be synced as well. I do this right now with iseed but like the VDO approach more since I don't have to think about it.
from voyager-deployment-orchestrator.
Related Issues (11)
- Stub Variable 'datatype_slug_statements' rendering in seed files
- Installation question HOT 2
- Bad seeds path HOT 7
- Exception occur PDOException: SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: 'THE DATE' for column 'created_at' HOT 2
- PHP Warning: Use of undefined constant nationalities in config file HOT 5
- Deprecation Notice HOT 2
- Support for Laravel 8 HOT 1
- VoyagerDeploymentOrchestratorSeeder seederpath is wrong HOT 1
- Target class [DrudgeRajen\VoyagerDeploymentOrchestrator\ContentManger\FileSystem] does not exist HOT 1
- Need listen for "permission_role" table / bread HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voyager-deployment-orchestrator.