diff --git a/apps/web/src/components/pullRequest/PullRequestRow.tsx b/apps/web/src/components/pullRequest/PullRequestRow.tsx index b9b000829945..37ac1ebb5dcc 100644 --- a/apps/web/src/components/pullRequest/PullRequestRow.tsx +++ b/apps/web/src/components/pullRequest/PullRequestRow.tsx @@ -164,62 +164,70 @@ function PullRequestRowImpl({ className="shrink-0 whitespace-nowrap text-[11px]" /> - - {matchedElsewhere ? ( - - - } - > - matched in the description - - - matched in the description - - - Matched in the description - - ) : null} - - {showProvider ? ( + + + {matchedElsewhere ? ( - }> - + + } + > + matched in the description + + + matched in the description + - {providerName} + Matched in the description ) : null} - {/* The number carries the link, here as much as on the detail: a right-click on it - copies the pull request's own address rather than opening the editing menu. */} - { - event.preventDefault(); - event.stopPropagation(); - void showPullRequestLinkContextMenu({ - url: entry.url, - openLabel: openOnHostLabel(entry.provider), - position: { x: event.clientX, y: event.clientY }, - }); - }} - > - #{entry.number} + + {showProvider ? ( + + }> + + + {providerName} + + ) : null} + {/* The number carries the link, here as much as on the detail: a right-click on it + copies the pull request's own address rather than opening the editing menu. */} + { + event.preventDefault(); + event.stopPropagation(); + void showPullRequestLinkContextMenu({ + url: entry.url, + openLabel: openOnHostLabel(entry.provider), + position: { x: event.clientX, y: event.clientY }, + }); + }} + > + #{entry.number} + + {showProjectTitle ? {entry.repository} : null} + {environmentLabel ? ( + {environmentLabel} + ) : null} + {entry.labels.length > 0 ? : null} + + + ยท - {showProjectTitle ? {entry.repository} : null} - {environmentLabel ? ( - {environmentLabel} - ) : null} - - {entry.labels.length > 0 ? : null} - - - - {formatRelativeTimeLabel(entry.updatedAt)} + + + {formatRelativeTimeLabel(entry.updatedAt)} + +