extension_builder icon indicating copy to clipboard operation
extension_builder copied to clipboard

Refactor creating new controllers, actions and plugins

Open simonschaufi opened this issue 3 years ago • 5 comments

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.

simonschaufi avatar Jul 16 '21 23:07 simonschaufi

@Gernott @nicodh @georgringer @ste101 let's do some brainstorming. Do you have any ideas on how this could be done?

simonschaufi avatar Aug 19 '21 17:08 simonschaufi

I would suggest a call to talk about ideas. Would you organize this (in Slack)?

Gernott avatar Aug 20 '21 08:08 Gernott

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'.

ste101 avatar Aug 20 '21 09:08 ste101

But with the possibility to add more than one Action ;)

Gernott avatar Aug 20 '21 10:08 Gernott

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.

simonschaufi avatar Aug 20 '21 11:08 simonschaufi