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

          Kalle Niemitalo created issue -
          Kalle Niemitalo made changes -
          Link New: This issue relates to JENKINS-63770 [ JENKINS-63770 ]
          Ulli Hafner made changes -
          Assignee Original: Ulli Hafner [ drulli ]
          Ulli Hafner made changes -
          Labels New: hacktoberfest help-wanted newbie-friendly

          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
          Ulli Hafner made changes -
          Assignee New: Arnab [ code_arnab ]
          Ulli Hafner made changes -
          Released As New: https://github.com/jenkinsci/echarts-api-plugin/releases/tag/v5.5.1-5
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: