|
|
|
[
Permlink
| « Hide
]
Robin Shen [21/Dec/16 11:31 AM]
Since the custom column applies not only to a single build, but also a list of build. It is not possible to determine if a custom column should be displayed or not based on a particular build.
Yeah, but a custom column based on a configuration would be possible right?
It just would be nice to be able to add a column via plugin and also have the possibility to only show the column if some conditions are met. There is no need to say that this is based on a build or something, because in my condition implementation I could base it on whatever I want, no matter if it is the configuration name, or the latest build of the configuration or the moon phase. The main thing is to have the possibility to add a build table column as part of a QB plugin. The history builds table for a configuration will also show the custom columns. Custom columns are specific to a configuration rather than a build. And you can customize to use different columns for different configurations. And inside the column value, you may script to show different value based on current build. So I think a custom column extension point for custom column is not necessary.
To make my point clear: Of course I can add a custom column to the configuration via script, but that will only apply to the configurations where I added the custom configuration. I can add it to a parent config and all the child configs will show it, but that's not what I want. I want to add a column when some conditions are met and the plugin should define what is shown. That way it is possible to just install the plugin, activate it and every configuration shows the new column if the conditions are met.
Main thing here is the "only show column if conditions are met". Else I would have to define the custom column everywhere I need it and add a script. E.g. if these configurations are spread all over the different subtrees it is nearly impossible to maintain that. According to what you explains, add a display condition to current custom config will also serve the purpose. You may define all custom columns in root configuration, and then write a condition script to determine whether or not to display them for a particular configuration.
In QB 7.0, this issue can be solved with
|