Main icon indicating copy to clipboard operation
Main copied to clipboard

WidgetOperation configuration - conditional configuration

Open NivShalmon opened this issue 8 years ago • 5 comments

Sometimes, we only want a certain configuration if another configuration is set a specific way. For example in #1318, we will only want the user to select projects (via #1327) if he choose the scope of the clean operation to be selected projects. Otherwise, that information isn't relevent and we don't want to user to be able to input it. Should once again look similar to project->clean, where unless Clean projects selected below is selected, you cannot change the projects selection.

NivShalmon avatar May 06 '17 05:05 NivShalmon

This is just a part of #1327... I think this issue is redundant.

OriRoth avatar May 06 '17 15:05 OriRoth

Even though both this and #1327 are needed for #1318, this are two seperate issues. #1327 is a new type of configuration the gui needs to support, while this issue is about a relation between configurations. The examples may both be the same case, but the acctual issues are seperate, at least in my opinion

NivShalmon avatar May 06 '17 15:05 NivShalmon

I don't get it- how is it a relation between configurations? The example you've gave talks only about "clean projects listed below".

OriRoth avatar May 06 '17 15:05 OriRoth

Again, that's the example, but the utility this issue requires isn't about "selected projects only when clean projects listed below" but rather about "configuration A only when configuration B is set a specific way". The example I gave is just one example for when this may be useful, specifically the case that caused me to need this

NivShalmon avatar May 06 '17 15:05 NivShalmon

Then please give a valid example including two operations.

OriRoth avatar May 06 '17 15:05 OriRoth