Closed (duplicate)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Core
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 May 2011 at 14:31 UTC
Updated:
3 Aug 2012 at 07:23 UTC
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
Comment #1
sepgil commentedfix the title spending here is a link to the issue where the problem was first discovered: Support calculations
Comment #2
fagowe 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.
Comment #3
mitchell commentedChanging status due to inactivity. Looking forward to seeing this picked up.
Comment #4
mitchell commentedWhat is the status of this issue?
Comment #5
fagoThe 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.
Comment #6
mitchell commentedI think this is handled by #1681510: Add plugin factory to UI. Please reopen if I'm wrong.