-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Active Choices plugin v 1.4
Sometimes it is better that an AC control displays more of the available options even if a single selection will be made. For example, the AC display of files in a folder benefits from displaying more than a single file even though a single file will be selected by the user. Currently, an expanded display (displaying 5 option values) is available only for an AC multi-select control. Perhaps, we can introduce a user-selectable configuration option that controls the number of the displayed options.
Code changed in jenkins
User: Bruno P. Kinoshita
Path:
src/main/java/org/biouno/unochoice/AbstractCascadableParameter.java
src/main/java/org/biouno/unochoice/AbstractScriptableParameter.java
src/main/java/org/biouno/unochoice/CascadeChoiceParameter.java
src/main/java/org/biouno/unochoice/ChoiceParameter.java
src/main/java/org/biouno/unochoice/DynamicReferenceParameter.java
src/main/resources/org/biouno/unochoice/CascadeChoiceParameter/config.jelly
src/main/resources/org/biouno/unochoice/ChoiceParameter/config.jelly
src/main/resources/org/biouno/unochoice/DynamicReferenceParameter/config.jelly
src/main/resources/org/biouno/unochoice/common/checkboxContent.jelly
src/main/resources/org/biouno/unochoice/common/choiceParameterCommon.jelly
src/main/resources/org/biouno/unochoice/common/radioContent.jelly
src/main/webapp/help-useDefaultMaxVisibleItemCount.html
src/main/webapp/help-visibleItemCount.html
src/test/java/org/biouno/unochoice/issue38889/TestNumberOfVisibleElements.java
src/test/java/org/biouno/unochoice/issue38889/package-info.java
http://jenkins-ci.org/commit/active-choices-plugin/83f53bd14f939711e56213ca91ad679fffedd7e6
Log:
JENKINS-38889 Add an option to disable the default maximum number of visible elements. Also add another option to specify the number of visible elements on the UI. Unit tests included.