Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66384

In trend chart config, "number of builds" suggests values < 2, but the minimum is 2

      In the "Configure trend chart" pane, the "Maximum number of builds to consider" field has a description below it: "If set to a value less than 2 then all builds will be considered." However, clicking the down spinner button will not decrement the value below 2; and if I type the value 1 and focus a different field, then the number-of-builds field gets a red color as if the value were incorrect.

      I guess it comes from src/main/resources/charts/trend-setup.jelly.

          [JENKINS-66384] In trend chart config, "number of builds" suggests values < 2, but the minimum is 2

          Arnab added a comment - - edited

          Hello kon drulli , just opened a PR - https://github.com/jenkinsci/echarts-api-plugin/pull/368

          I've reduced the min val of input for the no of builds to 1 (previously 2) this will now allow users to set values less than 2 which means all builds will be considered.

          Also the PR checks tell that the maintainers need to add a label.

           

          Arnab added a comment - - edited Hello kon drulli , just opened a PR - https://github.com/jenkinsci/echarts-api-plugin/pull/368 I've reduced the min val of input for the no of builds to 1 (previously 2) this will now allow users to set values less than 2 which means all builds will be considered. Also the PR checks tell that the maintainers need to add a label.  

          Arnab added a comment -

          Hello drulli, would like to hear your thoughts on this fix - https://github.com/jenkinsci/echarts-api-plugin/pull/368

          Arnab added a comment - Hello drulli , would like to hear your thoughts on this fix - https://github.com/jenkinsci/echarts-api-plugin/pull/368

            code_arnab Arnab
            kon Kalle Niemitalo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: