extension_builder
extension_builder copied to clipboard
Refactor creating new controllers, actions and plugins
Rethink creating controller action creation as the current way with the text field is horrible user experience. Additionally think about a way how to connect controllers with plugins as not every controller action should be callable from every plugin.
@Gernott @nicodh @georgringer @ste101 let's do some brainstorming. Do you have any ideas on how this could be done?
I would suggest a call to talk about ideas. Would you organize this (in Slack)?
My thoughts, show an add button. After clicking on this show the available model objects of type 'Entity'. After selecting one of them show the configured actions as a list of checkboxes e.g. 'list', 'show' and custom 'search'.
But with the possibility to add more than one Action ;)
I don't even know if it makes sense to list the actions in the model as it's just a model and shouldn't know anything about the controller actions and instead define the actions only in the plugin/controller section.