Replies: 1 comment
-
|
I think this is an excellent idea, so much so that I have a prototype of exactly what you mention. The recent New Controllers that I have PR's for were mostly generated by my shell script including the docs for them and the suggested changes needed to be inserted in the hooks yaml's and mdx's |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Just wanted to put this out there and generate some discussion around the idea. I realise if it is implemented it would be a big change to the current contribution workflows, but it might also make it easier to add controllers and make updates to the logic of all controllers going forwards.
It has occurred to me that all controller blueprints generally contain the same layout and logic as one another. With the controller specific variations being the different buttons and the associated event codes, etc.
With the hook blueprints, this is similar with each supported controller being included within the blueprint in a consistent and repeated way.
With this repeatability in mind I think it could be worthwhile to explore a dynamic blueprint generation system for building all blueprints instead of manually updating each controller and hook when changes are required.
Such a system could work by:
Some of the possible benefits for this are:
It would be a bit of work but I think this could be feasible to implement. I am willing to attempt building this out but wanted to raise it for discussion here first before putting any time into it.
What does everyone think?
Beta Was this translation helpful? Give feedback.
All reactions