Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11653

Display new code period details when a manual baseline analysis is defined

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.7
    • Component/s: Activity, Branch & PR, Web API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      When a manual baseline analysis is set and a new analysis is processed, the new code period is defined from this analysis.

      This new code period should be displayed correctly on the following UI locations:

      • overview page new code period box
      • top right of the measure page

      New code period box and version on the measure page are feed from the response of WS api/measures/component:

      • periods[0].mode="manual_baseline"
      • periods[0].date= {creation date of manual baseline analysis}
      • periods[0].parameter
        • value of version event if any
        • otherwise value of projectVersion if set and if different from codePeriodVersion
        • otherwise empty

      When parameter is empty, UI should display a label: after [date formatted]. When parameter is not empty, UI should display label since [parameter]

        Attachments

        1. Selection_446.png
          Selection_446.png
          54 kB
        2. Selection_445.png
          Selection_445.png
          56 kB
        3. Selection_444.png
          Selection_444.png
          32 kB

          Issue Links

            Activity

              People

              • Assignee:
                wouter.admiraal Wouter Admiraal
                Reporter:
                janos.gyerik Janos Gyerik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: