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

Allow user to generate badge links

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1
    • Component/s: Web
    • Labels:
      None

      Description

      Allow users to generate github quality and SonarCloud-branded badges from his project dashboard.

      1. The feature should be easily discoverable from the project home page on SonarCloud
        • On the main page of a long-lived branch, there must be a link and/or an icon on which I can click
        • For short-lived branches, this should not be available (it's useless)
      2. The user should be guided to select what kind of badge he wants to generate :
        • The standard one (à la shield.io), for which he can select the following metrics:
          • Quality Gate status
          • Coverage (coverage)
          • Duplications (duplicated_line_density)
          • Debt (sqale_index)
          • Bugs / Vulnerabilities / Code Smells
          • Reliability / Security / Maintainability Ratings
        • The SonarCloud "Quality Gate passed/failed" one
        • The "Scanned on SonarCloud" one, for which I can select the color
      3. The URL of the badge should be automatically generated to be copy pasted easily
        • This URL automatically uses the correct component key and branch key (depending on the currently browsed long-lived branch)
      4. The preview of the selected badge should be directly updated when the options are changed

      Design : https://invis.io/PZF8SV55M#/272454628_Badges_01

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gregoire.aubert Gregoire Aubert
              Reporter:
              gregoire.aubert Gregoire Aubert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: