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

The word "Project" in job page headers should be removed

    Details

    • Similar Issues:

      Description

      The <h1> header of Jenkins's job/project page (i.e., https://my-jenkins-instance.com/job/my-job) prepends the job's name with the word "Project". For example, if the job is called "My Job", the header will say "Project My Job". Every other page just refers to a job/project by its name, without the word "Project". Even on this page, the <title> tag lacks the word "Project". But for some reason, "Project" looks as if it's part of the job's name in this page's header. This frequently leads to mistakes such as:

      • Copying/pasting the whole header as the job's name into conversations
      • Including "Project" in the job's name when referring to it in documentation
      • Trying unsuccessfully to search for "Project My Job" using the search bar

      If removing the word from the page entirely is not an option, it should at least be separated from the <h1> tag and reformatted to look more like a label (e.g., "Project: My Job" or "Job: My Job").

        Attachments

          Activity

          Hide
          sfarbota Steve Farbota added a comment -

          I'd be more than happy to. I'll start working on a PR tonight.

          Show
          sfarbota Steve Farbota added a comment - I'd be more than happy to. I'll start working on a PR tonight.
          Hide
          sfarbota Steve Farbota added a comment - - edited

          And to clarify for Félix Queiruga Balado - I am referring to the <h1> tag in this file: https://github.com/jenkinsci/jenkins/blob/337b44428f49a76100f7c915c6366e585e13966f/core/src/main/resources/hudson/model/Job/index.jelly#L30

          The relevant line is line 30:

                <h1 class="job-index-headline page-headline">${it.pronoun} <l:breakable value="${it.displayName}"/></h1>
          

          My original suggestion was to just remove "${it.pronoun} ". But I'm going to try to implement Oleg's proposal of replacing that text with the appropriate icon. I'll make the change for the other similar pages as well, such as branch pages (see Oleg's first attached screenshot).

          Show
          sfarbota Steve Farbota added a comment - - edited And to clarify for Félix Queiruga Balado - I am referring to the <h1> tag in this file: https://github.com/jenkinsci/jenkins/blob/337b44428f49a76100f7c915c6366e585e13966f/core/src/main/resources/hudson/model/Job/index.jelly#L30 The relevant line is line 30: <h1 class= "job-index-headline page-headline" >${it.pronoun} <l:breakable value= "${it.displayName}" /></h1> My original suggestion was to just remove " ${it.pronoun } ". But I'm going to try to implement Oleg's proposal of replacing that text with the appropriate icon. I'll make the change for the other similar pages as well, such as branch pages (see Oleg's first attached screenshot).
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Steve Farbota Hi! Do you still plan to work on it? If so, could you please assign the issue to yourself? If not, I might be able to take a look at it during one of the weekends

          Show
          oleg_nenashev Oleg Nenashev added a comment - Steve Farbota Hi! Do you still plan to work on it? If so, could you please assign the issue to yourself? If not, I might be able to take a look at it during one of the weekends
          Hide
          sfarbota Steve Farbota added a comment -

          Yep, I'll be looking at it this week as I've taken the week off from my day job. Just assigned to myself. Thanks for the reminder.

          Show
          sfarbota Steve Farbota added a comment - Yep, I'll be looking at it this week as I've taken the week off from my day job. Just assigned to myself. Thanks for the reminder.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Ack, thanks for the response! I will find another UX task from the backlog

          Show
          oleg_nenashev Oleg Nenashev added a comment - Ack, thanks for the response! I will find another UX task from the backlog

            People

            • Assignee:
              sfarbota Steve Farbota
              Reporter:
              sfarbota Steve Farbota
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: