Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44595

Audit frontend code to ensure that we use the displayName of the organization

    Details

    • Similar Issues:
    • Sprint:
      Blue Ocean 1.1

      Description

      Alvaro Lobato pointed out in JENKINS-44538 that we use the name of the organization instead of displayName when we show organizations in paths. For example on pipeline row items

      Scope

      • Go through and audit all the places where we display the organization name and update them to use the display name of the organization

      Enabling org mode

      cd blueocean && mvn hpi:run -Dblueocean.features.organizations.enabled=true
      

        Attachments

          Activity

          jamesdumay James Dumay created issue -
          jamesdumay James Dumay made changes -
          Field Original Value New Value
          Epic Link JENKINS-43955 [ 181487 ]
          jamesdumay James Dumay made changes -
          Description [~alobato] pointed out in JENKINS-44538 that we use the {{name}} of the organization instead of {{displayName}} when we show organizations in paths. For example [on pipeline row items|https://github.com/jenkinsci/blueocean-plugin/blob/fb065140166674ee4720e5b81b85923f95257e55/blueocean-dashboard/src/main/js/components/PipelineRowItem.jsx#L73]

          *Scope*
          * Go through and audit all the places where we display the organization name and update them to use the display name of the organization
          Hide
          jamesdumay James Dumay added a comment - - edited

          Alvaro Lobato how do we now activate the organization name prefixes on vanilla Blue Ocean? Via a system property?

          Show
          jamesdumay James Dumay added a comment - - edited Alvaro Lobato how do we now activate the organization name prefixes on vanilla Blue Ocean? Via a system property?
          Hide
          alobato Alvaro Lobato added a comment -

          Hi,

          There is still this flag to do it: -Dblueocean.features.organizations.enabled=true

          Show
          alobato Alvaro Lobato added a comment - Hi, There is still this flag to do it: -Dblueocean.features.organizations.enabled=true
          jamesdumay James Dumay made changes -
          Sprint Blue Ocean 1.1 [ 321 ] Blue Ocean 1.1, Blue Ocean 1.1 [ 321, 331 ]
          jamesdumay James Dumay made changes -
          Priority Minor [ 4 ] Critical [ 2 ]
          jamesdumay James Dumay made changes -
          Description [~alobato] pointed out in JENKINS-44538 that we use the {{name}} of the organization instead of {{displayName}} when we show organizations in paths. For example [on pipeline row items|https://github.com/jenkinsci/blueocean-plugin/blob/fb065140166674ee4720e5b81b85923f95257e55/blueocean-dashboard/src/main/js/components/PipelineRowItem.jsx#L73]

          *Scope*
          * Go through and audit all the places where we display the organization name and update them to use the display name of the organization
          [~alobato] pointed out in JENKINS-44538 that we use the {{name}} of the organization instead of {{displayName}} when we show organizations in paths. For example [on pipeline row items|https://github.com/jenkinsci/blueocean-plugin/blob/fb065140166674ee4720e5b81b85923f95257e55/blueocean-dashboard/src/main/js/components/PipelineRowItem.jsx#L73]

          *Scope*
          * Go through and audit all the places where we display the organization name and update them to use the display name of the organization

          *Enabling org mode*
          {code}
          cd blueocean && mvn hpi:run -Dblueocean.features.organizations.enabled=true
          {code}
          Hide
          jamesdumay James Dumay added a comment -
          Show
          jamesdumay James Dumay added a comment - thanks Alvaro Lobato
          jamesdumay James Dumay made changes -
          Sprint Blue Ocean 1.1, Blue Ocean 1.1 [ 321, 331 ] Blue Ocean 1.1 [ 321 ]
          jamesdumay James Dumay made changes -
          Sprint Blue Ocean 1.1 [ 321 ] Blue Ocean 1.1, Blue Ocean 1.2 [ 321, 326 ]
          jamesdumay James Dumay made changes -
          Rank Ranked higher
          alobato Alvaro Lobato made changes -
          Assignee Alvaro Lobato [ alobato ]
          alobato Alvaro Lobato made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          alobato Alvaro Lobato made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          alobato Alvaro Lobato added a comment -

          James Dumay this has been merged, a cherry pick will be needed to 1.1.0 thanks.

          Show
          alobato Alvaro Lobato added a comment - James Dumay this has been merged, a cherry pick will be needed to 1.1.0 thanks.
          Hide
          jamesdumay James Dumay added a comment -

          Alvaro Lobato this should be in the latest 1.1.x

          Show
          jamesdumay James Dumay added a comment - Alvaro Lobato this should be in the latest 1.1.x
          jamesdumay James Dumay made changes -
          Sprint Blue Ocean 1.1, Blue Ocean 1.4 - beta 2 [ 321, 326 ] Blue Ocean 1.1 [ 321 ]

            People

            • Assignee:
              alobato Alvaro Lobato
              Reporter:
              jamesdumay James Dumay
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: