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

Support Jenkins symbols in TopLevelItemDescriptor#getIconClassName()

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • 2.454

      TopLevelItemDescriptor is the Descriptor for TopLevelItem's, generating the overview of entries at yourJenkins/newJob.

      This view doesn't support loading Jenkins symbols yet, #getIconClassName() loads the job icon from a path.

      It would be nice if we could make use of the common symbol syntax, like symbol-jenkins plugin-ionicons-api, to load a custom symbol for a custom job via #getIconClassName(), rather than relying on a static path.

      Resources:
      TopLevelItemDescriptor: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/TopLevelItemDescriptor.java

          [JENKINS-72947] Support Jenkins symbols in TopLevelItemDescriptor#getIconClassName()

          Alexander Brandes created issue -
          Alexander Brandes made changes -
          Summary Original: Support Jenkins symbols in TopLevelItemDescriptor New: Support Jenkins symbols in TopLevelItemDescriptor#getIconClassName()
          Alexander Brandes made changes -
          Description Original: TopLevelItemDescriptor is the Descriptor for TopLevelItem's, generating the overview of entries at {{yourJenkins/newJob}}.

          This view doesn't support loading Jenkins symbols yet, {{#getIconClassName()}} loads the job icon from a path.

          It would be nice if we could make use of the common symbol syntax, like {{symbol-jenkins plugin-ionicons-api}}, to load a custom symbol for a custom job, rather than relying on a static path.

          Resources:
          TopLevelItemDescriptor: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/TopLevelItemDescriptor.java
          New: TopLevelItemDescriptor is the Descriptor for TopLevelItem's, generating the overview of entries at {{yourJenkins/newJob}}.

          This view doesn't support loading Jenkins symbols yet, {{#getIconClassName()}} loads the job icon from a path.

          It would be nice if we could make use of the common symbol syntax, like {{symbol-jenkins plugin-ionicons-api}}, to load a custom symbol for a custom job via {{#getIconClassName()}}, rather than relying on a static path.

          Resources:
          TopLevelItemDescriptor: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/TopLevelItemDescriptor.java
          Markus Winter made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Markus Winter made changes -
          Assignee New: Markus Winter [ mawinter69 ]
          Alexander Brandes made changes -
          Released As New: 2.454
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

            mawinter69 Markus Winter
            notmyfault Alexander Brandes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: