I think it might help when configuring many interdependent rules to be able to build components out of existing parts of a rule.

Attached is an example of a conditions screen.

Comments

mitchell’s picture

Component: User Interface » User interface
StatusFileSize
new1.01 KB
new7.96 KB
new1.83 KB
new22.54 KB
mitchell’s picture

mitchell’s picture

Anonymous’s picture

I just wanted to create the same issue. Glad it's already done ;)

@mitchell, the screen seems to mix conditions and actions. ("add action" option below the conditions)

Are those circles in front of each condition checkboxes? I doubt, but I think it should be possible to pick a set of conditions/actions by ticking them. This way you could slice a complex set of rows into several components, and don't have to export all into one single compontent. It furthermore should be possible to slice a component into other (sub-)components this way.

All this makes it even more important to get a proper way of commenting rules (see #1244738: Provide a description field), because converting rule-parts to components tends to raise complexity of rules.

mitchell’s picture

Component: User interface » Rules Core
Status: Active » Postponed

> the screen seems to mix conditions and actions
Yea, it should be "add a component."

> Are those circles in front of each condition checkboxes?
They're meant to be. It was just a crude example, but I guess it was too crude :)

> This way you could slice a complex set of rows into several components, and don't have to export all into one single compontent. It furthermore should be possible to slice a component into other (sub-)components this way.
Yea, that's how I think it would be used.

> All this makes it even more important to get a proper way of commenting rules
I agree. Let's postponed this till that one is done.

mitchell’s picture

Component: Rules Core » User Interface

arrr

mitchell’s picture

Status: Postponed » Active
tr’s picture

Version: 7.x-2.x-dev » 8.x-3.x-dev
Category: Task » Feature request
Issue summary: View changes
Status: Active » Postponed

Sounds like a reasonable feature, but it's not going to be implemented in Drupal 7 this late in the D7 development cycle. Especially since there seems to be little community interest.

Moving this to a D8 feature request. If you're interested in seeing this implemented, the best way is to provide a patch so we can try it out and come to agreement on how this should work and whether it should be in core Rules or in its own module.