feature request/suggestion – automatic action list

NodeCanvas Forums Support feature request/suggestion – automatic action list

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11516
    bcristian
    Participant

    Hello

    I’ve seen that this has been requested already, and the solution proposed there to use copy > remove > replace with list > paste, in order to avoid the runtime performance penalty of always using a list, even if it has just one item.

    I suggested implementing this at UI level: initially, there is just the single action slot, and selecting an action will put it in that slot. Yet the UI would still show the “add” option, as it does in the list. Clicking that will automatically do the copy > replace > paste trick.
    Conversely, when the list reaches just one item the UI automatically replaces it with the single action.
    This latter automation (on removal) could also be disabled if the list was explicitly added by the user (though this would require persisting a flag), or have a checkbox or prompt, just at UI level.

    #11522
    Gavalakis
    Keymaster

    Hey,
    That is actually a nice practical suggestion. 🙂 It was very easy to implement it and I have just done it so for the next version.
    With the current implementation, it basically makes the “ActionList” appearing in the menu to be added manually, quite obsolete and as such it is no longer visible to be selected in the menu since it’s handled completely automatically like you suggest. I thought about your suggestion to keep explicitly added lists, but after seeing how it now works in practice, I no longer find a reason to manually add an ActionList 🙂

    Thanks again!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.