A recent problem that came up (in this issue 1151738), was that the parameter UI depends on what the user selects from the data selector and therefore should be loaded dynamically. So if for example you select "site:current_date" for new "calculate a value" action, the ui should load the right form.
This should work for generically for any action and therefore is a little bit complicated.
I will fix this as part of my GSoC Project 2011 Improving Rules 2 for the UX improving part, but since other parts have more priority I won't be able to the fix before July or August.

Comments

sepgil’s picture

Title: Dynamicly reload paramters depending dataselector » Dynamicly reload parameters depending dataselector

fix the title spending here is a link to the issue where the problem was first discovered: Support calculations

fago’s picture

we could need that also for quite some other actions, i.e. data_set, data_is, list_add, list_remove and possible more. Thus, I think finding a solution for that would allow people to easier edit those actions - so indeed a nice UX improvement.

mitchell’s picture

Title: Dynamicly reload parameters depending dataselector » Data selector: dynamicly reload parameters
Status: Active » Postponed

Changing status due to inactivity. Looking forward to seeing this picked up.

mitchell’s picture

Component: User interface » Rules Core
Assigned: sepgil » fago
Issue tags: +data transforms

What is the status of this issue?

fago’s picture

Title: Data selector: dynamicly reload parameters » easy reloading parameter forms via ajax
Assigned: fago » Unassigned
Status: Postponed » Active
Issue tags: -UX, -data transforms

The problem is generally solved, but right now each action has do to all the work via form-alteration on it's own. I have improving this on my (long) todo list, such that module developer can just state dependencies between parameters and the reloading logic is handled by Rules automatically.

Thus, re-titling the issue for that.

mitchell’s picture

Status: Active » Closed (duplicate)

I think this is handled by #1681510: Add plugin factory to UI. Please reopen if I'm wrong.