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

Display tab/page/widget only when required measures exist in DB

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.13.1
    • Fix Version/s: 3.0
    • Component/s: Web
    • Labels:
      None

      Description

      Currently, extension pages or tabs use the @ResourceLanguage annotation to tell when they must be displayed or not in the left-menu or in the resource viewer. Instead of realying on the language (which is statically defined in the annotation), we should add a new annotation to specify which metrics those pages/tabs depends on, so that this is checked at runtime.

      For reference, here is the use case that drives this evolution: the C# Plugins will soon be able to provide data for the DSM page, which unfortunately can be displayed only for the Java language for the moment.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fabemn OLD - Fabrice Bellingard
              Reporter:
              fabemn OLD - Fabrice Bellingard
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: