mage-ai icon indicating copy to clipboard operation
mage-ai copied to clipboard

Allow interactions at project level instead of just individual pipeline level

Open chrisafl opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. Currently interactions are applied to one or more blocks for a single pipeline. If I have two pipelines that both need to use the same interaction, I have to configure that interaction twice (or copy/paste).

It would be convenient to have the ability to use the same interaction in multiple pipelines, perhaps by attaching it to a block template, or by adding a new section for interaction templates.

My use case is as follows: I want the ability to execute a stored procedure in Oracle. I want the user to be able to add a "Execute Stored Procedure" block that has an interaction attached to it to prompt the user for the name of the stored procedure to execute.

I'm sure there are many other use cases where keeping an interaction associated with a block would come in handy.

Describe the solution you'd like Either create a new template section for interactions that can be used independently in multiple pipelines, OR when creating a template for a block, allow creating an interaction associated with that block that is automatically applied any time that block is used (in any pipeline).

Describe alternatives you've considered Copy/paste interaction config as needed.

chrisafl avatar Feb 28 '24 15:02 chrisafl