[JIRA] (JENKINS-55348) Display Pull Request Name instead of ID in the UI

0 views
Skip to first unread message

alan@czajkowski.ca (JIRA)

unread,
Dec 27, 2018, 8:58:02 PM12/27/18
to jenkinsc...@googlegroups.com
Alan Czajkowski created an issue
 
Jenkins / Improvement JENKINS-55348
Display Pull Request Name instead of ID in the UI
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: bitbucket-branch-source-plugin
Created: 2018-12-27 20:57
Priority: Major Major
Reporter: Alan Czajkowski

Currently, in the UI the Pull Request ID is displayed as the job name (example: PR-3), and when you hover over the ID the name pops up in a tool-tip label. This should be reversed, the job name should be named after the Pull Request name not the ID, and the tool-tip should pop up showing the PR ID. The PR name is much more important than the ID and showing the PR name as the Jenkins job name is much more valuable to the user.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

philipp.abraham@innogames.com (JIRA)

unread,
May 27, 2019, 9:10:03 AM5/27/19
to jenkinsc...@googlegroups.com

philipp.abraham@innogames.com (JIRA)

unread,
May 27, 2019, 9:11:01 AM5/27/19
to jenkinsc...@googlegroups.com
Philipp Abraham assigned an issue to Unassigned

alan@czajkowski.ca (JIRA)

unread,
May 27, 2019, 11:22:03 PM5/27/19
to jenkinsc...@googlegroups.com
Alan Czajkowski updated an issue
Change By: Alan Czajkowski
Currently, in the UI , the Pull Request ID is displayed as the job name (example: PR-3), and when you hover over the ID the name pops up in a tool-tip label. This should be reversed, the job name should be named after the Pull Request *name* not the ID, and the tool-tip should pop up showing the PR ID. The PR name is much more important than the ID , and showing the PR name as the Jenkins job name is much more valuable to the user.

bitwiseman@gmail.com (JIRA)

unread,
May 29, 2019, 6:20:02 PM5/29/19
to jenkinsc...@googlegroups.com
Liam Newman updated an issue
Change By: Liam Newman
Component/s: branch-api-plugin

radek.antoniuk@quiddia.com (JIRA)

unread,
Jun 28, 2019, 7:51:02 PM6/28/19
to jenkinsc...@googlegroups.com
Radek Antoniuk commented on Improvement JENKINS-55348
 
Re: Display Pull Request Name instead of ID in the UI

The Pull Request name can be really long and although less UX friendly, it's more UI friendly.

alan@czajkowski.ca (JIRA)

unread,
Jul 1, 2019, 1:10:02 AM7/1/19
to jenkinsc...@googlegroups.com
Alan Czajkowski updated an issue
 
Change By: Alan Czajkowski
Currently, in the UI, the Pull Request ID is displayed as the job name (example: PR-3), and when you hover over the ID the name pops up in a tool-tip label. This should be reversed, the job name should be named after the Pull Request *name* , not the ID, and the tool-tip should pop up showing the PR ID. The PR Pull Request name is much more important than the ID, and showing the PR name as the Jenkins job name is much more valuable to the user.

alan@czajkowski.ca (JIRA)

unread,
Jul 1, 2019, 1:12:02 AM7/1/19
to jenkinsc...@googlegroups.com
Alan Czajkowski commented on Improvement JENKINS-55348
 
Re: Display Pull Request Name instead of ID in the UI

Radek Antoniuk If the Pull Request name is very long then there are very easy styling tricks to truncate the name on the UI. You can either use CSS to elegantly truncate the the long line or do a hard-truncate when passing the name to the UI and then adding ellipses (...) to the end of the name.

alan@czajkowski.ca (JIRA)

unread,
Jul 1, 2019, 1:14:02 AM7/1/19
to jenkinsc...@googlegroups.com
Alan Czajkowski edited a comment on Improvement JENKINS-55348
[~warden] If the Pull Request name is very long then there are very easy styling tricks to truncate the name on the UI. You can either use CSS to elegantly truncate the the long line or do a hard-truncate when passing the name to the UI and then adding ellipses (...) to the end of the name. Either way, almost nobody knows what their PR ID is, and they are looking for their PR name in the list -- it actually takes some effort to find the PR ID on most Git UIs (GitHub, Bitbucket, etc.).

philipp.abraham@innogames.com (JIRA)

unread,
Jul 1, 2019, 12:34:03 PM7/1/19
to jenkinsc...@googlegroups.com

We were injecting a custom CSS rule to achieve that:

#projectstatus a[title]::after {
	content: " (" attr(title) ") ";
} 

But we are still unhappy about the state as you can't find PR branches when you use the Jenkins search as this is just a visual fix

alan@czajkowski.ca (JIRA)

unread,
Dec 29, 2019, 5:01:03 AM12/29/19
to jenkinsc...@googlegroups.com
Alan Czajkowski updated an issue
Change By: Alan Czajkowski
Currently, in the UI, the Pull Request (PR) ID is displayed as the job name (example: PR-3), and when you mouse hover over the PR ID then the PR name pops up in a tool-tip label. This should be reversed, the job name should be named after the Pull Request *name*, not the ID, and the tool-tip should pop up showing the PR ID. The Pull Request PR name appearing in the UI is much more important than the PR ID, and showing the PR name as the Jenkins job name is much more valuable to the user.
Note: The job name itself can remain as the PR ID (including in the URL), it's just what appears in the UI to the user that's important, the "display name" for the job name should be the PR name.
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

alan@czajkowski.ca (JIRA)

unread,
Dec 29, 2019, 5:02:03 AM12/29/19
to jenkinsc...@googlegroups.com
Alan Czajkowski commented on Improvement JENKINS-55348
 
Re: Display Pull Request Name instead of ID in the UI

any ETA on this? it's a very easy fix, it's just a small UI change (the job name/id does not change)

paybas@gmail.com (JIRA)

unread,
Dec 30, 2019, 10:38:04 AM12/30/19
to jenkinsc...@googlegroups.com
Pay Bas updated an issue
 
Change By: Pay Bas
Attachment: build monitor.png

paybas@gmail.com (JIRA)

unread,
Dec 30, 2019, 10:41:03 AM12/30/19
to jenkinsc...@googlegroups.com
Pay Bas edited a comment on Improvement JENKINS-55348
 
Re: Display Pull Request Name instead of ID in the UI
Just attached a screenshot to show how silly this problem is. It prohibits easy use of monitoring because it most information is lost. Nobody knows what PR-1360 means and which branch or PR-name it refers to.

paybas@gmail.com (JIRA)

unread,
Dec 30, 2019, 10:41:03 AM12/30/19
to jenkinsc...@googlegroups.com
Pay Bas commented on Improvement JENKINS-55348

alan@czajkowski.ca (JIRA)

unread,
Dec 30, 2019, 5:14:03 PM12/30/19
to jenkinsc...@googlegroups.com

Attaching another screenshot example:
The Jenkins UI shows "PR-20" but nobody really knows what that is, showing the PR name is much more valuable.

alan@czajkowski.ca (JIRA)

unread,
Dec 30, 2019, 5:14:03 PM12/30/19
to jenkinsc...@googlegroups.com
Alan Czajkowski updated an issue
 
Change By: Alan Czajkowski
Attachment: Screen Shot 2019-12-30 at 12.12.25 PM.png

alan@czajkowski.ca (JIRA)

unread,
Dec 30, 2019, 5:15:03 PM12/30/19
to jenkinsc...@googlegroups.com
Alan Czajkowski edited a comment on Improvement JENKINS-55348
 
Re: Display Pull Request Name instead of ID in the UI
Attaching another screenshot example:
!Screen Shot 2019-12-30 at 12.12.25 PM.png|thumbnail!

The Jenkins UI shows "PR-20" but nobody really knows what that is, showing the PR name is much more valuable.

alan@czajkowski.ca (JIRA)

unread,
Dec 30, 2019, 5:18:03 PM12/30/19
to jenkinsc...@googlegroups.com
Alan Czajkowski edited a comment on Improvement JENKINS-55348
Attaching another screenshot example:
!Screen Shot 2019-12-30 at 12.12.25 PM.png|thumbnail!
The Jenkins UI shows "PR-20" but nobody really knows what that is, showing the PR name is much more valuable. And the PR name is already available to the UI because when you hover your mouse over the hyperlink, the tooltip popup shows the PR name. The UI should flip that display experience, the hyperlink text should be the PR name, and when you hover the mouse over the text, the tooltip popup should show the PR ID.

paybas@gmail.com (JIRA)

unread,
Dec 31, 2019, 10:34:03 AM12/31/19
to jenkinsc...@googlegroups.com
Pay Bas commented on Improvement JENKINS-55348

Perhaps better than changing the current behavior, a new SCMSourceTrait could be added for "changing PR display names". Perhaps using something like the https://plugins.jenkins.io/token-macro behavior, so we could enter a string like:

"PR-${pullRequestId}"  or  "PR-${pullRequestId} | ${branchName}"  or  "PR-${pullRequestId} = ${pullRequestName}"

alan@czajkowski.ca (JIRA)

unread,
Jan 6, 2020, 9:34:03 PM1/6/20
to jenkinsc...@googlegroups.com
Alan Czajkowski updated an issue
Change By: Alan Czajkowski
Currently, in the UI, the Pull Request (PR) ID is displayed as the job name (example: PR-3), and when you mouse hover over the PR ID then the PR name pops up in a tool-tip label. This should be reversed, the job name should be named after the Pull Request *name*, not the ID, and the tool-tip should pop up showing the PR ID. The PR name appearing in the UI is much more important than the PR ID, and showing the PR name as the Jenkins job name is much more valuable to the user. Alternatively, the UI can display "{PR-ID} - {PR-NAME}" as the job name.

{quote}
Note: The job name ID itself can remain as the PR ID ( including what appears in the URL), it's just what appears in the UI to the user that's important, the "display name" for the job name should be the PR name , or at least have the PR name as part of the human-readable label .
{quote}

alan@czajkowski.ca (JIRA)

unread,
Jan 6, 2020, 9:35:04 PM1/6/20
to jenkinsc...@googlegroups.com
Alan Czajkowski updated an issue
Currently, in the UI, the Pull Request (PR) ID is displayed as the job name (example: PR-3), and when you mouse hover over the PR ID then the PR name pops up in a tool-tip label. This should be reversed, the job name should be named after the Pull Request *name*, not the ID, and the tool-tip should pop up showing the PR ID. The PR name appearing in the UI is much more important than the PR ID, and showing the PR name as the Jenkins job name is much more valuable to the user. Alternatively, the UI can display " \ {PR-ID} - \
{PR-NAME}" as the job name.

{quote}
Note: The job ID itself can remain as the PR ID (what appears in the URL), it's just what appears in the UI to the user that's important, the "display name" for the job name should be the PR name, or at least have the PR name as part of the human-readable label.
{quote}

paybas@gmail.com (JIRA)

unread,
Jan 7, 2020, 4:02:02 PM1/7/20
to jenkinsc...@googlegroups.com
Pay Bas updated an issue
Change By: Pay Bas
Attachment: Screenshot_2020-01-07 opp-release Config [Jenkins].png

paybas@gmail.com (JIRA)

unread,
Jan 7, 2020, 4:05:05 PM1/7/20
to jenkinsc...@googlegroups.com
Pay Bas commented on Improvement JENKINS-55348
 
Re: Display Pull Request Name instead of ID in the UI

This is the Trait that I created. Working well. Going on holiday soon so a colleague of mine will probably finish it and create a PR.

 

 

Reply all
Reply to author
Forward
0 new messages