Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5007 New "Coding Rules" space
  3. SONAR-5164

Keep a "quality profile" context when one is selected in the form

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4
    • Component/s: Rules, Web
    • Labels:
      None

      Description

      The current Coding Rules page is perfect to find rules and activate/deactivate some of them on quality profiles. However, it does not fully cover the following use cases:

      • I want to easily switch between rules activated on a specific profile and rules not activated on this profile to find new rules that I can activate
        • For the moment, the user needs to play with 2 criteria in the form
      • When customizing a profile, I want to quickly activate/update/deactivate rules on this profile
        • For the moment, the user needs to scroll down the page to find the "Quality Profiles" section

      So here are modifications that should be done:

      • replace "In QP" and "Out of QP" by a single "Quality Profile" (single-value). When selected, another radio-button criterion is available to select "Active" or "Inactive". Default value is "Active".
      • when a Quality Profile is selected, then a slight contextual panel is displayed above the rule title with :
        • if active rule :
          • the active severity
          • rule parameters
          • button "Deactivate"
          • active rule note
        • if inactive
          • button "Activate"
      • the bottom list of profiles is unchanged. It still contains the current profile but without highlighting it (no blue title)
      • for the bulk change, there's no "Activate In" option any longer (because there no "Out of QP" criterion anymore)

        Attachments

          Activity

            People

            Assignee:
            jb.lievremont OLD - Jean-Baptiste Lièvremont (Inactive)
            Reporter:
            fabemn OLD - Fabrice Bellingard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: